diff options
| author | Preston Smith <preston.s1993@gmail.com> | 2016-08-31 02:44:36 -0500 |
|---|---|---|
| committer | Preston Smith <preston.s1993@gmail.com> | 2016-08-31 06:40:50 -0500 |
| commit | 94cbe0c12ade07c5ae2a1eaf980ecea1829d0bf5 (patch) | |
| tree | c1391aceec02c1367e3c6121118c770c84fc8aac /Source/Core/VideoCommon/VertexShaderGen.cpp | |
| parent | e6ccd0729f80a54b29069de5b72ee558e04fb964 (diff) | |
Comments
Diffstat (limited to 'Source/Core/VideoCommon/VertexShaderGen.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexShaderGen.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexShaderGen.cpp b/Source/Core/VideoCommon/VertexShaderGen.cpp index 469f273d89..5c516e0053 100644 --- a/Source/Core/VideoCommon/VertexShaderGen.cpp +++ b/Source/Core/VideoCommon/VertexShaderGen.cpp @@ -381,8 +381,10 @@ ShaderCode GenerateVertexShaderCode(APIType api_type, const vertex_shader_uid_da i, i, i, i); } - // TODO write comment - // TODO check if it only affects XF_TEXGEN_REGULAR more + // When q is 0, the GameCube appears to have a special case + // This can be seen in devkitPro's neheGX Lesson08 example for Wii + // Makes differences in Rogue Squadron 3 (Hoth sky) and The Last Story (shadow culling) + // TODO: check if this only affects XF_TEXGEN_REGULAR if (texinfo.texgentype == XF_TEXGEN_REGULAR) { out.Write("if(o.tex%d.z == 0.0f)\n", i); |
