diff options
author | Zack Rusin <[email protected]> | 2009-12-23 12:40:39 -0500 |
---|---|---|
committer | Zack Rusin <[email protected]> | 2009-12-25 05:52:18 -0500 |
commit | 22370990f28987b361c6adf8e81c5a18184e88ea (patch) | |
tree | 0d3acf1fa4e5398177de40bc8d0e3b5dcc6d4569 /src/gallium/auxiliary/tgsi/tgsi_dump.c | |
parent | 8a39f5dfdd7901e59665e2b7513e9466666895b3 (diff) |
tgsi: add missing support for two dimensional arrays in various places
in particular asm text parsing and sanity checking were missing code
to handle multi-dimensional arrays/geometry shaders
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_dump.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_dump.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_dump.c b/src/gallium/auxiliary/tgsi/tgsi_dump.c index bb4f5641616..1f6b1d864d3 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_dump.c +++ b/src/gallium/auxiliary/tgsi/tgsi_dump.c @@ -183,6 +183,12 @@ _dump_register( int last ) { ENM( file, file_names ); + + /* all geometry shader inputs are two dimensional */ + if (file == TGSI_FILE_INPUT && + ctx->iter.processor.Processor == TGSI_PROCESSOR_GEOMETRY) + TXT("[]"); + CHR( '[' ); SID( first ); if (first != last) { |