summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp
index cf62ed9a9d..bb62fefd51 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp
@@ -774,6 +774,8 @@ vec4_visitor::move_push_constants_to_pull_constants()
}
if (matches == 4) {
+ unreachable("Values in param[] are unique, match is impossible");
+ exit(1);
pull_constant_loc[i / 4] = j / 4;
break;
}