projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8195281
)
nir: Add GLSL_TYPE_INT64 and GLSL_TYPE_UINT64 to glsl_get_bit_size
author
Ian Romanick
<ian.d.romanick@intel.com>
Thu, 1 Sep 2016 21:11:32 +0000
(14:11 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 20 Jan 2017 23:41:23 +0000
(15:41 -0800)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/nir_types.h
patch
|
blob
|
history
diff --git
a/src/compiler/nir_types.h
b/src/compiler/nir_types.h
index 9088a064cf75bc008edf3bc95d08416409e78e66..cafb8c1829447d9aea63abdad4c5d76fea7615d1 100644
(file)
--- a/
src/compiler/nir_types.h
+++ b/
src/compiler/nir_types.h
@@
-92,6
+92,8
@@
glsl_get_bit_size(const struct glsl_type *type)
return 32;
case GLSL_TYPE_DOUBLE:
+ case GLSL_TYPE_INT64:
+ case GLSL_TYPE_UINT64:
return 64;
default: