gallium: fix out of bounds array errors in SSE execution
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 00:04:08 +0000 (18:04 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 3 Sep 2008 00:05:24 +0000 (18:05 -0600)
commitfeea0c9d958bc1645b09b288cd4d4756d0d6e61a
tree60a21c947797ca6cab65af0f3d780783a374f721
parent2774b09d4e6957e202ece37337ae6201f7aa8eb7
gallium: fix out of bounds array errors in SSE execution

1. #define MAX_INPUTS/OUTPUTS/TEMPS/etc with better values.
2. Add assertions in aos_get_x86() to check register file indexes
3. Assert that constant regs haven't changed after running SSE code.
src/gallium/auxiliary/draw/draw_vs_aos.c
src/gallium/auxiliary/draw/draw_vs_aos.h