Commit 1b7a614d authored by Andres Gomez's avatar Andres Gomez

arb_enhanced_layouts: corrected multiple comments

Fixes: db98d3a7 ("arb_enhanced_layouts: corrected multiple comments")
Suggested-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
Signed-off-by: Andres Gomez's avatarAndres Gomez <agomez@igalia.com>
Reviewed-by: Timothy Arceri's avatarTimothy Arceri <tarceri@itsqueeze.com>
parent 55a612c3
......@@ -12,6 +12,7 @@ GL_ARB_gpu_shader_fp64
#extension GL_ARB_separate_shader_objects: require
#extension GL_ARB_gpu_shader_fp64: require
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat out dvec3 a;
......@@ -39,6 +40,7 @@ void main()
layout(triangles) in;
layout(triangle_strip, max_vertices = 3) out;
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat in dvec3 a[3];
......@@ -47,6 +49,7 @@ layout(location = 1, component = 2) flat in double b[3];
in vec4 vertex_to_gs[3];
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat out dvec3 a_to_fs;
......
......@@ -15,7 +15,8 @@ GL_ARB_gpu_shader_fp64
in vec4 vertex;
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat out dvec3 a;
// consume Z/W components
......@@ -47,7 +48,8 @@ void main()
layout(vertices = 3) out;
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat in dvec3 a[];
// consume Z/W components
......@@ -59,7 +61,8 @@ layout(location = 2, component = 0) flat in double c[];
// consume Z/W components
layout(location = 2, component = 2) flat in double d[];
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat out dvec3 a_tcs[];
// consume Z/W components
......@@ -91,7 +94,8 @@ void main() {
layout(triangles) in;
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat in dvec3 a_tcs[];
// consume Z/W components
......@@ -103,7 +107,8 @@ layout(location = 2, component = 0) flat in double c_tcs[];
// consume Z/W components
layout(location = 2, component = 2) flat in double d_tcs[];
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat out dvec3 a_tes;
// consume Z/W components
......@@ -134,7 +139,8 @@ void main() {
out vec4 color;
// consume also X/Y components in location 1
// consume X/Y/Z/W components in location 0
// consume X/Y components in location 1
layout(location = 0) flat in dvec3 a_tes;
// consume Z/W components
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment