Merge pull request #13435 from iwubcode/uninitialized_directx

VideoCommon: initialize uninitialized state value in pixel ubershader
This commit is contained in:
OatmealDome 2025-03-16 14:56:44 -04:00 committed by GitHub
commit 49bee36e6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -921,6 +921,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
out.Write(" int3 tevcoord = int3(0, 0, 0);\n"
" State s;\n"
" s.TexColor = int4(0, 0, 0, 0);\n"
" s.RawTexColor = int4(0, 0, 0, 0);\n"
" s.AlphaBump = 0;\n"
"\n");
for (int i = 0; i < 4; i++)