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

/xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c258 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; local in function:try_lower_tex_ycbcr
260 if (ycbcr_sampler->format == VK_FORMAT_UNDEFINED)
269 .conversion = ycbcr_sampler,
284 build_swizzled_components(builder, format, ycbcr_sampler->components, plane_values);
H A Dradv_descriptor_set.c117 ->ycbcr_sampler)
196 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler;
312 if (radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler)
314 *radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler;
H A Dradv_private.h2404 struct radv_sampler_ycbcr_conversion *ycbcr_sampler; member in struct:radv_sampler
H A Dradv_device.c7392 sampler->ycbcr_sampler =
/xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
H A Dradv_nir_lower_ycbcr_textures.c384 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; local in function:try_lower_tex_ycbcr
386 if (ycbcr_sampler->format == VK_FORMAT_UNDEFINED)
393 .conversion = ycbcr_sampler,
406 nir_ssa_def *result = build_swizzled_components(builder, format, ycbcr_sampler->components, plane_values);
H A Dradv_descriptor_set.c96 if (radv_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler)
165 radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler;
262 if (radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler)
263 ycbcr_samplers[i] = *radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler;
H A Dradv_private.h1797 struct radv_sampler_ycbcr_conversion *ycbcr_sampler; member in struct:radv_sampler
H A Dradv_device.c4879 sampler->ycbcr_sampler = ycbcr_conversion ? radv_sampler_ycbcr_conversion_from_handle(ycbcr_conversion->conversion): NULL;
/xsrc/external/mit/MesaLib/dist/src/freedreno/vulkan/
H A Dtu_shader.c499 const struct tu_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; local in function:lower_tex_ycbcr
501 if (ycbcr_sampler->ycbcr_model == VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY)
506 uint8_t bits = vk_format_get_component_bits(ycbcr_sampler->format,
511 ycbcr_sampler->ycbcr_model,
512 ycbcr_sampler->ycbcr_range,
H A Dtu_descriptor_set.c134 if (tu_sampler_from_handle(pCreateInfo->pBindings[j].pImmutableSamplers[i])->ycbcr_sampler)
224 if (tu_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler)
233 if (sampler->ycbcr_sampler)
234 ycbcr_samplers[i] = *sampler->ycbcr_sampler;
H A Dtu_device.c2359 sampler->ycbcr_sampler = ycbcr_conversion ?
2362 if (sampler->ycbcr_sampler &&
2363 sampler->ycbcr_sampler->chroma_filter == VK_FILTER_LINEAR) {
H A Dtu_private.h1499 struct tu_sampler_ycbcr_conversion *ycbcr_sampler; member in struct:tu_sampler

Completed in 41 milliseconds