mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-06 16:18:58 +00:00
D3D: Fix shader compile error with logicop and alpha test enabled
This commit is contained in:
parent
c15ea2f1ed
commit
b573319f8f
1 changed files with 1 additions and 1 deletions
|
@ -1232,7 +1232,7 @@ static void WriteAlphaTest(ShaderCode& out, const pixel_shader_uid_data* uid_dat
|
||||||
out.Write(")) {\n");
|
out.Write(")) {\n");
|
||||||
|
|
||||||
out.Write("\t\tocol0 = float4(0.0, 0.0, 0.0, 0.0);\n");
|
out.Write("\t\tocol0 = float4(0.0, 0.0, 0.0, 0.0);\n");
|
||||||
if (use_dual_source)
|
if (use_dual_source && !(ApiType == APIType::D3D && uid_data->uint_output))
|
||||||
out.Write("\t\tocol1 = float4(0.0, 0.0, 0.0, 0.0);\n");
|
out.Write("\t\tocol1 = float4(0.0, 0.0, 0.0, 0.0);\n");
|
||||||
if (per_pixel_depth)
|
if (per_pixel_depth)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue