diff options
Diffstat (limited to 'src/quick/scenegraph/shaders_ng/stencilclip.vert')
-rw-r--r-- | src/quick/scenegraph/shaders_ng/stencilclip.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/quick/scenegraph/shaders_ng/stencilclip.vert b/src/quick/scenegraph/shaders_ng/stencilclip.vert new file mode 100644 index 0000000000..d8b491f775 --- /dev/null +++ b/src/quick/scenegraph/shaders_ng/stencilclip.vert @@ -0,0 +1,14 @@ +#version 440 + +layout(location = 0) in vec4 vCoord; + +layout(std140, binding = 0) uniform buf { + mat4 matrix; +} ubuf; + +out gl_PerVertex { vec4 gl_Position; }; + +void main() +{ + gl_Position = ubuf.matrix * vCoord; +} |