radeonsi: enable fast color clear for level 0 of mipmapped textures on <= VI
authorMarek Olšák <marek.olsak@amd.com>
Sun, 8 Apr 2018 04:19:50 +0000 (00:19 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 27 Apr 2018 21:56:04 +0000 (17:56 -0400)
commitca33d961a4034ebf4e8e93be32ce3dc9d18570ab
tree51da2e4cc6b6467333d712c6037d3715071c81be
parent174e11c3f5440ad1e22354816fe2ccc5b7a970e9
radeonsi: enable fast color clear for level 0 of mipmapped textures on <= VI

GFX9 is more complicated and needs a compute shader that we should just
copy from amdvlk.

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