summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-06-22 19:39:09 +0100
committerEric Engestrom <[email protected]>2019-07-31 09:41:05 +0100
commit20c89b060ffa2bb21b8b0e71817a59c9d02b2bbf (patch)
treee41a80dd70cfae3dd3465659f4a98f18495af09f /src
parentbbeb5075431efbee4e7193d8585647ad7d274faa (diff)
mesa: add an ASSERTED
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/main/uniforms.c2
1 files changed, 1 insertions, 1 deletions
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;