Commit 9ecf70d9 authored by Peng Huang's avatar Peng Huang Committed by Commit Bot

Vulkan: fix the vulkan info correcting problem

Bug: 887018
Change-Id: If07eed9cdd9ab49d35c7df7f48bd4a1f9563be0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1867202
Commit-Queue: Peng Huang <penghuang@chromium.org>
Commit-Queue: Vasiliy Telezhnikov <vasilyt@chromium.org>
Auto-Submit: Peng Huang <penghuang@chromium.org>
Reviewed-by: default avatarVasiliy Telezhnikov <vasilyt@chromium.org>
Cr-Commit-Position: refs/heads/master@{#707082}
parent bb8322bf
......@@ -284,6 +284,7 @@ void VulkanInstance::CollectInfo() {
ycbcr_converson_features.pNext = &protected_memory_feature;
vkGetPhysicalDeviceFeatures2(device, &features_2);
info.features = features_2.features;
info.feature_sampler_ycbcr_conversion =
ycbcr_converson_features.samplerYcbcrConversion;
info.feature_protected_memory = protected_memory_feature.protectedMemory;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment