diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-26 14:38:37 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2010-03-26 14:38:37 -0700 |
commit | 40176e249f72b6090204611873b19aed3da67c71 (patch) | |
tree | 0100593336189bad8f5b5a8ca6766a1a9f11d964 /ast_to_hir.cpp | |
parent | 0471e8b0896e05b3bc81ccad6184e6e35fb61425 (diff) |
Replace is_integer_base_type macro with glsl_type::is_integer method
Diffstat (limited to 'ast_to_hir.cpp')
-rw-r--r-- | ast_to_hir.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ast_to_hir.cpp b/ast_to_hir.cpp index 40a980f682..890dc8e465 100644 --- a/ast_to_hir.cpp +++ b/ast_to_hir.cpp @@ -255,8 +255,7 @@ modulus_result_type(const struct glsl_type *type_a, * integer vectors. The operand types must both be signed or both be * unsigned." */ - if (! is_integer_base_type(type_a->base_type) - || ! is_integer_base_type(type_b->base_type) + if (!type_a->is_integer() || !type_b->is_integer() || (type_a->base_type != type_b->base_type)) { return glsl_type::error_type; } |