projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace is_integer_base_type macro with glsl_type::is_integer method
[mesa.git]
/
hir_field_selection.cpp
diff --git
a/hir_field_selection.cpp
b/hir_field_selection.cpp
index 76c48683619f93bc7b81ec3c606a49fab37dd757..17c3f5c5ba359b680544f9b04c2ecf09ce2ed071 100644
(file)
--- a/
hir_field_selection.cpp
+++ b/
hir_field_selection.cpp
@@
-45,7
+45,7
@@
_mesa_ast_field_selection_to_hir(const ast_expression *expr,
* being applied.
*/
YYLTYPE loc = expr->get_location();
* being applied.
*/
YYLTYPE loc = expr->get_location();
- if (op->type
== glsl_error_type
) {
+ if (op->type
->is_error()
) {
/* silently propagate the error */
} else if (op->type->is_vector()) {
ir_swizzle *swiz = ir_swizzle::create(op,
/* silently propagate the error */
} else if (op->type->is_vector()) {
ir_swizzle *swiz = ir_swizzle::create(op,