Home
last modified time | relevance | path

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

123

/external/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
92 buffers, start_slot, count); in softpipe_set_vertex_buffers()
96 draw_set_vertex_buffers(softpipe->draw, start_slot, count, buffers); in softpipe_set_vertex_buffers()
/external/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
88 buffers, start_slot, count); in llvmpipe_set_vertex_buffers()
92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffers); in llvmpipe_set_vertex_buffers()
/external/mesa3d/src/gallium/auxiliary/util/
Du_helpers.c45 unsigned start_slot, unsigned count) in util_set_vertex_buffers_mask() argument
50 dst += start_slot; in util_set_vertex_buffers_mask()
66 *enabled_buffers &= ~(((1ull << count) - 1) << start_slot); in util_set_vertex_buffers_mask()
67 *enabled_buffers |= bitmask << start_slot; in util_set_vertex_buffers_mask()
74 *enabled_buffers &= ~(((1ull << count) - 1) << start_slot); in util_set_vertex_buffers_mask()
85 unsigned start_slot, unsigned count) in util_set_vertex_buffers_count() argument
95 util_set_vertex_buffers_mask(dst, &enabled_buffers, src, start_slot, in util_set_vertex_buffers_count()
Du_helpers.h41 unsigned start_slot, unsigned count);
46 unsigned start_slot, unsigned count);
Du_vbuf.c813 unsigned start_slot, unsigned count, in u_vbuf_set_vertex_buffers() argument
825 const uint32_t mask = ~(((1ull << count) - 1) << start_slot); in u_vbuf_set_vertex_buffers()
839 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers()
845 pipe->set_vertex_buffers(pipe, start_slot, count, NULL); in u_vbuf_set_vertex_buffers()
850 unsigned dst_index = start_slot + i; in u_vbuf_set_vertex_buffers()
1118 unsigned start_slot, count; in u_vbuf_set_driver_vertex_buffers() local
1120 start_slot = ffs(mgr->dirty_real_vb_mask) - 1; in u_vbuf_set_driver_vertex_buffers()
1121 count = util_last_bit(mgr->dirty_real_vb_mask >> start_slot); in u_vbuf_set_driver_vertex_buffers()
1123 pipe->set_vertex_buffers(pipe, start_slot, count, in u_vbuf_set_driver_vertex_buffers()
1124 mgr->real_vertex_buffer + start_slot); in u_vbuf_set_driver_vertex_buffers()
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h209 unsigned start_slot, unsigned num_samplers,
286 unsigned start_slot,
296 unsigned start_slot,
302 unsigned start_slot, unsigned num_views,
331 unsigned start_slot, unsigned count,
347 unsigned start_slot, unsigned count,
365 unsigned start_slot, unsigned count,
369 unsigned start_slot,
/external/virglrenderer/src/gallium/include/pipe/
Dp_context.h143 unsigned shader, unsigned start_slot,
207 unsigned start_slot,
212 unsigned start_slot,
217 unsigned start_slot, unsigned num_views,
237 unsigned start_slot,
/external/virglrenderer/src/
Dvrend_decode.c211 uint32_t num_viewports, start_slot; in vrend_decode_set_viewport_state() local
219 start_slot = get_buf_entry(ctx, VIRGL_SET_VIEWPORT_START_SLOT); in vrend_decode_set_viewport_state()
222 start_slot > (PIPE_MAX_VIEWPORTS - num_viewports)) in vrend_decode_set_viewport_state()
232 vrend_set_viewport_states(ctx->grctx, start_slot, num_viewports, vps); in vrend_decode_set_viewport_state()
315 uint32_t start_slot; in vrend_decode_set_sampler_views() local
321 start_slot = get_buf_entry(ctx, VIRGL_SET_SAMPLER_VIEWS_START_SLOT); in vrend_decode_set_sampler_views()
327 start_slot > (PIPE_MAX_SHADER_SAMPLER_VIEWS - num_samps)) in vrend_decode_set_sampler_views()
332 vrend_set_single_sampler_view(ctx->grctx, shader_type, i + start_slot, handle); in vrend_decode_set_sampler_views()
334 vrend_set_num_sampler_views(ctx->grctx, shader_type, start_slot, num_samps); in vrend_decode_set_sampler_views()
827 uint32_t start_slot; in vrend_decode_set_scissor_state() local
[all …]
Dvrend_renderer.h208 uint32_t start_slot, uint32_t num_viewports,
212 uint32_t start_slot,
228 uint32_t start_slot,
275 uint32_t start_slot,
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c987 unsigned start_slot, in nv50_set_scissor_states() argument
994 assert(start_slot + num_scissors <= NV50_MAX_VIEWPORTS); in nv50_set_scissor_states()
996 if (!memcmp(&nv50->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nv50_set_scissor_states()
998 nv50->scissors[start_slot + i] = scissor[i]; in nv50_set_scissor_states()
999 nv50->scissors_dirty |= 1 << (start_slot + i); in nv50_set_scissor_states()
1006 unsigned start_slot, in nv50_set_viewport_states() argument
1013 assert(start_slot + num_viewports <= NV50_MAX_VIEWPORTS); in nv50_set_viewport_states()
1015 if (!memcmp(&nv50->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nv50_set_viewport_states()
1017 nv50->viewports[start_slot + i] = vpt[i]; in nv50_set_viewport_states()
1018 nv50->viewports_dirty |= 1 << (start_slot + i); in nv50_set_viewport_states()
[all …]
/external/virglrenderer/tests/
Dtestvirgl_encode.h113 int start_slot,
155 uint32_t start_slot,
161 uint32_t start_slot,
193 unsigned start_slot,
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h124 int start_slot,
166 uint32_t start_slot,
172 uint32_t start_slot,
204 unsigned start_slot,
Dvirgl_context.c332 unsigned start_slot, in virgl_set_viewport_states() argument
337 virgl_encoder_set_viewport_states(vctx, start_slot, num_viewports, state); in virgl_set_viewport_states()
370 unsigned start_slot, in virgl_set_vertex_buffers() argument
378 buffers, start_slot, num_buffers); in virgl_set_vertex_buffers()
686 unsigned start_slot, in virgl_set_sampler_views() argument
723 virgl_encode_set_sampler_views(vctx, shader_type, start_slot, num_views, tinfo->views); in virgl_set_sampler_views()
761 unsigned start_slot, in virgl_bind_sampler_states() argument
771 virgl_encode_bind_sampler_states(vctx, shader, start_slot, num_samplers, handles); in virgl_bind_sampler_states()
782 unsigned start_slot, in virgl_set_scissor_states() argument
787 virgl_encoder_set_scissor_state(vctx, start_slot, num_scissor, ss); in virgl_set_scissor_states()
Dvirgl_encode.c352 int start_slot, in virgl_encoder_set_viewport_states() argument
358 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_viewport_states()
596 uint32_t start_slot, in virgl_encode_set_sampler_views() argument
603 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_sampler_views()
613 uint32_t start_slot, in virgl_encode_bind_sampler_states() argument
620 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_bind_sampler_states()
676 unsigned start_slot, in virgl_encoder_set_scissor_state() argument
682 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_scissor_state()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c33 unsigned start_slot, in si_set_scissor_states() argument
41 ctx->scissors.states[start_slot + i] = state[i]; in si_set_scissor_states()
47 ctx->scissors.dirty_mask |= ((1 << num_scissors) - 1) << start_slot; in si_set_scissor_states()
264 unsigned start_slot, in si_set_viewport_states() argument
273 unsigned index = start_slot + i; in si_set_viewport_states()
280 mask = ((1 << num_viewports) - 1) << start_slot; in si_set_viewport_states()
/external/mesa3d/src/gallium/tools/trace/
Ddump_state.py395 def _update(self, array, start_slot, num_slots, states): argument
400 while len(array) < start_slot + num_slots:
403 array[start_slot + i] = states[i]
405 def set_scissor_states(self, start_slot, num_scissors, states): argument
406 self._update(self._state.scissors, start_slot, num_scissors, states)
408 def set_viewport_states(self, start_slot, num_viewports, states): argument
409 self._update(self._state.viewports, start_slot, num_viewports, states)
435 def set_vertex_buffers(self, start_slot, num_buffers, buffers): argument
436 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c855 unsigned start_slot, in nvc0_set_scissor_states() argument
862 assert(start_slot + num_scissors <= NVC0_MAX_VIEWPORTS); in nvc0_set_scissor_states()
864 if (!memcmp(&nvc0->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nvc0_set_scissor_states()
866 nvc0->scissors[start_slot + i] = scissor[i]; in nvc0_set_scissor_states()
867 nvc0->scissors_dirty |= 1 << (start_slot + i); in nvc0_set_scissor_states()
874 unsigned start_slot, in nvc0_set_viewport_states() argument
881 assert(start_slot + num_viewports <= NVC0_MAX_VIEWPORTS); in nvc0_set_viewport_states()
883 if (!memcmp(&nvc0->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nvc0_set_viewport_states()
885 nvc0->viewports[start_slot + i] = vpt[i]; in nvc0_set_viewport_states()
886 nvc0->viewports_dirty |= 1 << (start_slot + i); in nvc0_set_viewport_states()
[all …]
/external/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()
/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_context.c373 unsigned start_slot, in draw_set_viewport_states() argument
380 debug_assert(start_slot < PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
381 debug_assert((start_slot + num_viewports) <= PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
383 memcpy(draw->viewports + start_slot, vps, in draw_set_viewport_states()
400 unsigned start_slot, unsigned count, in draw_set_vertex_buffers() argument
403 assert(start_slot + count <= PIPE_MAX_ATTRIBS); in draw_set_vertex_buffers()
407 buffers, start_slot, count); in draw_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_state.c140 unsigned start_slot, in noop_set_scissor_states() argument
152 unsigned start_slot, in noop_set_viewport_states() argument
195 unsigned start_slot, unsigned count, in noop_set_vertex_buffers() argument
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.c340 etna_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, in etna_set_scissor_states() argument
361 etna_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, in etna_set_viewport_states() argument
406 etna_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, in etna_set_vertex_buffers() argument
412 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, num_buffers); in etna_set_vertex_buffers()
415 for (unsigned idx = start_slot; idx < start_slot + num_buffers; ++idx) { in etna_set_vertex_buffers()
Detnaviv_texture.c44 unsigned start_slot, unsigned num_samplers, in etna_bind_sampler_states() argument
267 unsigned start_slot, unsigned num_views, in etna_set_sampler_views() argument
271 assert(start_slot == 0); in etna_set_sampler_views()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.c273 unsigned start_slot, in fd_set_scissor_states() argument
285 unsigned start_slot, in fd_set_viewport_states() argument
296 unsigned start_slot, unsigned count, in fd_set_vertex_buffers() argument
320 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, count); in fd_set_vertex_buffers()

123