Home
last modified time | relevance | path

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

123

/third_party/mesa3d/src/mesa/state_tracker/
Dst_atom.c82 unsigned num_viewports = 1; in check_program_state() local
130 num_viewports = ctx->Const.MaxViewports; in check_program_state()
132 if (st->state.num_viewports != num_viewports) { in check_program_state()
133 st->state.num_viewports = num_viewports; in check_program_state()
136 if (ctx->Scissor.EnableFlags & u_bit_consecutive(0, num_viewports)) in check_program_state()
Dst_atom_viewport.c57 for (i = 0; i < st->state.num_viewports; i++) { in st_update_viewport()
78 if (st->state.num_viewports > 1) { in st_update_viewport()
81 pipe->set_viewport_states(pipe, 1, st->state.num_viewports - 1, in st_update_viewport()
Dst_atom_scissor.c60 for (i = 0 ; i < st->state.num_viewports; i++) { in st_update_scissor()
106 pipe->set_scissor_states(pipe, 0, st->state.num_viewports, scissor); in st_update_scissor()
Dst_context.h222 unsigned num_viewports; member
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_state_clip.c49 unsigned num_viewports, in softpipe_set_viewport_states() argument
55 draw_set_viewport_states(softpipe->draw, start_slot, num_viewports, in softpipe_set_viewport_states()
59 sizeof(struct pipe_viewport_state) * num_viewports); in softpipe_set_viewport_states()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_clip.c49 unsigned num_viewports, in llvmpipe_set_viewport_states() argument
55 draw_set_viewport_states(llvmpipe->draw, start_slot, num_viewports, in llvmpipe_set_viewport_states()
59 sizeof(struct pipe_viewport_state) * num_viewports); in llvmpipe_set_viewport_states()
Dlp_setup.h139 unsigned num_viewports,
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_misc.c205 unsigned num_viewports, 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/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_draw.cpp611 for (unsigned i = 0; i < ctx->num_viewports; ++i) { in d3d12_draw_vbo()
616 ctx->cmdlist->RSSetViewports(ctx->num_viewports, viewports); in d3d12_draw_vbo()
618 ctx->cmdlist->RSSetViewports(ctx->num_viewports, ctx->viewports); in d3d12_draw_vbo()
622 if (ctx->gfx_pipeline_state.rast->base.scissor && ctx->num_viewports > 0) in d3d12_draw_vbo()
623 ctx->cmdlist->RSSetScissorRects(ctx->num_viewports, ctx->scissors); in d3d12_draw_vbo()
Dd3d12_context.h172 unsigned num_viewports; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_pipeline.h60 unsigned num_viewports; member
Dzink_draw.cpp592 for (unsigned i = 0; i < ctx->vp_state.num_viewports; i++) { in zink_draw_vbo()
606 … VKCTX(CmdSetViewportWithCountEXT)(batch->state->cmdbuf, ctx->vp_state.num_viewports, viewports); in zink_draw_vbo()
608 VKCTX(CmdSetViewport)(batch->state->cmdbuf, 0, ctx->vp_state.num_viewports, viewports); in zink_draw_vbo()
613 for (unsigned i = 0; i < ctx->vp_state.num_viewports; i++) { in zink_draw_vbo()
620 for (unsigned i = 0; i < ctx->vp_state.num_viewports; i++) { in zink_draw_vbo()
628 … VKCTX(CmdSetScissorWithCountEXT)(batch->state->cmdbuf, ctx->vp_state.num_viewports, scissors); in zink_draw_vbo()
630 VKCTX(CmdSetScissor)(batch->state->cmdbuf, 0, ctx->vp_state.num_viewports, scissors); in zink_draw_vbo()
Dzink_pipeline.c135 …viewportCount = screen->info.have_EXT_extended_dynamic_state ? 0 : state->dyn_state1.num_viewports; in zink_create_gfx_pipeline()
137 ….scissorCount = screen->info.have_EXT_extended_dynamic_state ? 0 : state->dyn_state1.num_viewports; in zink_create_gfx_pipeline()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c283 unsigned num_viewports, in r600_set_viewport_states() argument
290 for (i = 0; i < num_viewports; 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/draw/
Ddraw_context.c387 unsigned num_viewports, in draw_set_viewport_states() argument
394 debug_assert((start_slot + num_viewports) <= PIPE_MAX_VIEWPORTS); in draw_set_viewport_states()
397 sizeof(struct pipe_viewport_state) * num_viewports); in draw_set_viewport_states()
399 draw->identity_viewport = (num_viewports == 1) && in draw_set_viewport_states()
Ddraw_context.h85 unsigned num_viewports,
/third_party/mesa3d/src/virtio/virtio-gpu/
Dvirgl_protocol.h265 #define VIRGL_SET_VIEWPORT_STATE_SIZE(num_viewports) ((6 * num_viewports) + 1) argument
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state.c416 unsigned num_viewports, in nv30_set_scissor_states() argument
428 unsigned num_viewports, in nv30_set_viewport_states() argument
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
Ddd_context.c389 unsigned start_slot, unsigned num_viewports, in dd_context_set_viewport_states() argument
396 sizeof(*states) * num_viewports); in dd_context_set_viewport_states()
397 pipe->set_viewport_states(pipe, start_slot, num_viewports, states); in dd_context_set_viewport_states()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_state_viewport.c406 unsigned num_viewports, const struct pipe_viewport_state *state) in si_set_viewport_states() argument
411 for (i = 0; i < num_viewports; i++) { in si_set_viewport_states()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_encode.h134 int num_viewports,
/third_party/mesa3d/src/gallium/tools/trace/
Ddump_state.py410 def set_viewport_states(self, start_slot, num_viewports, states): argument
411 self._update(self._state.viewports, start_slot, num_viewports, states)
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_state.c859 unsigned num_viewports, in i915_set_viewport_states() argument
867 draw_set_viewport_states(i915->draw, start_slot, num_viewports, in i915_set_viewport_states()
/third_party/mesa3d/src/gallium/auxiliary/driver_noop/
Dnoop_state.c168 unsigned num_viewports, in noop_set_viewport_states() argument
/third_party/mesa3d/src/gallium/include/pipe/
Dp_context.h484 unsigned num_viewports,

123