mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-26 21:12:25 +00:00
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>
This commit is contained in:
parent
d07d2c3c5f
commit
1a4b249939
9 changed files with 28 additions and 11 deletions
|
|
@ -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 =
|
||||
|
|
|
|||
Loading…
Reference in a new issue