radeonsi: add support for sampler views where resource = NULL
authorMarek Olšák <marek.olsak@amd.com>
Sun, 1 Feb 2015 13:38:48 +0000 (14:38 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 4 Feb 2015 13:34:13 +0000 (14:34 +0100)
commit9af943c32e93ae7fd86f0c00dfd5b0e4c4e2430f
tree4b1511ff0fddaa119f0046c06700c120b7c1347d
parent70e4243f073ec20d5f6d895cf17f6e49bf2867b1
radeonsi: add support for sampler views where resource = NULL

The hardware obeys swizzles even if the resource is NULL.
This will be used by set_polygon_stipple.

Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.c