From 20c89b060ffa2bb21b8b0e71817a59c9d02b2bbf Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 22 Jun 2019 19:39:09 +0100 Subject: mesa: add an ASSERTED Signed-off-by: Eric Engestrom Reviewed-by: Matt Turner --- src/mesa/main/uniforms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3