Specify layout index in shader

This commit is contained in:
2023-03-11 13:38:36 +01:00
parent fde1594086
commit 74aee15f80
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ uniform sampler2DArray qt_Texture0;
uniform vec3 mtf_param;
uniform bool invert;
in vec3 qt_TexCoord0;
out vec4 color;
layout(location = 0) out vec4 color;
vec4 MTF(vec4 x, vec3 m)
{