radeonsi/gfx9: image descriptor changes in immutable fields
authorMarek Olšák <marek.olsak@amd.com>
Sat, 15 Oct 2016 13:24:45 +0000 (15:24 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
commitd60f72a9f0e4a0ea04391731211c18e755e0346f
tree0b7a14bc0555db5bfa5de93b89b494bc46afcf4d
parentdfd2b549488beb8af9c83255dfd5585b010ba4e3
radeonsi/gfx9: image descriptor changes in immutable fields

The border color swizzle logic was copied from Vulkan. It doesn't make any
sense to me, but it passes all piglits except the stencil ones.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/gfx9d.h
src/gallium/drivers/radeonsi/si_pipe.c
src/gallium/drivers/radeonsi/si_state.c