summaryrefslogtreecommitdiff
path: root/gsk/ngl/resources/coloring.glsl
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-03-12 14:25:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2021-03-12 14:25:05 -0500
commit2bf5ab202b6bd2d32d747f6651fa5f6f75296fd0 (patch)
tree41d8562c26e3d2ef121342bd1a8f5869776a8e1b /gsk/ngl/resources/coloring.glsl
parent0ee6868b7f2ffbeb0af5644fa864aac824936939 (diff)
downloadgtk+-2bf5ab202b6bd2d32d747f6651fa5f6f75296fd0.tar.gz
ngl: Identify shadersngl-vertex-attributes
Add a comment with a name to each shader. That makes identifying the shaders in apitrace much easier.
Diffstat (limited to 'gsk/ngl/resources/coloring.glsl')
-rw-r--r--gsk/ngl/resources/coloring.glsl3
1 files changed, 3 insertions, 0 deletions
diff --git a/gsk/ngl/resources/coloring.glsl b/gsk/ngl/resources/coloring.glsl
index d7d2aed7d6..69b21c6e2e 100644
--- a/gsk/ngl/resources/coloring.glsl
+++ b/gsk/ngl/resources/coloring.glsl
@@ -1,4 +1,6 @@
// VERTEX_SHADER:
+// coloring.glsl
+
_OUT_ vec4 final_color;
flat _OUT_ int use_color;
@@ -19,6 +21,7 @@ void main() {
}
// FRAGMENT_SHADER:
+// coloring.glsl
_IN_ vec4 final_color;
flat _IN_ int use_color;