r600/eg: use texture target to pick array size not view target (v2)
authorDave Airlie <airlied@redhat.com>
Fri, 2 Feb 2018 05:17:57 +0000 (15:17 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 6 Feb 2018 20:08:11 +0000 (06:08 +1000)
commit012100b80936325945f24a580f643e535028fe19
treeda8156ce303a4f6346a628344d6b5b93c4e09db8
parente7e81f362d6dc4fe3a272cdd07724a26391e8f5e
r600/eg: use texture target to pick array size not view target (v2)

This fixes a few CTS cases in :
KHR-GL45.texture_view.view_sampling

some multisample cases are still broken, but not sure this is
the same problem.

v2: fix more cases

Cc: <mesa-stable@lists.freedesktop.org>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c