gfxstream: VulkanBatchedDescriptorSetUpdate toggled on caps on Guest
The descriptor set optimization doesn't seem to help performance during benchmarks and it seems to cause erratic behaviour during normal operation. This disables it from being on by default. Can be enabled by -feature VulkanBatchedDescriptorSetUpdate Reviewed-by: Aaron Ruby <aruby@blackberry.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31929>
This commit is contained in:
committed by
Gurchetan Singh
parent
e3a0091638
commit
72dbabdfef
@@ -116,6 +116,7 @@ struct vulkanCapset {
|
||||
uint32_t alwaysBlob;
|
||||
uint32_t externalSync;
|
||||
uint32_t virglSupportedFormats[16];
|
||||
uint32_t vulkanBatchedDescriptorSetUpdate;
|
||||
};
|
||||
|
||||
struct magmaCapset {
|
||||
|
||||
@@ -1413,7 +1413,8 @@ void ResourceTracker::setupCaps(uint32_t& noRenderControlEnc) {
|
||||
mFeatureInfo.hasVulkanCreateResourcesWithRequirements = true;
|
||||
mFeatureInfo.hasVirtioGpuNext = true;
|
||||
mFeatureInfo.hasVirtioGpuNativeSync = true;
|
||||
mFeatureInfo.hasVulkanBatchedDescriptorSetUpdate = true;
|
||||
mFeatureInfo.hasVulkanBatchedDescriptorSetUpdate =
|
||||
mCaps.vulkanCapset.vulkanBatchedDescriptorSetUpdate;
|
||||
mFeatureInfo.hasVulkanAsyncQsri = true;
|
||||
|
||||
ResourceTracker::streamFeatureBits |= VULKAN_STREAM_FEATURE_NULL_OPTIONAL_STRINGS_BIT;
|
||||
|
||||
Reference in New Issue
Block a user