Home
last modified time | relevance | path

Searched refs:immutable_samplers (Results 1 – 21 of 21) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_descriptor_set.c122 struct panvk_sampler **immutable_samplers = in panvk_per_arch() local
143 binding_layout->immutable_samplers = immutable_samplers; in panvk_per_arch()
144 immutable_samplers += binding_layout->array_size; in panvk_per_arch()
147 binding_layout->immutable_samplers[j] = sampler; in panvk_per_arch()
322 if (!layout->bindings[i].immutable_samplers) in panvk_per_arch()
327 layout->bindings[i].immutable_samplers[j]; in panvk_per_arch()
423 if (binding_layout->immutable_samplers) in panvk_write_sampler_desc()
439 if (dst_binding_layout->immutable_samplers) in panvk_copy_sampler_desc()
Dpanvk_descriptor_set.c162 if (binding_layout->immutable_samplers) { in panvk_CreatePipelineLayout()
164 struct panvk_sampler *sampler = binding_layout->immutable_samplers[s]; in panvk_CreatePipelineLayout()
Dpanvk_private.h370 struct panvk_sampler **immutable_samplers; member
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c468 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout()
485 set_layout->binding[b].immutable_samplers = (void *)(uintptr_t)(j + 1); in anv_CreateDescriptorSetLayout()
501 if (set_layout->binding[b].immutable_samplers == NULL) in anv_CreateDescriptorSetLayout()
504 (uintptr_t)(void *)set_layout->binding[b].immutable_samplers - 1; in anv_CreateDescriptorSetLayout()
505 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout()
558 set_layout->binding[b].immutable_samplers = samplers; in anv_CreateDescriptorSetLayout()
565 set_layout->binding[b].immutable_samplers[i] = sampler; in anv_CreateDescriptorSetLayout()
750 if (layout->immutable_samplers) { in sha1_update_descriptor_set_binding_layout()
752 sha1_update_immutable_sampler(ctx, layout->immutable_samplers[i]); in sha1_update_descriptor_set_binding_layout()
1210 if (layout->binding[b].immutable_samplers) { in anv_descriptor_set_create()
[all …]
Danv_nir_lower_ycbcr_textures.c231 if (binding->immutable_samplers == NULL) in anv_nir_lower_ycbcr_textures_instr()
243 const struct anv_sampler *sampler = binding->immutable_samplers[array_index]; in anv_nir_lower_ycbcr_textures_instr()
Danv_nir_apply_pipeline_layout.c1168 struct anv_sampler **immutable_samplers = in lower_tex_deref() local
1169 state->layout->set[set].layout->binding[binding].immutable_samplers; in lower_tex_deref()
1170 if (immutable_samplers) { in lower_tex_deref()
1177 desc_arr_index += immutable_samplers[i]->n_planes; in lower_tex_deref()
1541 struct anv_sampler **samplers = binding->immutable_samplers; in anv_nir_apply_pipeline_layout()
1584 struct anv_sampler **samplers = binding->immutable_samplers; in anv_nir_apply_pipeline_layout()
Danv_private.h1861 struct anv_sampler **immutable_samplers; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c123 set_layout->binding[b].immutable_samplers = samplers; in lvp_CreateDescriptorSetLayout()
127 set_layout->binding[b].immutable_samplers[i] = in lvp_CreateDescriptorSetLayout()
337 if (layout->binding[b].immutable_samplers) { in lvp_descriptor_set_create()
339 desc[i].info.sampler = layout->binding[b].immutable_samplers[i]; in lvp_descriptor_set_create()
455 if (bind_layout->immutable_samplers) { in lvp_UpdateDescriptorSets()
456 desc[j].info.sampler = bind_layout->immutable_samplers[j]; in lvp_UpdateDescriptorSets()
Dlvp_private.h289 struct lvp_sampler **immutable_samplers; member
Dlvp_pipeline.c676 …if (memcmp(&la[i], &lb[i], offsetof(struct lvp_descriptor_set_binding_layout, immutable_samplers))) in layouts_equal()
Dlvp_execute.c1087 …fill_sampler(&state->ss[p_stage][ss_idx], binding->immutable_samplers ? binding->immutable_sampler… in fill_sampler_stage()
/third_party/mesa3d/src/amd/vulkan/
Dradv_nir_lower_ycbcr_textures.c240 const uint32_t *immutable_samplers = in try_lower_tex_ycbcr() local
263 …bool unnormalized_coordinates = immutable_samplers[4 * array_index + 0] & S_008F30_FORCE_UNNORMALI… in try_lower_tex_ycbcr()
Dradv_descriptor_set.c1436 const uint32_t *immutable_samplers = NULL; in radv_CreateDescriptorUpdateTemplate() local
1458 immutable_samplers = in radv_CreateDescriptorUpdateTemplate()
1485 .immutable_samplers = immutable_samplers}; in radv_CreateDescriptorUpdateTemplate()
1565 if (cmd_buffer && templ->entry[i].immutable_samplers) { in radv_update_descriptor_set_with_template_impl()
1567 templ->entry[i].immutable_samplers + 4 * j, 16); in radv_update_descriptor_set_with_template_impl()
1573 else if (cmd_buffer && templ->entry[i].immutable_samplers) in radv_update_descriptor_set_with_template_impl()
1574 memcpy(pDst, templ->entry[i].immutable_samplers + 4 * j, 16); in radv_update_descriptor_set_with_template_impl()
Dradv_private.h1041 const uint32_t *immutable_samplers; member
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_descriptor_set.c208 const struct pvr_sampler **immutable_samplers; in pvr_descriptor_set_layout_allocate() local
214 &immutable_samplers, in pvr_descriptor_set_layout_allocate()
215 __typeof__(*immutable_samplers), in pvr_descriptor_set_layout_allocate()
234 layout->immutable_samplers = immutable_samplers; in pvr_descriptor_set_layout_allocate()
548 layout->immutable_samplers[next] = sampler; in pvr_CreateDescriptorSetLayout()
1199 const struct pvr_sampler *sampler = layout->immutable_samplers[idx]; in pvr_descriptor_set_create()
Dpvr_private.h464 const struct pvr_sampler **immutable_samplers; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.h169 const struct tu_sampler *immutable_samplers; member
Dtu_descriptor_set.c1176 const struct tu_sampler *immutable_samplers = NULL; in tu_CreateDescriptorUpdateTemplate() local
1190 immutable_samplers = in tu_CreateDescriptorUpdateTemplate()
1209 .immutable_samplers = immutable_samplers, in tu_CreateDescriptorUpdateTemplate()
1248 const struct tu_sampler *samplers = templ->entry[i].immutable_samplers; in tu_update_descriptor_set_with_template()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_descriptor_set.c166 bool immutable_samplers = in dzn_descriptor_set_layout_create() local
171 if (immutable_samplers && bindings[i].descriptorCount == 1) { in dzn_descriptor_set_layout_create()
184 if (immutable_samplers) in dzn_descriptor_set_layout_create()
215 VK_MULTIALLOC_DECL(&ma, const struct dzn_sampler *, immutable_samplers, in dzn_descriptor_set_layout_create()
225 set_layout->immutable_samplers = immutable_samplers; in dzn_descriptor_set_layout_create()
320 immutable_samplers[immutable_sampler_idx++] = sampler; in dzn_descriptor_set_layout_create()
1309 &layout->immutable_samplers[layout->bindings[b].immutable_sampler_idx]; in dzn_descriptor_set_init()
Ddzn_private.h627 const struct dzn_sampler **immutable_samplers; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c186 const struct v3dv_sampler *immutable_samplers = in v3dv_descriptor_map_get_sampler() local
189 assert(immutable_samplers); in v3dv_descriptor_map_get_sampler()
190 const struct v3dv_sampler *sampler = &immutable_samplers[array_index]; in v3dv_descriptor_map_get_sampler()