VideoCommon: initialize uninitialized state value in pixel ubershader to prevent error on directx in some games
This commit is contained in:
parent
99cde4e269
commit
c5f89f2de9
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue