diff options
author | Eric Anholt <eric@anholt.net> | 2010-08-23 10:57:54 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-08-23 11:03:13 -0700 |
commit | ebef04011736ea8e13692fed87623d425c4d1b08 (patch) | |
tree | 029d9665da23193ba460f03909c4443b2af4ed01 /src/gallium/auxiliary/tgsi/tgsi_exec.c | |
parent | 61f73fec532b24ef5ec4b5baef81f5e6b9f20918 (diff) |
ir_to_mesa: Fix constant array handling to return the temp we created.
We ended up returning CONST[loc] rather than TEMP[loc2]. Things would
*usually* end up working out OK, since the constants often ended up
getting allocated to CONST[loc..loc+columns] with no swizzle. But for
the case where the contigous temporary copy of the swizzled constant
vec4 args was actually needed, we'd end up reading some other constant
values, possibly including ones not actually allocated.
Fixes: glsl-varying-mat3x2.
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_exec.c')
0 files changed, 0 insertions, 0 deletions