projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d1fb38
)
glsl/types: Ignore bit sizes in contains_integer()
author
Jason Ekstrand
<jason@jlekstrand.net>
Thu, 6 Jun 2019 16:26:51 +0000
(11:26 -0500)
committer
Jason Ekstrand
<jason@jlekstrand.net>
Wed, 19 Jun 2019 20:28:52 +0000
(20:28 +0000)
All of the callers for this function are looking at interpolation
qualifiers and want to make sure they're declared flat. Any 64-bit
integer inputs need to be flat. It's also makes the function make more
sense since "integer" is fairly generic.
Reviewed-by: Karol Herbst <kherbst@redhat.com>
src/compiler/glsl_types.cpp
patch
|
blob
|
history
diff --git
a/src/compiler/glsl_types.cpp
b/src/compiler/glsl_types.cpp
index ce6bec7150ef77e8fddb23dfba6bf6ed771009ba..b47e126e95010a9cb5bbedba60388ff167345c0c 100644
(file)
--- a/
src/compiler/glsl_types.cpp
+++ b/
src/compiler/glsl_types.cpp
@@
-246,7
+246,7
@@
glsl_type::contains_integer() const
}
return false;
} else {
- return
this->is_integer(
);
+ return
glsl_base_type_is_integer(this->base_type
);
}
}