From: Eric Engestrom Date: Sat, 22 Jun 2019 18:39:09 +0000 (+0100) Subject: mesa: add an ASSERTED X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=20c89b060ffa2bb21b8b0e71817a59c9d02b2bbf;p=mesa.git mesa: add an ASSERTED Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index 3cbc7ada445..ba87d3900af 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -101,7 +101,7 @@ _mesa_update_shader_textures_used(struct gl_shader_program *shProg, struct gl_program *prog) { GLbitfield mask = prog->SamplersUsed; - gl_shader_stage prog_stage = + ASSERTED gl_shader_stage prog_stage = _mesa_program_enum_to_shader_stage(prog->Target); GLuint s;