diff options
Diffstat (limited to 'tests/auto/gui/rhi/qrhi/data/textured_multiubuf.vert')
-rw-r--r-- | tests/auto/gui/rhi/qrhi/data/textured_multiubuf.vert | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/gui/rhi/qrhi/data/textured_multiubuf.vert b/tests/auto/gui/rhi/qrhi/data/textured_multiubuf.vert new file mode 100644 index 0000000000..88dd4e45b6 --- /dev/null +++ b/tests/auto/gui/rhi/qrhi/data/textured_multiubuf.vert @@ -0,0 +1,18 @@ +#version 440 + +layout(location = 0) in vec4 position; +layout(location = 1) in vec2 texcoord; + +layout(location = 0) out vec2 uv; + +layout(std140, binding = 0) uniform buf { + mat4 matrix; +} vubuf; + +out gl_PerVertex { vec4 gl_Position; }; + +void main() +{ + uv = texcoord; + gl_Position = vubuf.matrix * position; +} |