ac/nir,radv: Optimize bounds check for 64 bit CAS.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Aug 2019 10:40:17 +0000 (12:40 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Fri, 2 Aug 2019 19:21:55 +0000 (21:21 +0200)
commit72e7b7a00b660240bed1029841ffbdaeedfaccfe
tree204849cf5daa166cde5bd2ceb373334f80767cfc
parent74baeacafc7c2e9bae0f4db9651b0c664d33f5ac
ac/nir,radv: Optimize bounds check for 64 bit CAS.

When the application does not ask for robust buffer access.

Only implemented the check in radv.

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_device.c
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.c
src/amd/vulkan/radv_shader.h
src/gallium/drivers/radeonsi/si_shader_nir.c