/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_descriptor_set.c | 122 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()
|
D | panvk_descriptor_set.c | 162 if (binding_layout->immutable_samplers) { in panvk_CreatePipelineLayout() 164 struct panvk_sampler *sampler = binding_layout->immutable_samplers[s]; in panvk_CreatePipelineLayout()
|
D | panvk_private.h | 370 struct panvk_sampler **immutable_samplers; member
|
/third_party/mesa3d/src/intel/vulkan/ |
D | anv_descriptor_set.c | 468 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 …]
|
D | anv_nir_lower_ycbcr_textures.c | 231 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()
|
D | anv_nir_apply_pipeline_layout.c | 1168 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()
|
D | anv_private.h | 1861 struct anv_sampler **immutable_samplers; member
|
/third_party/mesa3d/src/gallium/frontends/lavapipe/ |
D | lvp_descriptor_set.c | 123 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()
|
D | lvp_private.h | 289 struct lvp_sampler **immutable_samplers; member
|
D | lvp_pipeline.c | 676 …if (memcmp(&la[i], &lb[i], offsetof(struct lvp_descriptor_set_binding_layout, immutable_samplers))) in layouts_equal()
|
D | lvp_execute.c | 1087 …fill_sampler(&state->ss[p_stage][ss_idx], binding->immutable_samplers ? binding->immutable_sampler… in fill_sampler_stage()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_descriptor_set.c | 208 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()
|
D | pvr_private.h | 464 const struct pvr_sampler **immutable_samplers; member
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_descriptor_set.c | 1436 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()
|
D | radv_nir_lower_ycbcr_textures.c | 240 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()
|
D | radv_private.h | 1041 const uint32_t *immutable_samplers; member
|
/third_party/mesa3d/src/microsoft/vulkan/ |
D | dzn_descriptor_set.c | 166 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()
|
D | dzn_private.h | 627 const struct dzn_sampler **immutable_samplers; member
|
/third_party/mesa3d/src/freedreno/vulkan/ |
D | tu_descriptor_set.h | 169 const struct tu_sampler *immutable_samplers; member
|
D | tu_descriptor_set.c | 1176 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/broadcom/vulkan/ |
D | v3dv_descriptor_set.c | 186 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()
|