projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a7a61b
)
glsl: fix is_integer_16_32
author
Erik Faye-Lund
<erik.faye-lund@collabora.com>
Fri, 9 Apr 2021 05:15:36 +0000
(07:15 +0200)
committer
Marge Bot
<eric+marge@anholt.net>
Sat, 10 Apr 2021 09:01:54 +0000
(09:01 +0000)
This shouldn't check for 64-bit...
Fixes:
a052a9c2777
("glsl: handle int16 and uint16 types and add instructions for mediump")
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10125>
src/compiler/glsl_types.h
patch
|
blob
|
history
diff --git
a/src/compiler/glsl_types.h
b/src/compiler/glsl_types.h
index
05a9f8f
..
8157bce
100644
(file)
--- a/
src/compiler/glsl_types.h
+++ b/
src/compiler/glsl_types.h
@@
-796,7
+796,7
@@
public:
*/
bool is_integer_16_32() const
{
- return is_integer_16() || is_integer_32()
|| is_integer_64()
;
+ return is_integer_16() || is_integer_32();
}
/**