HLSL: Fix crash when flattening both side of assignement simultaneously.

This commit is contained in:
Unknown
2017-10-03 09:10:26 +02:00
parent 2491965904
commit a6085875ef
4 changed files with 68 additions and 40 deletions

View File

@@ -18,5 +18,6 @@ float4 main() : SV_TARGET0
{
FxaaTex tex1 = { g_tInputTexture_sampler, g_tInputTexture };
FxaaTex tex2 = fillOpaque();
return lookUp(tex1);
}
FxaaTex tex3 = tex1;
return lookUp(tex3);
}