diff options
author | Marek Olšák <[email protected]> | 2010-09-13 09:54:46 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2010-09-13 09:55:14 +0200 |
commit | 6990148b1241336a22dace3c160952c4a64879c5 (patch) | |
tree | 4fbe1d4d1ff415c7440eac71a0685ecacd24b806 /src/gallium/drivers/r300 | |
parent | ae1aa1496561ef0faf0524c4b95d21d63e12a9ee (diff) |
r300g: print unassigned FS inputs for DBG_RS
Diffstat (limited to 'src/gallium/drivers/r300')
-rw-r--r-- | src/gallium/drivers/r300/r300_state_derived.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/r300/r300_state_derived.c b/src/gallium/drivers/r300/r300_state_derived.c index 960dfdbaf03..f9a516825df 100644 --- 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. */ |