gfxstream: remove android conditioning for sampler extensions
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run

It's invalid usage to not add these structures and would cause
pipeline test failures/crashes.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41694>
This commit is contained in:
Serdar Kocdemir 2026-05-19 23:38:40 +01:00 committed by Marge Bot
parent 3d71e6553e
commit 26752e00b5

View file

@ -4705,7 +4705,7 @@ VkResult ResourceTracker::on_vkCreateSampler(void* context, VkResult, VkDevice d
VkSamplerCreateInfo localCreateInfo = vk_make_orphan_copy(*pCreateInfo);
vk_struct_chain_iterator structChainIter = vk_make_chain_iterator(&localCreateInfo);
#if defined(VK_USE_PLATFORM_ANDROID_KHR) || defined(VK_USE_PLATFORM_FUCHSIA)
VkSamplerYcbcrConversionInfo localVkSamplerYcbcrConversionInfo;
const VkSamplerYcbcrConversionInfo* samplerYcbcrConversionInfo =
vk_find_struct_const(pCreateInfo, SAMPLER_YCBCR_CONVERSION_INFO);
@ -4724,7 +4724,6 @@ VkResult ResourceTracker::on_vkCreateSampler(void* context, VkResult, VkDevice d
vk_make_orphan_copy(*samplerCustomBorderColorCreateInfo);
vk_append_struct(&structChainIter, &localVkSamplerCustomBorderColorCreateInfo);
}
#endif
VkSamplerReductionModeCreateInfo localVkSamplerReductionModeCreateInfo;
const VkSamplerReductionModeCreateInfo* samplerReductionModeCreateInfo =