HLSL: Support vector 'cond ? :' -> EOpMix -> OpSelect.
This commit is contained in:
parent
34718204e1
commit
636b62db8b
6 changed files with 257 additions and 157 deletions
|
|
@ -6,8 +6,8 @@ float f;
|
|||
|
||||
float4 vectorCond()
|
||||
{
|
||||
return f4; // return (c4 ? t4 : f4) +
|
||||
// (c4 ? t : f );
|
||||
return (c4 ? t4 : f4) +
|
||||
(c4 ? t : f );
|
||||
}
|
||||
|
||||
float4 PixelShaderFunction(float4 input) : COLOR0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue