Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c263 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in try_lower_tex_ycbcr() local
265 if (ycbcr_sampler->format == VK_FORMAT_UNDEFINED) in try_lower_tex_ycbcr()
272 .conversion = ycbcr_sampler, in try_lower_tex_ycbcr()
285 …nir_ssa_def *result = build_swizzled_components(builder, format, ycbcr_sampler->components, plane_… in try_lower_tex_ycbcr()
Dradv_descriptor_set.c97 if (radv_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
174 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
270 if (radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in radv_CreateDescriptorSetLayout()
271 ycbcr_samplers[i] = *radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
Dradv_private.h2237 struct radv_sampler_ycbcr_conversion *ycbcr_sampler; member
Dradv_device.c7519 …sampler->ycbcr_sampler = ycbcr_conversion ? radv_sampler_ycbcr_conversion_from_handle(ycbcr_conver… in radv_CreateSampler()
/external/mesa3d/src/freedreno/vulkan/
Dtu_shader.c513 const struct tu_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in lower_tex_ycbcr() local
515 if (ycbcr_sampler->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY) in lower_tex_ycbcr()
520 uint8_t bits = vk_format_get_component_bits(ycbcr_sampler->format, in lower_tex_ycbcr()
525 ycbcr_sampler->ycbcr_model, in lower_tex_ycbcr()
526 ycbcr_sampler->ycbcr_range, in lower_tex_ycbcr()
Dtu_descriptor_set.c133 … if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
213 if (tu_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
222 if (sampler->ycbcr_sampler) in tu_CreateDescriptorSetLayout()
223 ycbcr_samplers[i] = *sampler->ycbcr_sampler; in tu_CreateDescriptorSetLayout()
Dtu_device.c1853 sampler->ycbcr_sampler = ycbcr_conversion ? in tu_init_sampler()
1856 if (sampler->ycbcr_sampler && in tu_init_sampler()
1857 sampler->ycbcr_sampler->chroma_filter == VK_FILTER_LINEAR) { in tu_init_sampler()
Dtu_private.h1348 struct tu_sampler_ycbcr_conversion *ycbcr_sampler; member