mesa: add an ASSERTED
authorEric Engestrom <eric.engestrom@intel.com>
Sat, 22 Jun 2019 18:39:09 +0000 (19:39 +0100)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 31 Jul 2019 08:41:05 +0000 (09:41 +0100)
Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/main/uniforms.c

index 3cbc7ada445e321d2beb207194538e4c65b98038..ba87d3900aff45ef4c30f3d1137ffc4a4776c76c 100644 (file)
@@ -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;