Searched defs:start_slot (Results 1 - 25 of 31) sorted by relevance

12

/external/mesa3d/src/gallium/auxiliary/util/
H A Du_helpers.c43 unsigned start_slot, unsigned count)
48 dst += start_slot;
61 *enabled_buffers &= ~(((1ull << count) - 1) << start_slot);
62 *enabled_buffers |= bitmask << start_slot;
71 *enabled_buffers &= ~(((1ull << count) - 1) << start_slot);
82 unsigned start_slot, unsigned count)
92 util_set_vertex_buffers_mask(dst, &enabled_buffers, src, start_slot,
40 util_set_vertex_buffers_mask(struct pipe_vertex_buffer *dst, uint32_t *enabled_buffers, const struct pipe_vertex_buffer *src, unsigned start_slot, unsigned count) argument
79 util_set_vertex_buffers_count(struct pipe_vertex_buffer *dst, unsigned *dst_count, const struct pipe_vertex_buffer *src, unsigned start_slot, unsigned count) argument
H A Du_vbuf.c810 unsigned start_slot, unsigned count,
822 uint32_t mask = ~(((1ull << count) - 1) << start_slot);
836 unsigned dst_index = start_slot + i;
843 pipe->set_vertex_buffers(pipe, start_slot, count, NULL);
848 unsigned dst_index = start_slot + i;
1134 unsigned start_slot, count; local
1136 start_slot = ffs(mgr->dirty_real_vb_mask) - 1;
1137 count = util_last_bit(mgr->dirty_real_vb_mask >> start_slot);
1139 pipe->set_vertex_buffers(pipe, start_slot, count,
1140 mgr->real_vertex_buffer + start_slot);
809 u_vbuf_set_vertex_buffers(struct u_vbuf *mgr, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *bufs) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_state_clip.c48 unsigned start_slot,
55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports,
58 memcpy(llvmpipe->viewports + start_slot, viewports,
66 unsigned start_slot,
74 debug_assert(start_slot < PIPE_MAX_VIEWPORTS);
75 debug_assert((start_slot + num_scissors) <= PIPE_MAX_VIEWPORTS);
77 memcpy(llvmpipe->scissors + start_slot, scissors,
47 llvmpipe_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewports) argument
65 llvmpipe_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissors) argument
H A Dlp_state_vertex.c79 unsigned start_slot, unsigned count,
88 buffers, start_slot, count);
92 draw_set_vertex_buffers(llvmpipe->draw, start_slot, count, buffers);
78 llvmpipe_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/softpipe/
H A Dsp_state_clip.c48 unsigned start_slot,
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports,
58 memcpy(softpipe->viewports + start_slot, viewports,
66 unsigned start_slot,
74 debug_assert(start_slot < PIPE_MAX_VIEWPORTS);
75 debug_assert((start_slot + num_scissors) <= PIPE_MAX_VIEWPORTS);
77 memcpy(softpipe->scissors + start_slot, scissors,
47 softpipe_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewports) argument
65 softpipe_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissors) argument
H A Dsp_state_vertex.c83 unsigned start_slot, unsigned count,
92 buffers, start_slot, count);
96 draw_set_vertex_buffers(softpipe->draw, start_slot, count, buffers);
82 softpipe_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_pipe_vertex.c44 unsigned start_slot, unsigned count,
51 buffers, start_slot, count);
43 svga_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
H A Dsvga_pipe_misc.c39 unsigned start_slot,
225 unsigned start_slot,
38 svga_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissors) argument
224 svga_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewports) argument
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_texture.c75 unsigned start_slot, unsigned num_samplers,
295 unsigned start_slot, unsigned num_views,
299 assert(start_slot == 0);
74 etna_bind_sampler_states(struct pipe_context *pctx, unsigned shader, unsigned start_slot, unsigned num_samplers, void **samplers) argument
294 etna_set_sampler_views(struct pipe_context *pctx, unsigned shader, unsigned start_slot, unsigned num_views, struct pipe_sampler_view **views) argument
H A Detnaviv_state.c345 etna_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, argument
366 etna_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, argument
411 etna_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, argument
417 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, num_buffers);
420 for (unsigned idx = start_slot; idx < start_slot + num_buffers; ++idx) {
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
H A Dnv30_texture.c191 enum pipe_shader_type shader, unsigned start_slot,
190 nv30_bind_sampler_states(struct pipe_context *pipe, enum pipe_shader_type shader, unsigned start_slot, unsigned num_samplers, void **samplers) argument
H A Dnv30_state.c403 unsigned start_slot,
415 unsigned start_slot,
427 unsigned start_slot, unsigned count,
435 vb, start_slot, count);
402 nv30_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_scissor_state *scissor) argument
414 nv30_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *vpt) argument
426 nv30_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument
/external/mesa3d/src/gallium/drivers/noop/
H A Dnoop_state.c137 unsigned start_slot,
149 unsigned start_slot,
197 unsigned start_slot, unsigned count,
136 noop_set_scissor_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *state) argument
148 noop_set_viewport_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *state) argument
196 noop_set_vertex_buffers(struct pipe_context *ctx, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/radeon/
H A Dr600_viewport.c31 unsigned start_slot,
39 rctx->scissors.states[start_slot + i] = state[i];
44 rctx->scissors.dirty_mask |= ((1 << num_scissors) - 1) << start_slot;
259 unsigned start_slot,
268 unsigned index = start_slot + i;
275 mask = ((1 << num_viewports) - 1) << start_slot;
30 r600_set_scissor_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *state) argument
258 r600_set_viewport_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *state) argument
/external/mesa3d/src/gallium/drivers/freedreno/
H A Dfreedreno_state.c176 unsigned start_slot,
188 unsigned start_slot,
199 unsigned start_slot, unsigned count,
223 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, count);
175 fd_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) argument
187 fd_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport) argument
198 fd_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument
/external/mesa3d/src/gallium/drivers/vc4/
H A Dvc4_state.c268 unsigned start_slot,
280 unsigned start_slot,
291 unsigned start_slot, unsigned count,
298 start_slot, count);
267 vc4_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) argument
279 vc4_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport) argument
290 vc4_set_vertex_buffers(struct pipe_context *pctx, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument
/external/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_context.c374 unsigned start_slot,
381 debug_assert(start_slot < PIPE_MAX_VIEWPORTS);
382 debug_assert((start_slot + num_viewports) <= PIPE_MAX_VIEWPORTS);
384 memcpy(draw->viewports + start_slot, vps,
401 unsigned start_slot, unsigned count,
404 assert(start_slot + count <= PIPE_MAX_ATTRIBS);
408 buffers, start_slot, count);
373 draw_set_viewport_states( struct draw_context *draw, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *vps ) argument
400 draw_set_vertex_buffers(struct draw_context *draw, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/ddebug/
H A Ddd_context.c387 unsigned start_slot, unsigned num_scissors,
393 safe_memcpy(&dctx->draw_state.scissors[start_slot], states,
395 pipe->set_scissor_states(pipe, start_slot, num_scissors, states);
400 unsigned start_slot, unsigned num_viewports,
406 safe_memcpy(&dctx->draw_state.viewports[start_slot], states,
408 pipe->set_viewport_states(pipe, start_slot, num_viewports, states);
386 dd_context_set_scissor_states(struct pipe_context *_pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *states) argument
399 dd_context_set_viewport_states(struct pipe_context *_pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *states) argument
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_state.c571 unsigned start_slot,
901 unsigned start_slot,
910 draw_set_viewport_states(i915->draw, start_slot, num_viewports,
1009 unsigned start_slot, unsigned count,
1017 buffers, start_slot, count);
1020 draw_set_vertex_buffers(draw, start_slot, count, buffers);
570 i915_set_scissor_states( struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor ) argument
900 i915_set_viewport_states( struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewport ) argument
1008 i915_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
H A Dnv50_state.c986 unsigned start_slot,
993 assert(start_slot + num_scissors <= NV50_MAX_VIEWPORTS);
995 if (!memcmp(&nv50->scissors[start_slot + i], &scissor[i], sizeof(*scissor)))
997 nv50->scissors[start_slot + i] = scissor[i];
998 nv50->scissors_dirty |= 1 << (start_slot + i);
1005 unsigned start_slot,
1012 assert(start_slot + num_viewports <= NV50_MAX_VIEWPORTS);
1014 if (!memcmp(&nv50->viewports[start_slot + i], &vpt[i], sizeof(*vpt)))
1016 nv50->viewports[start_slot + i] = vpt[i];
1017 nv50->viewports_dirty |= 1 << (start_slot
985 nv50_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) argument
1004 nv50_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *vpt) argument
1039 nv50_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument
[all...]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
H A Dnvc0_state.c847 unsigned start_slot,
854 assert(start_slot + num_scissors <= NVC0_MAX_VIEWPORTS);
856 if (!memcmp(&nvc0->scissors[start_slot + i], &scissor[i], sizeof(*scissor)))
858 nvc0->scissors[start_slot + i] = scissor[i];
859 nvc0->scissors_dirty |= 1 << (start_slot + i);
866 unsigned start_slot,
873 assert(start_slot + num_viewports <= NVC0_MAX_VIEWPORTS);
875 if (!memcmp(&nvc0->viewports[start_slot + i], &vpt[i], sizeof(*vpt)))
877 nvc0->viewports[start_slot + i] = vpt[i];
878 nvc0->viewports_dirty |= 1 << (start_slot
846 nvc0_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissor) argument
865 nvc0_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *vpt) argument
913 nvc0_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *vb) argument
[all...]
/external/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_context.c331 unsigned start_slot,
336 virgl_encoder_set_viewport_states(vctx, start_slot, num_viewports, state);
369 unsigned start_slot,
377 buffers, start_slot, num_buffers);
694 unsigned start_slot,
731 virgl_encode_set_sampler_views(vctx, shader_type, start_slot, num_views, tinfo->views);
769 unsigned start_slot,
779 virgl_encode_bind_sampler_states(vctx, shader, start_slot, num_samplers, handles);
790 unsigned start_slot,
795 virgl_encoder_set_scissor_state(vctx, start_slot, num_scisso
330 virgl_set_viewport_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *state) argument
368 virgl_set_vertex_buffers(struct pipe_context *ctx, unsigned start_slot, unsigned num_buffers, const struct pipe_vertex_buffer *buffers) argument
692 virgl_set_sampler_views(struct pipe_context *ctx, enum pipe_shader_type shader_type, unsigned start_slot, unsigned num_views, struct pipe_sampler_view **views) argument
767 virgl_bind_sampler_states(struct pipe_context *ctx, enum pipe_shader_type shader, unsigned start_slot, unsigned num_samplers, void **samplers) argument
789 virgl_set_scissor_states(struct pipe_context *ctx, unsigned start_slot, unsigned num_scissor, const struct pipe_scissor_state *ss) argument
[all...]
H A Dvirgl_encode.c352 int start_slot,
358 virgl_encoder_write_dword(ctx->cbuf, start_slot);
596 uint32_t start_slot,
603 virgl_encoder_write_dword(ctx->cbuf, start_slot);
613 uint32_t start_slot,
620 virgl_encoder_write_dword(ctx->cbuf, start_slot);
676 unsigned start_slot,
682 virgl_encoder_write_dword(ctx->cbuf, start_slot);
351 virgl_encoder_set_viewport_states(struct virgl_context *ctx, int start_slot, int num_viewports, const struct pipe_viewport_state *states) argument
594 virgl_encode_set_sampler_views(struct virgl_context *ctx, uint32_t shader_type, uint32_t start_slot, uint32_t num_views, struct virgl_sampler_view **views) argument
611 virgl_encode_bind_sampler_states(struct virgl_context *ctx, uint32_t shader_type, uint32_t start_slot, uint32_t num_handles, uint32_t *handles) argument
675 virgl_encoder_set_scissor_state(struct virgl_context *ctx, unsigned start_slot, int num_scissors, const struct pipe_scissor_state *ss) argument
/external/mesa3d/src/gallium/auxiliary/cso_cache/
H A Dcso_context.c1133 unsigned start_slot, unsigned count,
1139 u_vbuf_set_vertex_buffers(vbuf, start_slot, count, buffers);
1145 if (start_slot <= ctx->aux_vertex_buffer_index &&
1146 start_slot+count > ctx->aux_vertex_buffer_index) {
1149 buffers + (ctx->aux_vertex_buffer_index - start_slot);
1163 ctx->pipe->set_vertex_buffers(ctx->pipe, start_slot, count, buffers);
1132 cso_set_vertex_buffers(struct cso_context *ctx, unsigned start_slot, unsigned count, const struct pipe_vertex_buffer *buffers) argument
/external/mesa3d/src/gallium/drivers/ilo/
H A Dilo_state.c1740 unsigned start_slot,
1749 &vec->viewport.scissors[start_slot + i];
1770 unsigned start_slot,
1781 &vec->viewport.matrices[start_slot + i];
1788 if (vec->viewport.params.count < start_slot + num_viewports)
1789 vec->viewport.params.count = start_slot + num_viewports;
1792 if (!start_slot && num_viewports)
1796 if (vec->viewport.params.count <= start_slot + num_viewports &&
1797 vec->viewport.params.count > start_slot)
1798 vec->viewport.params.count = start_slot;
1739 ilo_set_scissor_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_scissors, const struct pipe_scissor_state *scissors) argument
1769 ilo_set_viewport_states(struct pipe_context *pipe, unsigned start_slot, unsigned num_viewports, const struct pipe_viewport_state *viewports) argument
1893 ilo_set_vertex_buffers(struct pipe_context *pipe, unsigned start_slot, unsigned num_buffers, const struct pipe_vertex_buffer *buffers) argument
[all...]

Completed in 409 milliseconds

12