Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c258 const struct radv_sampler_ycbcr_conversion_state *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()
H A Dradv_descriptor_set.c137 ->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
217 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
329 if (radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
331 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler->state; in radv_CreateDescriptorSetLayout()
H A Dradv_private.h2787 struct radv_sampler_ycbcr_conversion *ycbcr_sampler;
H A Dradv_device.c7004 sampler->ycbcr_sampler = in radv_CreateSampler()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_shader.c494 const struct tu_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in lower_tex_ycbcr() local
496 if (ycbcr_sampler->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY) in lower_tex_ycbcr()
501 uint8_t bits = vk_format_get_component_bits(ycbcr_sampler->format, in lower_tex_ycbcr()
505 switch (ycbcr_sampler->format) { in lower_tex_ycbcr()
519 ycbcr_sampler->ycbcr_model, in lower_tex_ycbcr()
520 ycbcr_sampler->ycbcr_range, in lower_tex_ycbcr()
H A Dtu_device.h405 struct tu_sampler_ycbcr_conversion *ycbcr_sampler; member
H A Dtu_descriptor_set.c124 if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
214 if (tu_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
223 if (sampler->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
224 ycbcr_samplers[i] = *sampler->ycbcr_sampler; in tu_CreateDescriptorSetLayout()
H A Dtu_device.c2795 sampler->ycbcr_sampler = ycbcr_conversion ? in tu_init_sampler()
2798 if (sampler->ycbcr_sampler && in tu_init_sampler()
2799 sampler->ycbcr_sampler->chroma_filter == VK_FILTER_LINEAR) { in tu_init_sampler()

Completed in 24 milliseconds