projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge remote-tracking branch 'origin/master' into vulkan
[mesa.git]
/
src
/
compiler
/
nir_types.h
diff --git
a/src/compiler/nir_types.h
b/src/compiler/nir_types.h
index 18d64b768d4f967cc7d0e885de2d0e8855ab2d1f..d92605bf4fb99639a76e901f333f1d37925691c2 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 vertex_input_slots);
+
const char *glsl_get_struct_elem_name(const struct glsl_type *type,
unsigned index);