diff options
author | Samuel Pitoiset <[email protected]> | 2018-07-03 12:43:40 +0200 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2018-07-09 13:56:58 +0200 |
commit | 5e5a28d52a8068419ec795843777048236b36bcf (patch) | |
tree | dae59fb52654f65006337ba1c97bc3663717fde8 /src/amd/vulkan/radv_shader.h | |
parent | 81ca08e0300bcf5af48370db6f5f879ade20d930 (diff) |
radv: reduce CPU overhead in radv_flush_descriptors()
The number of enabled descriptors for a given pipeline stage
can be computed at compile time.
Signed-off-by: Samuel Pitoiset <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[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 ce7682e8bf7..03760b689c3 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -197,6 +197,7 @@ struct radv_userdata_info { struct radv_userdata_locations { struct radv_userdata_info descriptor_sets[RADV_UD_MAX_SETS]; struct radv_userdata_info shader_data[AC_UD_MAX_UD]; + uint32_t descriptor_sets_enabled; }; struct radv_vs_output_info { |