svga: Add support for arb_texture_gather
authorNeha Bhende <bhenden@vmware.com>
Fri, 25 Aug 2017 12:06:41 +0000 (05:06 -0700)
committerBrian Paul <brianp@vmware.com>
Mon, 10 Sep 2018 19:07:30 +0000 (13:07 -0600)
commit252e97ecdf05ad1050823e14e2119fbe0cc266a0
tree6271caa30173da4ade3d0a128dec51a4dce4dcf6
parent36c84bcd7709d760fe30151d2c78a8d3c300978a
svga: Add support for arb_texture_gather

With sm4_1, we can support single channel 2D or CubeMap textures.
This patch exercises this feature.

Tested with piglit

v2: As per Brian's comment

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/drivers/svga/svga_screen.c
src/gallium/drivers/svga/svga_tgsi_vgpu10.c