projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir: add 16bit type information to glsl types
[mesa.git]
/
src
/
compiler
/
nir_types.h
diff --git
a/src/compiler/nir_types.h
b/src/compiler/nir_types.h
index c128250c7d3f3ba9231e6a0a011d4121f8f9eb55..817b7a9b3459288ff6f9ae92362a6228ba440657 100644
(file)
--- a/
src/compiler/nir_types.h
+++ b/
src/compiler/nir_types.h
@@
-121,6
+121,7
@@
glsl_get_bit_size(const struct glsl_type *type)
return 0;
}
+bool glsl_type_is_16bit(const struct glsl_type *type);
bool glsl_type_is_64bit(const struct glsl_type *type);
bool glsl_type_is_void(const struct glsl_type *type);
bool glsl_type_is_error(const struct glsl_type *type);