softpipe: add ARB_texture_cube_map_array support (v1.1)
authorDave Airlie <airlied@gmail.com>
Sat, 3 Nov 2012 10:51:45 +0000 (20:51 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 9 Nov 2012 00:29:26 +0000 (10:29 +1000)
commit309fda2fb28dfe7e8b9be31806346125bef13b21
tree97259d4e5a5a0971dc13d1e4e493916c066c9ce0
parent8c0ccce30038f5d28e74f7f4b5b5c0bbd8ac6dbe
softpipe: add ARB_texture_cube_map_array support (v1.1)

This adds support to the softpipe texture sampler and tgsi exec.

In order to handle the extra input to the texture sampling,
I've had to expand the interfaces to take a c1 value for storing
the texture compare value for the TEX2 case.

v1.1: add comments (Brian)

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_exec.h
src/gallium/drivers/softpipe/sp_screen.c
src/gallium/drivers/softpipe/sp_tex_sample.c
src/gallium/drivers/softpipe/sp_tex_sample.h
src/gallium/drivers/softpipe/sp_texture.c