gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 5 Nov 2008 21:02:07 +0000 (14:02 -0700)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 5 Nov 2008 21:02:07 +0000 (14:02 -0700)
commitf0debbb0bb951bfc6dc0ae467564b3b1230324cf
tree14bd7e06fc38f77b61a9d0812e84281634045cbf
parent03c0ce4c61fd970509d605fe78166e828fc1df57
gallium: call tgsi_set_exec_mask() and use exec mask in SSE ARL code

This prevents vertex shaders from referencing invalid memory locations when
the shader is operating on less than four vertices or fragments.
src/gallium/auxiliary/draw/draw_vs_exec.c
src/gallium/auxiliary/draw/draw_vs_sse.c
src/gallium/auxiliary/tgsi/tgsi_sse2.c
src/gallium/drivers/softpipe/sp_fs_sse.c