Home
last modified time | relevance | path

Searched refs:start_slot (Results 1 – 25 of 55) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_clip.c48 unsigned start_slot, in softpipe_set_viewport_states() argument
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports, in softpipe_set_viewport_states()
58 memcpy(softpipe->viewports + start_slot, viewports, in softpipe_set_viewport_states()
66 unsigned start_slot, in softpipe_set_scissor_states() argument
74 debug_assert(start_slot < PIPE_MAX_VIEWPORTS); in softpipe_set_scissor_states()
75 debug_assert((start_slot + num_scissors) <= PIPE_MAX_VIEWPORTS); in softpipe_set_scissor_states()
77 memcpy(softpipe->scissors + start_slot, scissors, in softpipe_set_scissor_states()
Dsp_state_vertex.c83 unsigned start_slot, unsigned count, in softpipe_set_vertex_buffers() argument
94 buffers, start_slot, count, in softpipe_set_vertex_buffers()
100 draw_set_vertex_buffers(softpipe->draw, start_slot, count, in softpipe_set_vertex_buffers()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c48 unsigned start_slot, in llvmpipe_set_viewport_states() argument
55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, in llvmpipe_set_viewport_states()
58 memcpy(llvmpipe->viewports + start_slot, viewports, in llvmpipe_set_viewport_states()
66 unsigned start_slot, in llvmpipe_set_scissor_states() argument
74 debug_assert(start_slot < PIPE_MAX_VIEWPORTS); in llvmpipe_set_scissor_states()
75 debug_assert((start_slot + num_scissors) <= PIPE_MAX_VIEWPORTS); in llvmpipe_set_scissor_states()
77 memcpy(llvmpipe->scissors + start_slot, scissors, in llvmpipe_set_scissor_states()
Dlp_state_vertex.c79 unsigned start_slot, unsigned count, in llvmpipe_set_vertex_buffers() argument
90 buffers, start_slot, count, in llvmpipe_set_vertex_buffers()
96 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, in llvmpipe_set_vertex_buffers()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c48 unsigned start_slot, unsigned count, in util_set_vertex_buffers_mask() argument
55 dst += start_slot; in util_set_vertex_buffers_mask()
57 *enabled_buffers &= ~u_bit_consecutive(start_slot, count); in util_set_vertex_buffers_mask()
73 *enabled_buffers |= bitmask << start_slot; in util_set_vertex_buffers_mask()
92 unsigned start_slot, unsigned count, in util_set_vertex_buffers_count() argument
104 util_set_vertex_buffers_mask(dst, &enabled_buffers, src, start_slot, in util_set_vertex_buffers_count()
120 unsigned start_slot, unsigned count) in util_set_shader_buffers_mask() argument
124 dst += start_slot; in util_set_shader_buffers_mask()
131 *enabled_buffers |= (1ull << (start_slot + i)); in util_set_shader_buffers_mask()
133 *enabled_buffers &= ~(1ull << (start_slot + i)); in util_set_shader_buffers_mask()
[all …]
Du_helpers.h43 unsigned start_slot, unsigned count,
50 unsigned start_slot, unsigned count,
57 unsigned start_slot, unsigned count);
Du_vbuf.c939 unsigned start_slot, unsigned count, in u_vbuf_set_vertex_buffers() argument
954 ~(((1ull << (count + unbind_num_trailing_slots)) - 1) << start_slot); in u_vbuf_set_vertex_buffers()
969 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers()
975 pipe->set_vertex_buffers(pipe, start_slot, count, in u_vbuf_set_vertex_buffers()
981 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers()
1027 unsigned dst_index = start_slot + count + i; in u_vbuf_set_vertex_buffers()
1326 unsigned start_slot, count; in u_vbuf_set_driver_vertex_buffers() local
1328 start_slot = ffs(mgr->dirty_real_vb_mask) - 1; in u_vbuf_set_driver_vertex_buffers()
1329 count = util_last_bit(mgr->dirty_real_vb_mask >> start_slot); in u_vbuf_set_driver_vertex_buffers()
1337 pipe->set_vertex_buffers(pipe, start_slot, count, 0, true, in u_vbuf_set_driver_vertex_buffers()
[all …]
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_misc.c39 unsigned start_slot, in svga_set_scissor_states() argument
47 assert(start_slot + num_scissors <= svgascreen->max_viewports); in svga_set_scissor_states()
49 for (i = 0, num_sc = start_slot; i < num_scissors; i++) { in svga_set_scissor_states()
204 unsigned start_slot, in svga_set_viewport_states() argument
212 assert(start_slot + num_viewports <= svgascreen->max_viewports); in svga_set_viewport_states()
214 for (i = 0, num_vp = start_slot; i < num_viewports; i++) { in svga_set_viewport_states()
/third_party/mindspore/mindspore/ccsrc/minddata/dataset/engine/cache/
Dcache_numa.cc129 size_t start_slot = distribution(mt); in Allocate() local
130 size_t inx = start_slot; in Allocate()
144 } while (inx != start_slot); in Allocate()
156 size_t start_slot = distribution(mt); in Allocate() local
157 size_t slot = start_slot; in Allocate()
171 } while (slot != start_slot); in Allocate()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h133 int start_slot,
178 uint32_t start_slot,
184 uint32_t start_slot,
216 unsigned start_slot,
276 unsigned start_slot, unsigned count,
280 unsigned start_slot, unsigned count,
283 unsigned start_slot, unsigned count,
Dvirgl_context.c511 unsigned start_slot, in virgl_set_viewport_states() argument
516 virgl_encoder_set_viewport_states(vctx, start_slot, num_viewports, state); in virgl_set_viewport_states()
574 unsigned start_slot, in virgl_set_vertex_buffers() argument
584 buffers, start_slot, num_buffers, in virgl_set_vertex_buffers()
1028 unsigned start_slot, in virgl_set_sampler_views() argument
1038 binding->view_enabled_mask &= ~u_bit_consecutive(start_slot, num_views); in virgl_set_sampler_views()
1040 unsigned idx = start_slot + i; in virgl_set_sampler_views()
1058 start_slot, num_views, (struct virgl_sampler_view **)binding->views); in virgl_set_sampler_views()
1062 virgl_set_sampler_views(ctx, shader_type, start_slot + num_views, in virgl_set_sampler_views()
1113 unsigned start_slot, in virgl_bind_sampler_states() argument
[all …]
Dvirgl_encode.c674 int start_slot, in virgl_encoder_set_viewport_states() argument
680 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_viewport_states()
1002 uint32_t start_slot, in virgl_encode_set_sampler_views() argument
1009 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_sampler_views()
1019 uint32_t start_slot, in virgl_encode_bind_sampler_states() argument
1026 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_bind_sampler_states()
1082 unsigned start_slot, in virgl_encoder_set_scissor_state() argument
1088 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_scissor_state()
1308 unsigned start_slot, unsigned count, in virgl_encode_set_shader_buffers() argument
1315 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_shader_buffers()
[all …]
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_context.c239 unsigned start_slot, unsigned count, unsigned unbind_num_trailing_slots, in panfrost_set_shader_images() argument
247 for (int i = start_slot; i < start_slot + count + unbind_num_trailing_slots; i++) { in panfrost_set_shader_images()
251 ctx->image_mask[shader] &= ~(((1ull << count) - 1) << start_slot); in panfrost_set_shader_images()
258 SET_BIT(ctx->image_mask[shader], 1 << (start_slot + i), image->resource); in panfrost_set_shader_images()
261 util_copy_image_view(&ctx->images[shader][start_slot+i], NULL); in panfrost_set_shader_images()
274 util_copy_image_view(&ctx->images[shader][start_slot+i], image); in panfrost_set_shader_images()
279 SET_BIT(ctx->image_mask[shader], 1 << (start_slot + count + i), NULL); in panfrost_set_shader_images()
280 util_copy_image_view(&ctx->images[shader][start_slot+count+i], NULL); in panfrost_set_shader_images()
357 unsigned start_slot, unsigned num_sampler, in panfrost_bind_sampler_states() argument
360 assert(start_slot == 0); in panfrost_bind_sampler_states()
[all …]
/third_party/mesa3d/src/gallium/include/pipe/
Dp_context.h339 unsigned start_slot, unsigned num_samplers,
473 unsigned start_slot,
483 unsigned start_slot,
489 unsigned start_slot, unsigned num_views,
527 unsigned start_slot, unsigned count,
544 unsigned start_slot, unsigned count,
564 unsigned start_slot, unsigned count,
580 unsigned start_slot,
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_context.cpp691 unsigned start_slot, in d3d12_bind_sampler_states() argument
713 ctx->samplers[shader][start_slot + i] = sampler; in d3d12_bind_sampler_states()
714 dxil_wrap_sampler_state &wrap = ctx->tex_wrap_states[shader][start_slot + i]; in d3d12_bind_sampler_states()
728 ctx->tex_compare_func[shader][start_slot + i] = (enum compare_func)sampler->compare_func; in d3d12_bind_sampler_states()
734 ctx->num_samplers[shader] = start_slot + num_samplers; in d3d12_bind_sampler_states()
947 unsigned start_slot, in d3d12_set_sampler_views() argument
958 struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + i]; in d3d12_set_sampler_views()
974 dxil_wrap_sampler_state &wss = ctx->tex_wrap_states[shader_type][start_slot + i]; in d3d12_set_sampler_views()
1003 … struct pipe_sampler_view *&old_view = ctx->sampler_views[shader_type][start_slot + num_views + i]; in d3d12_set_sampler_views()
1008 ctx->num_sampler_views[shader_type] = start_slot + num_views; in d3d12_set_sampler_views()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c578 unsigned start_slot, in zink_bind_sampler_states() argument
585 if (ctx->sampler_states[shader][start_slot + i] != state) in zink_bind_sampler_states()
586 …context_invalidate_descriptor_state(ctx, shader, ZINK_DESCRIPTOR_TYPE_SAMPLER_VIEW, start_slot, 1); in zink_bind_sampler_states()
587 ctx->sampler_states[shader][start_slot + i] = state; in zink_bind_sampler_states()
588 ctx->di.textures[shader][start_slot + i].sampler = state ? state->sampler : VK_NULL_HANDLE; in zink_bind_sampler_states()
592 ctx->di.num_samplers[shader] = start_slot + num_samplers; in zink_bind_sampler_states()
944 unsigned start_slot, in zink_set_vertex_buffers() argument
954 enabled_buffers |= u_bit_consecutive(start_slot, num_buffers); in zink_set_vertex_buffers()
955 enabled_buffers &= ~u_bit_consecutive(start_slot + num_buffers, unbind_num_trailing_slots); in zink_set_vertex_buffers()
962 struct pipe_vertex_buffer *ctx_vb = &ctx->vertex_buffers[start_slot + i]; in zink_set_vertex_buffers()
[all …]
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c54 unsigned start_slot, in r600_set_scissor_states() argument
62 rctx->scissors.states[start_slot + i] = state[i]; in r600_set_scissor_states()
67 rctx->scissors.dirty_mask |= ((1 << num_scissors) - 1) << start_slot; in r600_set_scissor_states()
282 unsigned start_slot, in r600_set_viewport_states() argument
291 unsigned index = start_slot + i; in r600_set_viewport_states()
298 mask = ((1 << num_viewports) - 1) << start_slot; in r600_set_viewport_states()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_state.c155 unsigned start_slot, in noop_set_scissor_states() argument
167 unsigned start_slot, in noop_set_viewport_states() argument
217 unsigned start_slot, unsigned count, in noop_set_vertex_buffers() argument
283 unsigned start_slot, unsigned count, in noop_set_shader_buffers() argument
291 unsigned start_slot, unsigned count, in noop_set_shader_images() argument
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py397 def _update(self, array, start_slot, num_slots, states): argument
402 while len(array) < start_slot + num_slots:
405 array[start_slot + i] = states[i]
407 def set_scissor_states(self, start_slot, num_scissors, states): argument
408 self._update(self._state.scissors, start_slot, num_scissors, states)
410 def set_viewport_states(self, start_slot, num_viewports, states): argument
411 self._update(self._state.viewports, start_slot, num_viewports, states)
437 def set_vertex_buffers(self, start_slot, num_buffers, buffers): argument
438 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
/third_party/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c1018 unsigned start_slot, in nv50_set_scissor_states() argument
1025 assert(start_slot + num_scissors <= NV50_MAX_VIEWPORTS); in nv50_set_scissor_states()
1027 if (!memcmp(&nv50->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nv50_set_scissor_states()
1029 nv50->scissors[start_slot + i] = scissor[i]; in nv50_set_scissor_states()
1030 nv50->scissors_dirty |= 1 << (start_slot + i); in nv50_set_scissor_states()
1037 unsigned start_slot, in nv50_set_viewport_states() argument
1044 assert(start_slot + num_viewports <= NV50_MAX_VIEWPORTS); in nv50_set_viewport_states()
1046 if (!memcmp(&nv50->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nv50_set_viewport_states()
1048 nv50->viewports[start_slot + i] = vpt[i]; in nv50_set_viewport_states()
1049 nv50->viewports_dirty |= 1 << (start_slot + i); in nv50_set_viewport_states()
[all …]
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c941 unsigned start_slot, in nvc0_set_scissor_states() argument
948 assert(start_slot + num_scissors <= NVC0_MAX_VIEWPORTS); in nvc0_set_scissor_states()
950 if (!memcmp(&nvc0->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nvc0_set_scissor_states()
952 nvc0->scissors[start_slot + i] = scissor[i]; in nvc0_set_scissor_states()
953 nvc0->scissors_dirty |= 1 << (start_slot + i); in nvc0_set_scissor_states()
960 unsigned start_slot, in nvc0_set_viewport_states() argument
967 assert(start_slot + num_viewports <= NVC0_MAX_VIEWPORTS); in nvc0_set_viewport_states()
969 if (!memcmp(&nvc0->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nvc0_set_viewport_states()
971 nvc0->viewports[start_slot + i] = vpt[i]; in nvc0_set_viewport_states()
972 nvc0->viewports_dirty |= 1 << (start_slot + i); in nvc0_set_viewport_states()
[all …]
/third_party/mesa3d/src/gallium/drivers/lima/
Dlima_state.c189 unsigned start_slot, unsigned count, in lima_set_vertex_buffers() argument
198 vb, start_slot, count, in lima_set_vertex_buffers()
208 unsigned start_slot, in lima_set_viewport_states() argument
234 unsigned start_slot, in lima_set_scissor_states() argument
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture.c45 unsigned start_slot, unsigned num_samplers, in etna_bind_sampler_states() argument
302 unsigned start_slot, unsigned num_views, in etna_set_sampler_views() argument
308 assert(start_slot == 0); in etna_set_sampler_views()
Detnaviv_state.c375 etna_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, in etna_set_scissor_states() argument
387 etna_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, in etna_set_viewport_states() argument
428 etna_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, in etna_set_vertex_buffers() argument
435 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, in etna_set_vertex_buffers()
440 for (unsigned idx = start_slot; idx < start_slot + num_buffers; ++idx) { in etna_set_vertex_buffers()
/third_party/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c386 unsigned start_slot, in draw_set_viewport_states() argument
393 debug_assert(start_slot < PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
394 debug_assert((start_slot + num_viewports) <= PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
396 memcpy(draw->viewports + start_slot, vps, in draw_set_viewport_states()
413 unsigned start_slot, unsigned count, in draw_set_vertex_buffers() argument
417 assert(start_slot + count <= PIPE_MAX_ATTRIBS); in draw_set_vertex_buffers()
421 buffers, start_slot, count, in draw_set_vertex_buffers()

123