projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gm107/ir: fix manual TXD for array targets
[mesa.git]
/
src
/
gallium
/
drivers
/
r300
/
r300_shader_semantics.h
diff --git
a/src/gallium/drivers/r300/r300_shader_semantics.h
b/src/gallium/drivers/r300/r300_shader_semantics.h
index 4be23e64ce79efbbedc57316887a166e1f92d0fc..b756048c6c74a3b144205c626816c0a4631d5817 100644
(file)
--- a/
src/gallium/drivers/r300/r300_shader_semantics.h
+++ b/
src/gallium/drivers/r300/r300_shader_semantics.h
@@
-42,6
+42,8
@@
struct r300_shader_semantics {
int generic[ATTR_GENERIC_COUNT];
int fog;
int wpos;
+
+ int num_generic;
};
static INLINE void r300_shader_semantics_reset(
@@
-63,6
+65,8
@@
static INLINE void r300_shader_semantics_reset(
for (i = 0; i < ATTR_GENERIC_COUNT; i++) {
info->generic[i] = ATTR_UNUSED;
}
+
+ info->num_generic = 0;
}
#endif