projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae1aa14
)
r300g: print unassigned FS inputs for DBG_RS
author
Marek Olšák
<maraeo@gmail.com>
Mon, 13 Sep 2010 07:54:46 +0000
(09:54 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Mon, 13 Sep 2010 07:55:14 +0000
(09:55 +0200)
src/gallium/drivers/r300/r300_state_derived.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r300/r300_state_derived.c
b/src/gallium/drivers/r300/r300_state_derived.c
index 960dfdbaf0363dffc226cdb5f6e42fe5319b5b1e..f9a516825df74fb25bc9d0d7d8c99d7b70112043 100644
(file)
--- a/
src/gallium/drivers/r300/r300_state_derived.c
+++ b/
src/gallium/drivers/r300/r300_state_derived.c
@@
-477,6
+477,15
@@
static void r300_update_rs_block(struct r300_context *r300)
}
}
+ if (DBG_ON(r300, DBG_RS)) {
+ for (; i < ATTR_GENERIC_COUNT; i++) {
+ if (fs_inputs->generic[i] != ATTR_UNUSED) {
+ DBG(r300, DBG_RS,
+ "r300: FS input generic %i unassigned.\n", i);
+ }
+ }
+ }
+
/* Rasterize fog coordinates. */
if (vs_outputs->fog != ATTR_UNUSED && tex_count < 8) {
/* Set up the fog coordinates in VAP. */