Home
last modified time | relevance | path

Searched refs:binding_index (Results 1 – 8 of 8) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dglthread_draw.c132 unsigned binding_index = vao->Attrib[i].BufferIndex; in upload_vertices() local
134 if (!(user_buffer_mask & (1 << binding_index))) in upload_vertices()
137 unsigned stride = vao->Attrib[binding_index].Stride; in upload_vertices()
138 unsigned instance_div = vao->Attrib[binding_index].Divisor; in upload_vertices()
163 unsigned binding_index_bit = 1u << binding_index; in upload_vertices()
167 start_offset[binding_index] = offset; in upload_vertices()
168 end_offset[binding_index] = offset + size; in upload_vertices()
170 if (offset < start_offset[binding_index]) in upload_vertices()
171 start_offset[binding_index] = offset; in upload_vertices()
172 if (offset + size > end_offset[binding_index]) in upload_vertices()
[all …]
Dglthread_varray.c217 enable_buffer(struct glthread_vao *vao, unsigned binding_index) in enable_buffer() argument
219 int attrib_count = ++vao->Attrib[binding_index].EnabledAttribCount; in enable_buffer()
222 vao->BufferEnabled |= 1 << binding_index; in enable_buffer()
224 vao->BufferInterleaved |= 1 << binding_index; in enable_buffer()
228 disable_buffer(struct glthread_vao *vao, unsigned binding_index) in disable_buffer() argument
230 int attrib_count = --vao->Attrib[binding_index].EnabledAttribCount; in disable_buffer()
233 vao->BufferEnabled &= ~(1 << binding_index); in disable_buffer()
235 vao->BufferInterleaved &= ~(1 << binding_index); in disable_buffer()
/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.h124 radv_immutable_ycbcr_samplers(const struct radv_descriptor_set_layout *set, unsigned binding_index) in radv_immutable_ycbcr_samplers() argument
132 if (offsets[binding_index] == 0) in radv_immutable_ycbcr_samplers()
135 offsets[binding_index]); in radv_immutable_ycbcr_samplers()
Dradv_nir_apply_pipeline_layout.c236 unsigned binding_index = var->data.binding; in get_sampler_desc() local
240 struct radv_descriptor_set_binding_layout *binding = &layout->binding[binding_index]; in get_sampler_desc()
/third_party/mesa3d/src/imagination/vulkan/pds/
Dpvr_xgl_pds.c131 DMA->binding_index); in pvr_write_pds_const_map_entry_vertex_attribute_address()
143 robust_attribute_entry->binding_index = DMA->binding_index; in pvr_write_pds_const_map_entry_vertex_attribute_address()
160 attribute_entry->binding_index = DMA->binding_index; in pvr_write_pds_const_map_entry_vertex_attribute_address()
1093 obb_buffer_size->binding_index = vertex_dma->binding_index; in pvr_pds_generate_vertex_primary_program()
1213 max_index_entry->binding_index = vertex_dma->binding_index; in pvr_pds_generate_vertex_primary_program()
Dpvr_pds.h942 uint8_t binding_index; member
1068 uint8_t binding_index; member
1078 uint8_t binding_index; member
1088 uint8_t binding_index; member
1114 uint8_t binding_index; member
/third_party/mesa3d/src/imagination/vulkan/
Dpvr_pipeline.c328 dma_desc->binding_index = attrib_desc->binding; in pvr_pds_vertex_attrib_init_dma_descriptions()
Dpvr_cmd_buffer.c2680 &state->vertex_bindings[attribute->binding_index]; in pvr_setup_vertex_buffers()