mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Merge pull request #13435 from iwubcode/uninitialized_directx
VideoCommon: initialize uninitialized state value in pixel ubershader
This commit is contained in:
@ -921,6 +921,7 @@ ShaderCode GenPixelShader(APIType api_type, const ShaderHostConfig& host_config,
|
|||||||
out.Write(" int3 tevcoord = int3(0, 0, 0);\n"
|
out.Write(" int3 tevcoord = int3(0, 0, 0);\n"
|
||||||
" State s;\n"
|
" State s;\n"
|
||||||
" s.TexColor = int4(0, 0, 0, 0);\n"
|
" s.TexColor = int4(0, 0, 0, 0);\n"
|
||||||
|
" s.RawTexColor = int4(0, 0, 0, 0);\n"
|
||||||
" s.AlphaBump = 0;\n"
|
" s.AlphaBump = 0;\n"
|
||||||
"\n");
|
"\n");
|
||||||
for (int i = 0; i < 4; i++)
|
for (int i = 0; i < 4; i++)
|
||||||
|
Reference in New Issue
Block a user