summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2019-01-11 16:52:43 -0600
committerJason Ekstrand <[email protected]>2019-04-19 19:56:42 +0000
commit3cf78ec2bdc22833082d026d59ccb28d79b07f6f (patch)
treefa846e78f95867cbffb2c5b41f462e3930b41a23 /src/intel/vulkan/anv_device.c
parente7a1e8f7356922726ec38326b65e81a99d7ff96e (diff)
anv: Lower some SSBO operations in apply_pipeline_layout
In order to avoid the potential overhead of A64 operations on all SSBO ops, we look for those SSBO ops where we can get to the descriptor set from the SSBO access operation and lower those to a binding-table approach. When robustBufferAccess is enabled, this lets the hardware do the bounds checking for us. It also avoids some potentially expensive 64-bit integer calculations. Reviewed-by: Lionel Landwerlin <[email protected]> Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
0 files changed, 0 insertions, 0 deletions