diff options
author | Eric Anholt <eric@anholt.net> | 2014-02-20 15:50:03 -0800 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2014-03-17 14:30:57 -0700 |
commit | 1a4b24993974200e26345ea6c501d4aa093169db (patch) | |
tree | 52eeb2f75fd7527eaae59c9f28cce98939d189c2 /glamor/glamor_xv.c | |
parent | d07d2c3c5f95fd644ef563004dfa7f3c53904168 (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_xv.c')
-rw-r--r-- | glamor/glamor_xv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glamor/glamor_xv.c b/glamor/glamor_xv.c index fb9045747..c0219b03e 100644 --- a/glamor/glamor_xv.c +++ b/glamor/glamor_xv.c @@ -109,7 +109,7 @@ glamor_init_xv_shader(ScreenPtr screen) GLAMOR_VERTEX_POS, "v_position"); glBindAttribLocation(glamor_priv->xv_prog, GLAMOR_VERTEX_SOURCE, "v_texcoord0"); - glamor_link_glsl_prog(glamor_priv->xv_prog); + glamor_link_glsl_prog(screen, glamor_priv->xv_prog, "xv"); glamor_put_context(glamor_priv); } |