Home
last modified time | relevance | path

Searched refs:descriptors_state (Results 1 – 5 of 5) sorted by relevance

/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_cmd_buffer.c124 struct panvk_descriptor_state *descriptors_state = in panvk_CmdBindDescriptorSets() local
132 descriptors_state->sets[idx] = set; in panvk_CmdBindDescriptorSets()
143 bdesc = &descriptors_state->dyn.ubos[dyn_ubo_offset++]; in panvk_CmdBindDescriptorSets()
146 bdesc = &descriptors_state->dyn.ssbos[dyn_ssbo_offset++]; in panvk_CmdBindDescriptorSets()
158 panvk_set_dyn_ssbo_pointers(descriptors_state, in panvk_CmdBindDescriptorSets()
164 descriptors_state->dirty |= PANVK_DYNAMIC_SSBO; in panvk_CmdBindDescriptorSets()
168 descriptors_state->ubos = 0; in panvk_CmdBindDescriptorSets()
171 descriptors_state->textures = 0; in panvk_CmdBindDescriptorSets()
174 descriptors_state->samplers = 0; in panvk_CmdBindDescriptorSets()
177 descriptors_state->vs_attrib_bufs = descriptors_state->non_vs_attrib_bufs = 0; in panvk_CmdBindDescriptorSets()
[all …]
/third_party/mesa3d/src/amd/vulkan/
Dradv_cmd_buffer.c948 struct radv_descriptor_state *descriptors_state = in radv_set_descriptor_set() local
951 descriptors_state->sets[idx] = set; in radv_set_descriptor_set()
953 descriptors_state->valid |= (1u << idx); /* active descriptors */ in radv_set_descriptor_set()
954 descriptors_state->dirty |= (1u << idx); in radv_set_descriptor_set()
960 struct radv_descriptor_state *descriptors_state = in radv_save_descriptors() local
967 u_foreach_bit(i, descriptors_state->valid) in radv_save_descriptors()
969 struct radv_descriptor_set *set = descriptors_state->sets[i]; in radv_save_descriptors()
1002 struct radv_descriptor_state *descriptors_state, in radv_emit_descriptor_pointers() argument
1009 mask &= descriptors_state->dirty & descriptors_state->valid; in radv_emit_descriptor_pointers()
1021 struct radv_descriptor_set *set = descriptors_state->sets[start + i]; in radv_emit_descriptor_pointers()
[all …]
Dradv_meta.c95 struct radv_descriptor_state *descriptors_state = in radv_meta_save() local
199 state->old_descriptor_set0 = descriptors_state->sets[0]; in radv_meta_save()
200 if (!(descriptors_state->valid & 1) || !state->old_descriptor_set0) in radv_meta_save()
Dradv_device_generated_commands.c1285 struct radv_descriptor_state *descriptors_state = in radv_prepare_dgc() local
1287 …memcpy(upload_data, descriptors_state->dynamic_buffers, 16 * graphics_pipeline->base.dynamic_offse… in radv_prepare_dgc()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.c1977 struct tu_descriptor_state *descriptors_state = in tu_CmdBindDescriptorSets() local
1984 descriptors_state->sets[idx] = set; in tu_CmdBindDescriptorSets()
1990 uint32_t *dst = descriptors_state->dynamic_descriptors + in tu_CmdBindDescriptorSets()
2036 struct tu_descriptor_set *set = descriptors_state->sets[i]; in tu_CmdBindDescriptorSets()
2052 memcpy(dynamic_desc_set.map, descriptors_state->dynamic_descriptors, in tu_CmdBindDescriptorSets()