HLSL: Fix #884: Use promoted children, not pre-promoted, in completing binary nodes.

This commit is contained in:
John Kessenich
2017-05-12 15:25:41 -06:00
parent c48c8e76e1
commit c49b4efa91
3 changed files with 129 additions and 13 deletions

View File

@@ -12,4 +12,12 @@ float4 main() : SV_TARGET
return 0.0.xxxx;
if (!1)
return 0.0.xxxx;
if (0 || 1)
return 0.0.xxxx;
if (1 && 0)
return 0.0.xxxx;
if (1 || false)
return 0.0.xxxx;
if (true && 1)
return 0.0.xxxx;
}