summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/program_resource.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/program_resource.c b/src/mesa/main/program_resource.c
index 6ddbdad997f..5726ce10a16 100644
--- a/src/mesa/main/program_resource.c
+++ b/src/mesa/main/program_resource.c
@@ -104,7 +104,7 @@ stage_from_program_interface(GLenum programInterface)
case GL_COMPUTE_SUBROUTINE_UNIFORM:
return MESA_SHADER_COMPUTE;
default:
- assert(!"unexpected programInterface value");
+ unreachable("unexpected programInterface value");
}
}