Home
last modified time | relevance | path

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

/third_party/mesa3d/src/amd/vulkan/
Dradv_descriptor_set.h120 radv_immutable_ycbcr_samplers(const struct radv_descriptor_set_layout *set, unsigned binding_index) in radv_immutable_ycbcr_samplers() argument
128 if (offsets[binding_index] == 0) in radv_immutable_ycbcr_samplers()
131 offsets[binding_index]); in radv_immutable_ycbcr_samplers()
/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()