HLSL: Handle swizzles on vectors of size 1. Addresses issue #453.
This commit is contained in:
parent
841db35bb3
commit
7d01bd6f0b
5 changed files with 34 additions and 9 deletions
|
|
@ -25,6 +25,8 @@ float4 PixelShaderFunction(float4 input, float f) : COLOR0
|
|||
|
||||
f1 == v;
|
||||
v < f1;
|
||||
f1.x;
|
||||
f1.xxx;
|
||||
|
||||
return input;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue