diff options
Diffstat (limited to '3rdparty/bgfx/3rdparty/glslang/Test/spv.simpleMat.vert')
-rw-r--r-- | 3rdparty/bgfx/3rdparty/glslang/Test/spv.simpleMat.vert | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3rdparty/bgfx/3rdparty/glslang/Test/spv.simpleMat.vert b/3rdparty/bgfx/3rdparty/glslang/Test/spv.simpleMat.vert new file mode 100644 index 00000000000..897a8986c28 --- /dev/null +++ b/3rdparty/bgfx/3rdparty/glslang/Test/spv.simpleMat.vert @@ -0,0 +1,19 @@ +#version 330
+
+varying mat4 mvp;
+
+in vec4 v;
+in mat3 am3;
+in mat4 arraym[3];
+
+out float f;
+out vec4 glPos;
+//out mat4 mout[2];
+
+void main()
+{
+ //needs complex output blocks to work: gl_Position = mvp * v;
+ glPos = mvp * v;
+ f = am3[2][1] + arraym[1][2][3];
+ //mout[1] = arraym[2];
+}
|