diff options
author | Bas Nieuwenhuizen <[email protected]> | 2019-08-02 12:40:17 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2019-08-02 21:21:55 +0200 |
commit | 72e7b7a00b660240bed1029841ffbdaeedfaccfe (patch) | |
tree | 204849cf5daa166cde5bd2ceb373334f80767cfc /src/amd/vulkan/radv_shader.h | |
parent | 74baeacafc7c2e9bae0f4db9651b0c664d33f5ac (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r-- | src/amd/vulkan/radv_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index 0ab7db20181..60e52969b3e 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -120,6 +120,7 @@ struct radv_nir_compiler_options { bool unsafe_math; bool supports_spill; bool clamp_shadow_reference; + bool robust_buffer_access; bool dump_shader; bool dump_preoptir; bool record_llvm_ir; |