ac/nir: Remove gfx9_stride_size_workaround_for_atomic
authorConnor Abbott <cwabbott0@gmail.com>
Fri, 23 Aug 2019 08:46:53 +0000 (10:46 +0200)
committerConnor Abbott <cwabbott0@gmail.com>
Mon, 26 Aug 2019 09:00:49 +0000 (11:00 +0200)
commitb7acf38073b8be8ee17f7618fd9745fca4cabe7a
treed7abc13acc0255e94d8bd7860013e31fbf697589
parent4849276ea8774329b3330fce22b2bfb03b80c97a
ac/nir: Remove gfx9_stride_size_workaround_for_atomic

The workaround was entirely in common code, and it's needed in radeonsi
too so just always do it when necessary. Fixes
KHR-GL45.shader_image_load_store.advanced-allStages-oneImage on gfx9
with LLVM 8.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/common/ac_nir_to_llvm.c
src/amd/common/ac_shader_abi.h
src/amd/vulkan/radv_nir_to_llvm.c