vc4: Respect a sampler view's first_layer field.
authorEric Anholt <eric@anholt.net>
Tue, 7 Aug 2018 19:59:14 +0000 (12:59 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 8 Aug 2018 00:00:22 +0000 (17:00 -0700)
commit9ab6912a00ec29f5d1d9cebc7d3e32ae235419e8
tree86066ba81ecabcd5be7cbc43c62235f8237f591f
parentfe0a3a45bb4875e6c17916b5f2a6652e1691e129
vc4: Respect a sampler view's first_layer field.

Fixes texturing from EGL images created from cubemap faces, as in
dEQP-EGL.functional.image.create.gles2_cubemap_negative_x_rgba_texture

Cc: mesa-stable@lists.freedesktop.org
src/gallium/drivers/vc4/vc4_state.c