mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
meta: Label the meta GLSL clear program.
Giving the meta clear program a meaningful name makes it easier to find in output such as INTEL_DEBUG=fs or INTEL_DEBUG=shader_time. We already did so for integer programs, but neglected to label the primary program. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Matt Turner <mattst88@gmail.com>
This commit is contained in:
parent
2bcd24c9f0
commit
fc19c4aaf1
1 changed files with 1 additions and 0 deletions
|
|
@ -1569,6 +1569,7 @@ meta_glsl_clear_init(struct gl_context *ctx, struct clear_state *clear)
|
|||
_mesa_AttachShader(clear->ShaderProg, vs);
|
||||
_mesa_DeleteShader(vs);
|
||||
_mesa_BindAttribLocation(clear->ShaderProg, 0, "position");
|
||||
_mesa_ObjectLabel(GL_PROGRAM, clear->ShaderProg, -1, "meta clear");
|
||||
_mesa_LinkProgram(clear->ShaderProg);
|
||||
|
||||
clear->ColorLocation = _mesa_GetUniformLocation(clear->ShaderProg,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue