HLSL: Fix #803: Add shape conversions to the constant-initializer path.

This commit is contained in:
John Kessenich
2017-04-12 14:56:52 -06:00
parent a8b217fd8b
commit 2051815bcc
4 changed files with 29 additions and 9 deletions

View File

@@ -28,5 +28,7 @@ float4 PixelShaderFunction(float4 input, float f) : COLOR0
f1.x;
f1.xxx;
return input;
const float4 f4 = 3.0;
return input * f4;
}