Home
last modified time | relevance | path

Searched refs:ycbcr_samplers (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c240 const struct radv_sampler_ycbcr_conversion *ycbcr_samplers = in try_lower_tex_ycbcr() local
243 if (!ycbcr_samplers) in try_lower_tex_ycbcr()
263 const struct radv_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in try_lower_tex_ycbcr()
Dradv_descriptor_set.c129 struct radv_sampler_ycbcr_conversion *ycbcr_samplers = NULL; in radv_CreateDescriptorSetLayout() local
138 ycbcr_samplers = (struct radv_sampler_ycbcr_conversion *)first_ycbcr_sampler_offset; in radv_CreateDescriptorSetLayout()
268 ycbcr_sampler_offsets[b] = (const char*)ycbcr_samplers - (const char*)set_layout; in radv_CreateDescriptorSetLayout()
271 ycbcr_samplers[i] = *radv_sampler_from_handle(binding->pImmutableSamplers[i])->ycbcr_sampler; in radv_CreateDescriptorSetLayout()
273 ycbcr_samplers[i].format = VK_FORMAT_UNDEFINED; in radv_CreateDescriptorSetLayout()
275 ycbcr_samplers += binding->descriptorCount; in radv_CreateDescriptorSetLayout()
/external/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c160 struct tu_sampler_ycbcr_conversion *ycbcr_samplers = in tu_CreateDescriptorSetLayout() local
219 (const char*)ycbcr_samplers - (const char*)set_layout; in tu_CreateDescriptorSetLayout()
223 ycbcr_samplers[i] = *sampler->ycbcr_sampler; in tu_CreateDescriptorSetLayout()
225 ycbcr_samplers[i].ycbcr_model = VK_SAMPLER_YCBCR_MODEL_CONVERSION_RGB_IDENTITY; in tu_CreateDescriptorSetLayout()
227 ycbcr_samplers += binding->descriptorCount; in tu_CreateDescriptorSetLayout()
Dtu_shader.c492 const struct tu_sampler_ycbcr_conversion *ycbcr_samplers = in lower_tex_ycbcr() local
495 if (!ycbcr_samplers) in lower_tex_ycbcr()
513 const struct tu_sampler_ycbcr_conversion *ycbcr_sampler = ycbcr_samplers + array_index; in lower_tex_ycbcr()