radeonsi: Sampler view state simplification.
authorMichel Dänzer <michel.daenzer@amd.com>
Mon, 27 Aug 2012 09:48:55 +0000 (11:48 +0200)
committerMichel Dänzer <michel@daenzer.net>
Thu, 6 Sep 2012 13:39:01 +0000 (15:39 +0200)
commitb7d96ca35e7652596851fe86d495e82c25ffcb55
tree5edf90ab818e2b9264c1030d50d05e19fd203302
parent396af00ffe376bb0ffe8a60960604b733b19f2ca
radeonsi: Sampler view state simplification.

We can always use the offset and tiling mode from level 0 and restrict the
first and last mipmap level to be used in the sampler resource.

Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/si_state.c