diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-04-04 19:47:41 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2019-04-09 18:53:22 +0000 |
commit | 0fde097e31e908b18db68f05e2122c5280d36304 (patch) | |
tree | fef45d90f164983dd49130a2d14e86055f84f1da /tests/playground/color.frag | |
parent | 8c10e6cb759f8d4acdcf54a25b70530d4c936bf6 (diff) |
Import the Qt Shader Tools module
...from https://git.qt.io/laagocs/qtshadertools/
Change-Id: I3aa655da81978e13016f8150634e278448015709
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'tests/playground/color.frag')
-rw-r--r-- | tests/playground/color.frag | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/playground/color.frag b/tests/playground/color.frag new file mode 100644 index 0000000..3755876 --- /dev/null +++ b/tests/playground/color.frag @@ -0,0 +1,10 @@ +#version 440 + +layout(location = 0) in vec3 v_color; + +layout(location = 0) out vec4 fragColor; + +void main() +{ + fragColor = vec4(v_color, 1.0); +} |