Home
last modified time | relevance | path

Searched refs:max_scissor (Results 1 – 14 of 14) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_emit.c325 ctx->batch->max_scissor.minx = in fd2_emit_state()
326 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd2_emit_state()
327 ctx->batch->max_scissor.miny = in fd2_emit_state()
328 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd2_emit_state()
329 ctx->batch->max_scissor.maxx = in fd2_emit_state()
330 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd2_emit_state()
331 ctx->batch->max_scissor.maxy = in fd2_emit_state()
332 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in fd2_emit_state()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_viewport.c116 unsigned max_scissor = GET_MAX_SCISSOR(rctx); in r600_clamp_scissor() local
117 out->minx = CLAMP(scissor->minx, 0, max_scissor); in r600_clamp_scissor()
118 out->miny = CLAMP(scissor->miny, 0, max_scissor); in r600_clamp_scissor()
119 out->maxx = CLAMP(scissor->maxx, 0, max_scissor); in r600_clamp_scissor()
120 out->maxy = CLAMP(scissor->maxy, 0, max_scissor); in r600_clamp_scissor()
/third_party/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_emit.c694 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, minx); in fd3_emit_state()
695 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, miny); in fd3_emit_state()
696 ctx->batch->max_scissor.maxx = MAX2(ctx->batch->max_scissor.maxx, maxx); in fd3_emit_state()
697 ctx->batch->max_scissor.maxy = MAX2(ctx->batch->max_scissor.maxy, maxy); in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_batch_cache.c467 batch->max_scissor.minx = ~0; in batch_from_key()
468 batch->max_scissor.miny = ~0; in batch_from_key()
469 batch->max_scissor.maxx = 0; in batch_from_key()
470 batch->max_scissor.maxy = 0; in batch_from_key()
Dfreedreno_draw.c394 batch->max_scissor.minx = 0; in batch_clear_tracking()
395 batch->max_scissor.miny = 0; in batch_clear_tracking()
396 batch->max_scissor.maxx = pfb->width; in batch_clear_tracking()
397 batch->max_scissor.maxy = pfb->height; in batch_clear_tracking()
Dfreedreno_batch.h165 struct pipe_scissor_state max_scissor; member
Dfreedreno_gmem.c511 struct pipe_scissor_state *scissor = &batch->max_scissor; in gmem_key_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c632 ctx->batch->max_scissor.minx = in fd5_emit_state()
633 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd5_emit_state()
634 ctx->batch->max_scissor.miny = in fd5_emit_state()
635 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd5_emit_state()
636 ctx->batch->max_scissor.maxx = in fd5_emit_state()
637 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd5_emit_state()
638 ctx->batch->max_scissor.maxy = in fd5_emit_state()
639 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in fd5_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c792 ctx->batch->max_scissor.minx = in fd4_emit_state()
793 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd4_emit_state()
794 ctx->batch->max_scissor.miny = in fd4_emit_state()
795 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd4_emit_state()
796 ctx->batch->max_scissor.maxx = in fd4_emit_state()
797 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd4_emit_state()
798 ctx->batch->max_scissor.maxy = in fd4_emit_state()
799 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in fd4_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.c743 ctx->batch->max_scissor.minx = in build_scissor()
744 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in build_scissor()
745 ctx->batch->max_scissor.miny = in build_scissor()
746 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in build_scissor()
747 ctx->batch->max_scissor.maxx = in build_scissor()
748 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in build_scissor()
749 ctx->batch->max_scissor.maxy = in build_scissor()
750 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in build_scissor()
Dfd6_gmem.c967 struct pipe_scissor_state blit_scissor = batch->max_scissor; in set_blit_scissor()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_cmd_buffer.h316 uint32_t max_viewport, max_scissor; member
Dtu_cmd_buffer.c2606 cmd->state.max_scissor = MAX2(cmd->state.max_scissor, firstScissor + scissorCount); in tu_CmdSetScissor()
2608 cs = tu_cmd_dynamic_state(cmd, VK_DYNAMIC_STATE_SCISSOR, 1 + 2 * cmd->state.max_scissor); in tu_CmdSetScissor()
2609 tu6_emit_scissor(&cs, cmd->state.scissor, cmd->state.max_scissor); in tu_CmdSetScissor()
/third_party/mesa3d/docs/relnotes/
D20.2.0.rst3999 - freedreno: initialize max_scissor