radeonsi: workaround for gather4 on integer cube maps
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 13 Sep 2017 08:20:03 +0000 (10:20 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Mon, 18 Sep 2017 09:25:17 +0000 (11:25 +0200)
commit6fb0c1013b3578c5bd264efaa99a6d68418ccfb1
treeb9c31dda89da9e7035bc8f802cfeb80e30e4a4a4
parentb7b4a14db5bf7101935ca003259b85e542c7a7bc
radeonsi: workaround for gather4 on integer cube maps

This is the same workaround that radv already applied in commit
3ece76f03dc0 ("radv/ac: gather4 cube workaround integer").

Fixes dEQP-GLES31.functional.texture.gather.basic.cube.rgba8i/ui.*

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader_tgsi_mem.c