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/compiler/glsl/lower_ubo_reference.cpp | |
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/compiler/glsl/lower_ubo_reference.cpp')
-rw-r--r-- | src/compiler/glsl/lower_ubo_reference.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/lower_ubo_reference.cpp b/src/compiler/glsl/lower_ubo_reference.cpp index 5fc936007e8..08d4f72efa0 100644 --- a/src/compiler/glsl/lower_ubo_reference.cpp +++ b/src/compiler/glsl/lower_ubo_reference.cpp @@ -971,7 +971,7 @@ lower_ubo_reference_visitor::lower_ssbo_atomic_intrinsic(ir_call *ir) ir_rvalue *deref = (ir_rvalue *) inst; assert(deref->type->is_scalar() && - (deref->type->is_integer() || deref->type->is_float())); + (deref->type->is_integer_32() || deref->type->is_float())); ir_variable *var = deref->variable_referenced(); assert(var); |