projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a0e485
)
compiler: fix buggy usage of unreachable()
author
Eric Engestrom
<eric@igalia.com>
Mon, 17 Apr 2023 12:01:17 +0000
(13:01 +0100)
committer
Marge Bot
<emma+marge@anholt.net>
Tue, 18 Apr 2023 13:59:54 +0000
(13:59 +0000)
Cc: mesa-stable
Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22529>
src/compiler/glsl/ir.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl/ir.cpp
b/src/compiler/glsl/ir.cpp
index
1d65cbc
..
811e295
100644
(file)
--- a/
src/compiler/glsl/ir.cpp
+++ b/
src/compiler/glsl/ir.cpp
@@
-574,7
+574,7
@@
ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1)
base = GLSL_TYPE_UINT64;
break;
default:
- unreachable(
!
"Invalid base type.");
+ unreachable("Invalid base type.");
}
this->type = glsl_type::get_instance(base, op0->type->vector_elements, 1);