mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
warnings and code formatting
This commit is contained in:
parent
038ffea369
commit
f96e9e1ae4
10 changed files with 37 additions and 21 deletions
|
@ -130,9 +130,13 @@ static inline void GenerateVertexShader(T& out, u32 components, API_TYPE api_typ
|
|||
}
|
||||
|
||||
// Let's set up attributes
|
||||
for (int i = 0; i < 8; ++i)
|
||||
for (size_t i = 0; i < 8; ++i)
|
||||
{
|
||||
if (i < xfregs.numTexGen.numTexGens)
|
||||
{
|
||||
out.Write("VARYOUT float3 uv%d_2;\n", i);
|
||||
}
|
||||
}
|
||||
out.Write("VARYOUT float4 clipPos_2;\n");
|
||||
if (g_ActiveConfig.bEnablePixelLighting && g_ActiveConfig.backend_info.bSupportsPixelLighting)
|
||||
out.Write("VARYOUT float4 Normal_2;\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue