Home
last modified time | relevance | path

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

123

/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/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/auxiliary/util/
Du_helpers.c48 unsigned start_slot, unsigned count) in util_set_vertex_buffers_mask() argument
53 dst += start_slot; in util_set_vertex_buffers_mask()
55 *enabled_buffers &= ~u_bit_consecutive(start_slot, count); in util_set_vertex_buffers_mask()
71 *enabled_buffers |= bitmask << start_slot; in util_set_vertex_buffers_mask()
87 unsigned start_slot, unsigned count) in util_set_vertex_buffers_count() argument
97 util_set_vertex_buffers_mask(dst, &enabled_buffers, src, start_slot, in util_set_vertex_buffers_count()
112 unsigned start_slot, unsigned count) in util_set_shader_buffers_mask() argument
116 dst += start_slot; in util_set_shader_buffers_mask()
123 *enabled_buffers |= (1ull << (start_slot + i)); in util_set_shader_buffers_mask()
125 *enabled_buffers &= ~(1ull << (start_slot + i)); in util_set_shader_buffers_mask()
[all …]
Du_helpers.h43 unsigned start_slot, unsigned count);
48 unsigned start_slot, unsigned count);
53 unsigned start_slot, unsigned count);
/external/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()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h133 int start_slot,
175 uint32_t start_slot,
181 uint32_t start_slot,
213 unsigned start_slot,
273 unsigned start_slot, unsigned count,
277 unsigned start_slot, unsigned count,
280 unsigned start_slot, unsigned count,
Dvirgl_context.c507 unsigned start_slot, in virgl_set_viewport_states() argument
512 virgl_encoder_set_viewport_states(vctx, start_slot, num_viewports, state); in virgl_set_viewport_states()
570 unsigned start_slot, in virgl_set_vertex_buffers() argument
578 buffers, start_slot, num_buffers); in virgl_set_vertex_buffers()
987 unsigned start_slot, in virgl_set_sampler_views() argument
995 binding->view_enabled_mask &= ~u_bit_consecutive(start_slot, num_views); in virgl_set_sampler_views()
997 unsigned idx = start_slot + i; in virgl_set_sampler_views()
1010 start_slot, num_views, (struct virgl_sampler_view **)binding->views); in virgl_set_sampler_views()
1060 unsigned start_slot, in virgl_bind_sampler_states() argument
1070 virgl_encode_bind_sampler_states(vctx, shader, start_slot, num_samplers, handles); in virgl_bind_sampler_states()
[all …]
Dvirgl_encode.c644 int start_slot, in virgl_encoder_set_viewport_states() argument
650 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_viewport_states()
949 uint32_t start_slot, in virgl_encode_set_sampler_views() argument
956 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_sampler_views()
966 uint32_t start_slot, in virgl_encode_bind_sampler_states() argument
973 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_bind_sampler_states()
1029 unsigned start_slot, in virgl_encoder_set_scissor_state() argument
1035 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encoder_set_scissor_state()
1255 unsigned start_slot, unsigned count, in virgl_encode_set_shader_buffers() argument
1262 virgl_encoder_write_dword(ctx->cbuf, start_slot); in virgl_encode_set_shader_buffers()
[all …]
/external/mesa3d/src/gallium/include/pipe/
Dp_context.h289 unsigned start_slot, unsigned num_samplers,
413 unsigned start_slot,
423 unsigned start_slot,
429 unsigned start_slot, unsigned num_views,
460 unsigned start_slot, unsigned count,
477 unsigned start_slot, unsigned count,
495 unsigned start_slot, unsigned count,
499 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.c247 uint32_t num_viewports, start_slot; in vrend_decode_set_viewport_state() local
255 start_slot = get_buf_entry(buf, VIRGL_SET_VIEWPORT_START_SLOT); in vrend_decode_set_viewport_state()
258 start_slot > (PIPE_MAX_VIEWPORTS - num_viewports)) in vrend_decode_set_viewport_state()
268 vrend_set_viewport_states(ctx, start_slot, num_viewports, vps); in vrend_decode_set_viewport_state()
350 uint32_t start_slot; in vrend_decode_set_sampler_views() local
356 start_slot = get_buf_entry(buf, VIRGL_SET_SAMPLER_VIEWS_START_SLOT); in vrend_decode_set_sampler_views()
362 start_slot > (PIPE_MAX_SHADER_SAMPLER_VIEWS - num_samps)) in vrend_decode_set_sampler_views()
367 vrend_set_single_sampler_view(ctx, shader_type, i + start_slot, handle); in vrend_decode_set_sampler_views()
369 vrend_set_num_sampler_views(ctx, shader_type, start_slot, num_samps); in vrend_decode_set_sampler_views()
882 uint32_t start_slot; in vrend_decode_set_scissor_state() local
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_context.c212 unsigned start_slot, in zink_bind_sampler_states() argument
219 ctx->sampler_states[shader][start_slot + i] = sampler; in zink_bind_sampler_states()
220 ctx->samplers[shader][start_slot + i] = sampler ? *sampler : VK_NULL_HANDLE; in zink_bind_sampler_states()
222 ctx->num_samplers[shader] = start_slot + num_samplers; in zink_bind_sampler_states()
427 unsigned start_slot, in zink_set_vertex_buffers() argument
438 ctx->gfx_pipeline_state.bindings[start_slot + i].stride = vb->stride; in zink_set_vertex_buffers()
451 buffers, start_slot, num_buffers); in zink_set_vertex_buffers()
456 unsigned start_slot, in zink_set_viewport_states() argument
471 ctx->viewport_states[start_slot + i] = state[i]; in zink_set_viewport_states()
472 ctx->viewports[start_slot + i] = viewport; in zink_set_viewport_states()
[all …]
/external/virglrenderer/tests/
Dtestvirgl_encode.h113 int start_slot,
177 uint32_t start_slot,
183 uint32_t start_slot,
215 unsigned start_slot,
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state.c1016 unsigned start_slot, in nv50_set_scissor_states() argument
1023 assert(start_slot + num_scissors <= NV50_MAX_VIEWPORTS); in nv50_set_scissor_states()
1025 if (!memcmp(&nv50->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nv50_set_scissor_states()
1027 nv50->scissors[start_slot + i] = scissor[i]; in nv50_set_scissor_states()
1028 nv50->scissors_dirty |= 1 << (start_slot + i); in nv50_set_scissor_states()
1035 unsigned start_slot, in nv50_set_viewport_states() argument
1042 assert(start_slot + num_viewports <= NV50_MAX_VIEWPORTS); in nv50_set_viewport_states()
1044 if (!memcmp(&nv50->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nv50_set_viewport_states()
1046 nv50->viewports[start_slot + i] = vpt[i]; in nv50_set_viewport_states()
1047 nv50->viewports_dirty |= 1 << (start_slot + i); in nv50_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/tools/trace/
Ddump_state.py396 def _update(self, array, start_slot, num_slots, states): argument
401 while len(array) < start_slot + num_slots:
404 array[start_slot + i] = states[i]
406 def set_scissor_states(self, start_slot, num_scissors, states): argument
407 self._update(self._state.scissors, start_slot, num_scissors, states)
409 def set_viewport_states(self, start_slot, num_viewports, states): argument
410 self._update(self._state.viewports, start_slot, num_viewports, states)
436 def set_vertex_buffers(self, start_slot, num_buffers, buffers): argument
437 self._update(self._state.vertex_buffers, start_slot, num_buffers, buffers)
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state.c924 unsigned start_slot, in nvc0_set_scissor_states() argument
931 assert(start_slot + num_scissors <= NVC0_MAX_VIEWPORTS); in nvc0_set_scissor_states()
933 if (!memcmp(&nvc0->scissors[start_slot + i], &scissor[i], sizeof(*scissor))) in nvc0_set_scissor_states()
935 nvc0->scissors[start_slot + i] = scissor[i]; in nvc0_set_scissor_states()
936 nvc0->scissors_dirty |= 1 << (start_slot + i); in nvc0_set_scissor_states()
943 unsigned start_slot, in nvc0_set_viewport_states() argument
950 assert(start_slot + num_viewports <= NVC0_MAX_VIEWPORTS); in nvc0_set_viewport_states()
952 if (!memcmp(&nvc0->viewports[start_slot + i], &vpt[i], sizeof(*vpt))) in nvc0_set_viewport_states()
954 nvc0->viewports[start_slot + i] = vpt[i]; in nvc0_set_viewport_states()
955 nvc0->viewports_dirty |= 1 << (start_slot + i); in nvc0_set_viewport_states()
[all …]
/external/mesa3d/src/gallium/drivers/lima/
Dlima_state.c186 unsigned start_slot, unsigned count, in lima_set_vertex_buffers() argument
193 vb, start_slot, count); in lima_set_vertex_buffers()
201 unsigned start_slot, in lima_set_viewport_states() argument
227 unsigned start_slot, in lima_set_scissor_states() argument
/external/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_state.c140 unsigned start_slot, in noop_set_scissor_states() argument
152 unsigned start_slot, in noop_set_viewport_states() argument
201 unsigned start_slot, unsigned count, in noop_set_vertex_buffers() argument
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_texture.c45 unsigned start_slot, unsigned num_samplers, in etna_bind_sampler_states() argument
295 unsigned start_slot, unsigned num_views, in etna_set_sampler_views() argument
299 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
434 util_set_vertex_buffers_mask(so->vb, &so->enabled_mask, vb, start_slot, num_buffers); in etna_set_vertex_buffers()
437 for (unsigned idx = start_slot; idx < start_slot + num_buffers; ++idx) { in etna_set_vertex_buffers()
/external/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
416 assert(start_slot + count <= PIPE_MAX_ATTRIBS); in draw_set_vertex_buffers()
420 buffers, start_slot, count); in draw_set_vertex_buffers()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c125 static void si_set_scissor_states(struct pipe_context *pctx, unsigned start_slot, in si_set_scissor_states() argument
132 ctx->scissors[start_slot + i] = state[i]; in si_set_scissor_states()
394 static void si_set_viewport_states(struct pipe_context *pctx, unsigned start_slot, in si_set_viewport_states() argument
401 unsigned index = start_slot + i; in si_set_viewport_states()
462 if (start_slot == 0) { in si_set_viewport_states()

123