projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nir/lower_io: Add UBOs and SSBOs to get_io_offset_src
[mesa.git]
/
src
/
compiler
/
nir_types.h
diff --git
a/src/compiler/nir_types.h
b/src/compiler/nir_types.h
index 07487838b50e73ed378bdb86b3fc6a395b62f03f..851096f9cc0ada4ea06e2e962001b80e7b8dd937 100644
(file)
--- a/
src/compiler/nir_types.h
+++ b/
src/compiler/nir_types.h
@@
-68,6
+68,9
@@
unsigned glsl_get_length(const struct glsl_type *type);
unsigned glsl_get_aoa_size(const struct glsl_type *type);
+unsigned glsl_count_attribute_slots(const struct glsl_type *type,
+ bool is_vertex_input);
+
const char *glsl_get_struct_elem_name(const struct glsl_type *type,
unsigned index);