svga: pass fragment shader to draw module
authorBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2011 23:40:56 +0000 (17:40 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Nov 2011 23:41:08 +0000 (17:41 -0600)
commit022e270b1b972b6d04890f1ac1fc2a4a4ed03ff7
tree7058c683f199c4179e7ffe8d58b50f2cbc35b428
parent58ea42b7db72586563914dea6fed9656caaf7678
svga: pass fragment shader to draw module

If we use the draw-module for wide point/line/etc drawing we'll need
a fragment shader too (like we pass in the vertex shader).

This fixes sprite point rendering when forcing the swtnl path.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/drivers/svga/svga_context.h
src/gallium/drivers/svga/svga_pipe_fs.c
src/gallium/drivers/svga/svga_swtnl_state.c