diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/hlsl.shapeConv.frag')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/hlsl.shapeConv.frag | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.shapeConv.frag b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.shapeConv.frag new file mode 100644 index 00000000000..adb170eab35 --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.shapeConv.frag @@ -0,0 +1,32 @@ +float4 PixelShaderFunction(float4 input, float f) : COLOR0 +{ + float4 v; + v = 1; + v = 2.0; + v = f; + float3 u; + u = float(1); + u = float(2.0); + u = float(f); + float2 w = 2.0; + float V = 1; + float3 MyVal = V; + + float3 foo; + foo > 4.0; + foo >= 5.0; + 6.0 < foo; + 7.0 <= foo; + + all(v.x == v); + any(f != v); + + float1 f1; + + f1 == v; + v < f1; + f1.x; + f1.xxx; + + return input; +} |