aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-06-29 19:12:04 -0700
committerMatt Turner <[email protected]>2014-07-01 08:55:52 -0700
commita3d10c2c304c65e37a940edbbc84f37e5cf88f33 (patch)
tree790babf96d52b777ba2663927b985c447ed78b72 /src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
parente65844023492c1ebc12c3fd299fe614164fe32a2 (diff)
mesa: Make unreachable macro take a string argument.
To aid in debugging. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
index fd517f87c09..066746556e8 100644
--- a/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
+++ b/src/mesa/drivers/dri/i965/test_vec4_copy_propagation.cpp
@@ -86,8 +86,7 @@ protected:
virtual vec4_instruction *emit_urb_write_opcode(bool complete)
{
- assert(!"Not reached");
- unreachable();
+ unreachable("Not reached");
}
};