summaryrefslogtreecommitdiff
path: root/glamor/glamor.c
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2014-02-20 15:50:03 -0800
committerEric Anholt <eric@anholt.net>2014-03-17 14:30:57 -0700
commit1a4b24993974200e26345ea6c501d4aa093169db (patch)
tree52eeb2f75fd7527eaae59c9f28cce98939d189c2 /glamor/glamor.c
parentd07d2c3c5f95fd644ef563004dfa7f3c53904168 (diff)
glamor: Apply debug labels to our shaders.
This will help tools like fips, apitrace, or INTEL_DEBUG=shader_time provide useful information about the shaders in use. Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Markus Wick <markus@selfnet.de>
Diffstat (limited to 'glamor/glamor.c')
-rw-r--r--glamor/glamor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/glamor/glamor.c b/glamor/glamor.c
index 5338d45b4..a624a7bd6 100644
--- a/glamor/glamor.c
+++ b/glamor/glamor.c
@@ -372,6 +372,7 @@ glamor_init(ScreenPtr screen, unsigned int flags)
}
}
+ glamor_priv->has_khr_debug = glamor_gl_has_extension("GL_KHR_debug");
glamor_priv->has_pack_invert =
glamor_gl_has_extension("GL_MESA_pack_invert");
glamor_priv->has_fbo_blit =