HLSL: Fix #803: Add shape conversions to the constant-initializer path.
This commit is contained in:
parent
a8b217fd8b
commit
2051815bcc
4 changed files with 29 additions and 9 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue