diff options
author | Brian Paul <brianp@vmware.com> | 2010-01-05 11:40:24 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2010-01-05 11:44:19 -0700 |
commit | 9f544394c1d059ce09c8bb2b5e11f5e871c7915f (patch) | |
tree | d5dc95ad25ecc05040c696811d6f46ce472b6734 /src/mesa/sources.mak | |
parent | 487a14b476d5e01bd03f50bc45fd3dfc59aa609c (diff) |
st/mesa: fix broken translation of negative register indexes
A src register's index can be negative if we're doing indirect
addressing into the constant buffer. Ex: MOV OUT[1], CONST[ADDR[0].x-3]
This fixes the piglit vp-arl-neg-array.vpfp test.
Before this change we were going out of bounds of the t->constants[]
array and getting garbage that later triggered an assertion.
Diffstat (limited to 'src/mesa/sources.mak')
0 files changed, 0 insertions, 0 deletions