Home
last modified time | relevance | path

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

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_descriptor_set.c81 struct panvk_sampler **immutable_samplers = in panvk_CreateDescriptorSetLayout() local
101 binding_layout->immutable_samplers = immutable_samplers; in panvk_CreateDescriptorSetLayout()
102 immutable_samplers += binding_layout->array_size; in panvk_CreateDescriptorSetLayout()
105 binding_layout->immutable_samplers[j] = sampler; in panvk_CreateDescriptorSetLayout()
295 if (binding_layout->immutable_samplers) { in panvk_CreatePipelineLayout()
297 struct panvk_sampler *sampler = binding_layout->immutable_samplers[s]; in panvk_CreatePipelineLayout()
Dpanvk_vX_descriptor_set.c94 if (!layout->bindings[i].immutable_samplers) in panvk_per_arch()
99 layout->bindings[i].immutable_samplers[j]; in panvk_per_arch()
250 !binding_layout->immutable_samplers) { in panvk_per_arch()
Dpanvk_private.h384 struct panvk_sampler **immutable_samplers; member
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c407 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout()
424 set_layout->binding[b].immutable_samplers = (void *)(uintptr_t)(j + 1); in anv_CreateDescriptorSetLayout()
436 if (set_layout->binding[b].immutable_samplers == NULL) in anv_CreateDescriptorSetLayout()
439 (uintptr_t)(void *)set_layout->binding[b].immutable_samplers - 1; in anv_CreateDescriptorSetLayout()
440 set_layout->binding[b].immutable_samplers = NULL; in anv_CreateDescriptorSetLayout()
490 set_layout->binding[b].immutable_samplers = samplers; in anv_CreateDescriptorSetLayout()
497 set_layout->binding[b].immutable_samplers[i] = sampler; in anv_CreateDescriptorSetLayout()
677 if (layout->immutable_samplers) { in sha1_update_descriptor_set_binding_layout()
679 sha1_update_immutable_sampler(ctx, layout->immutable_samplers[i]); in sha1_update_descriptor_set_binding_layout()
1125 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.c1175 struct anv_sampler **immutable_samplers = in lower_tex_deref() local
1176 state->layout->set[set].layout->binding[binding].immutable_samplers; in lower_tex_deref()
1177 if (immutable_samplers) { in lower_tex_deref()
1184 desc_arr_index += immutable_samplers[i]->n_planes; in lower_tex_deref()
1530 struct anv_sampler **samplers = binding->immutable_samplers; in anv_nir_apply_pipeline_layout()
1573 struct anv_sampler **samplers = binding->immutable_samplers; in anv_nir_apply_pipeline_layout()
Danv_private.h1902 struct anv_sampler **immutable_samplers; member
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c124 set_layout->binding[b].immutable_samplers = samplers; in lvp_CreateDescriptorSetLayout()
128 set_layout->binding[b].immutable_samplers[i] = in lvp_CreateDescriptorSetLayout()
289 if (layout->binding[b].immutable_samplers) { in lvp_descriptor_set_create()
291 desc[i].info.sampler = layout->binding[b].immutable_samplers[i]; in lvp_descriptor_set_create()
398 if (bind_layout->immutable_samplers) { in lvp_UpdateDescriptorSets()
399 desc[j].info.sampler = bind_layout->immutable_samplers[j]; in lvp_UpdateDescriptorSets()
Dlvp_private.h353 struct lvp_sampler **immutable_samplers; member
Dlvp_execute.c944 …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_descriptor_set.c1344 const uint32_t *immutable_samplers = NULL; in radv_CreateDescriptorUpdateTemplate() local
1366 immutable_samplers = in radv_CreateDescriptorUpdateTemplate()
1393 .immutable_samplers = immutable_samplers}; in radv_CreateDescriptorUpdateTemplate()
1473 if (templ->entry[i].immutable_samplers) { in radv_update_descriptor_set_with_template()
1475 templ->entry[i].immutable_samplers + 4 * j, 16); in radv_update_descriptor_set_with_template()
1481 else if (templ->entry[i].immutable_samplers) in radv_update_descriptor_set_with_template()
1482 memcpy(pDst, templ->entry[i].immutable_samplers + 4 * j, 16); in radv_update_descriptor_set_with_template()
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_private.h948 const uint32_t *immutable_samplers; member
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_descriptor_set.c1098 const struct tu_sampler *immutable_samplers = NULL; in tu_CreateDescriptorUpdateTemplate() local
1114 immutable_samplers = in tu_CreateDescriptorUpdateTemplate()
1132 .immutable_samplers = immutable_samplers, in tu_CreateDescriptorUpdateTemplate()
1171 const struct tu_sampler *samplers = templ->entry[i].immutable_samplers; in tu_update_descriptor_set_with_template()
Dtu_private.h687 const struct tu_sampler *immutable_samplers; member
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_descriptor_set.c177 const struct v3dv_sampler *immutable_samplers = in v3dv_descriptor_map_get_sampler() local
180 assert(immutable_samplers); in v3dv_descriptor_map_get_sampler()
181 const struct v3dv_sampler *sampler = &immutable_samplers[array_index]; in v3dv_descriptor_map_get_sampler()