diff options
author | Jason Ekstrand <[email protected]> | 2019-06-06 11:37:32 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-06-19 20:28:52 +0000 |
commit | f0920e266c152044cb05892f3aea5a17a163cc02 (patch) | |
tree | c713093793366ea4cc4681c8a1aac539822facdf /src/mesa/program | |
parent | 21a7e6d569700812cdd127551a6f8ce24cf6201a (diff) |
glsl/types: Rename is_integer to is_integer_32
It only accepts 32-bit integers so it should have a more descriptive
name. This patch should not be a functional change.
Reviewed-by: Karol Herbst <[email protected]>
Diffstat (limited to 'src/mesa/program')
-rw-r--r-- | src/mesa/program/ir_to_mesa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.cpp b/src/mesa/program/ir_to_mesa.cpp index 005b855230b..053912a8410 100644 --- a/src/mesa/program/ir_to_mesa.cpp +++ b/src/mesa/program/ir_to_mesa.cpp @@ -1128,7 +1128,7 @@ ir_to_mesa_visitor::visit(ir_expression *ir) break; case ir_binop_mod: /* Floating point should be lowered by MOD_TO_FLOOR in the compiler. */ - assert(ir->type->is_integer()); + assert(ir->type->is_integer_32()); emit(ir, OPCODE_MUL, result_dst, op[0], op[1]); break; |