diff options
author | Matt Turner <[email protected]> | 2014-06-29 19:12:04 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-07-01 08:55:52 -0700 |
commit | a3d10c2c304c65e37a940edbbc84f37e5cf88f33 (patch) | |
tree | 790babf96d52b777ba2663927b985c447ed78b72 /src/glsl/opt_vectorize.cpp | |
parent | e65844023492c1ebc12c3fd299fe614164fe32a2 (diff) |
mesa: Make unreachable macro take a string argument.
To aid in debugging.
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/opt_vectorize.cpp')
-rw-r--r-- | src/glsl/opt_vectorize.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/glsl/opt_vectorize.cpp b/src/glsl/opt_vectorize.cpp index f9a3b618345..28534a86ade 100644 --- a/src/glsl/opt_vectorize.cpp +++ b/src/glsl/opt_vectorize.cpp @@ -227,8 +227,7 @@ write_mask_to_swizzle(unsigned write_mask) case WRITEMASK_Z: return SWIZZLE_Z; case WRITEMASK_W: return SWIZZLE_W; } - assert(!"not reached"); - unreachable(); + unreachable("not reached"); } /** |