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/ir.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/ir.cpp')
-rw-r--r-- | src/compiler/glsl/ir.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 6b455cdf510..4263f1fa911 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/compiler/glsl/ir.cpp @@ -1358,7 +1358,7 @@ ir_constant::is_negative_one() const bool ir_constant::is_uint16_constant() const { - if (!type->is_integer()) + if (!type->is_integer_32()) return false; return value.u[0] < (1 << 16); |