diff options
author | Michal Krol <[email protected]> | 2010-01-18 19:07:44 +0100 |
---|---|---|
committer | Michal Krol <[email protected]> | 2010-01-18 19:13:49 +0100 |
commit | 7472cd0f1f0f8284729274bc5c453d59d9ab4b55 (patch) | |
tree | 544cfc1e276b09ae93f1bf841fe471d6842d5926 /src/gallium/auxiliary/tgsi/tgsi_sanity.c | |
parent | 463351ea6c953c3db7f135ba97160a212562daef (diff) |
tgsi: Fix behaviour of dimension index.
The dimension index always addresses the second-dimension axis.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_sanity.c')
-rw-r--r-- | src/gallium/auxiliary/tgsi/tgsi_sanity.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_sanity.c b/src/gallium/auxiliary/tgsi/tgsi_sanity.c index 8bea457a639..431c3ffb142 100644 --- a/src/gallium/auxiliary/tgsi/tgsi_sanity.c +++ b/src/gallium/auxiliary/tgsi/tgsi_sanity.c @@ -408,7 +408,7 @@ iter_declaration( uint vert; for (vert = 0; vert < ctx->implied_array_size; ++vert) { scan_register *reg = MALLOC(sizeof(scan_register)); - fill_scan_register2d(reg, file, vert, i); + fill_scan_register2d(reg, file, i, vert); check_and_declare(ctx, reg); } } else { |