radeonsi: add support for sampler views where resource = NULL

Graphics / Mesa 3D Graphics Library / Mesa - Marek Olšák [amd.com] - 4 February 2015 07:34 UTC

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

9af943c radeonsi: add support for sampler views where resource = NULL
src/gallium/drivers/radeonsi/si_descriptors.c | 13 +++++++++----
src/gallium/drivers/radeonsi/si_state.c | 15 +++++++++++++--
2 files changed, 22 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share