radeonsi: fix cubemaps viewed as 2D
authorMarek Olšák <marek.olsak@amd.com>
Fri, 19 Aug 2016 17:52:14 +0000 (19:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 5 Sep 2016 16:01:15 +0000 (18:01 +0200)
commita4fa21505883ec9eef905079a5160d07ffc67ae7
treeb5e2192e037d0527d902f3592def302da869fa91
parent2975230fdc6a51f4fd9c1edd0504be58dad0955c
radeonsi: fix cubemaps viewed as 2D

This fixes: GL43-CTS.texture_view.view_sampling

v2: fix a typo, merge both if statements

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Dave Airlie <airlied@redhat.com> (v1)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> (v1)
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_state.c