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_private.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_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index ee0761e69fe..a329f13586f 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -750,6 +750,9 @@ struct radv_device { struct radv_device_extension_table enabled_extensions; + /* Whether the app has enabled the robustBufferAccess feature. */ + bool robust_buffer_access; + /* Whether the driver uses a global BO list. */ bool use_global_bo_list; |