ac: fix image load store for GLSL_SAMPLER_DIM_3D
authorTimothy Arceri <tarceri@itsqueeze.com>
Sat, 20 Jan 2018 03:04:55 +0000 (14:04 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 23 Jan 2018 07:05:13 +0000 (18:05 +1100)
commite68150de263156a3f3d1b609b6506c5649967f61
tree9a23877c1c54f93ed900f923dd72f2cc7d267733
parent82adf53308c137ce0dc5f2d5da4e7cc40c5b808c
ac: fix image load store for GLSL_SAMPLER_DIM_3D

Fixes the following piglit tests:

arb_shader_image_load_store/layer/image3d/layered binding test
arb_shader_image_load_store/max-size/image3d max size test/2048x8x8x1
arb_shader_image_load_store/max-size/image3d max size test/8x2048x8x1
arb_shader_image_load_store/max-size/image3d max size test/8x8x2048x1
arb_shader_image_load_store/semantics/imageload/vertex shader/rgba32f/image3d test

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/amd/common/ac_nir_to_llvm.c