Home
last modified time | relevance | path

Searched refs:ycbcr_sampler (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c258 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in try_lower_tex_ycbcr() local
260 if (ycbcr_sampler->format == VK_FORMAT_UNDEFINED) in try_lower_tex_ycbcr()
269 .conversion = ycbcr_sampler, in try_lower_tex_ycbcr()
284 build_swizzled_components(builder, format, ycbcr_sampler->components, plane_values); in try_lower_tex_ycbcr()
Dradv_descriptor_set.c117 ->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
196 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
312 if (radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
314 *radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
Dradv_private.h2403 struct radv_sampler_ycbcr_conversion *ycbcr_sampler; member
Dradv_device.c7388 sampler->ycbcr_sampler = in radv_CreateSampler()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c499 const struct tu_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in lower_tex_ycbcr() local
501 if (ycbcr_sampler->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY) in lower_tex_ycbcr()
506 uint8_t bits = vk_format_get_component_bits(ycbcr_sampler->format, in lower_tex_ycbcr()
511 ycbcr_sampler->ycbcr_model, in lower_tex_ycbcr()
512 ycbcr_sampler->ycbcr_range, in lower_tex_ycbcr()
Dtu_descriptor_set.c134 … if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
224 if (tu_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
233 if (sampler->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
234 ycbcr_samplers[i] = *sampler->ycbcr_sampler; in tu_CreateDescriptorSetLayout()
Dtu_device.c2359 sampler->ycbcr_sampler = ycbcr_conversion ? in tu_init_sampler()
2362 if (sampler->ycbcr_sampler && in tu_init_sampler()
2363 sampler->ycbcr_sampler->chroma_filter == VK_FILTER_LINEAR) { in tu_init_sampler()
Dtu_private.h1499 struct tu_sampler_ycbcr_conversion *ycbcr_sampler; member