summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag')
-rw-r--r--3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag9
1 files changed, 9 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag
new file mode 100644
index 00000000000..6ed71739ba4
--- /dev/null
+++ b/3rdparty/bgfx/3rdparty/glslang/Test/hlsl.precedence.frag
@@ -0,0 +1,9 @@
+float4 PixelShaderFunction(
+ float4 a1,
+ float4 a2,
+ float4 a3,
+ float4 a4
+ ) : COLOR0
+{
+ return a1 + a2 * a3 + a4 + float4(a1.rgb * a2.rgb, a3.a);
+}