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.c703 ctx->batch->max_scissor.minx = MIN2(ctx->batch->max_scissor.minx, minx); in fd3_emit_state()
704 ctx->batch->max_scissor.miny = MIN2(ctx->batch->max_scissor.miny, miny); in fd3_emit_state()
705 ctx->batch->max_scissor.maxx = MAX2(ctx->batch->max_scissor.maxx, maxx); in fd3_emit_state()
706 ctx->batch->max_scissor.maxy = MAX2(ctx->batch->max_scissor.maxy, maxy); in fd3_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_emit.c652 ctx->batch->max_scissor.minx = in fd4_emit_state()
653 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd4_emit_state()
654 ctx->batch->max_scissor.miny = in fd4_emit_state()
655 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd4_emit_state()
656 ctx->batch->max_scissor.maxx = in fd4_emit_state()
657 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd4_emit_state()
658 ctx->batch->max_scissor.maxy = in fd4_emit_state()
659 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in fd4_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.c498 struct pipe_scissor_state *scissor = &batch->max_scissor; in gmem_key_init()
/third_party/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_emit.c640 ctx->batch->max_scissor.minx = in fd5_emit_state()
641 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in fd5_emit_state()
642 ctx->batch->max_scissor.miny = in fd5_emit_state()
643 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in fd5_emit_state()
644 ctx->batch->max_scissor.maxx = in fd5_emit_state()
645 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in fd5_emit_state()
646 ctx->batch->max_scissor.maxy = in fd5_emit_state()
647 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in fd5_emit_state()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_emit.c731 ctx->batch->max_scissor.minx = in build_scissor()
732 MIN2(ctx->batch->max_scissor.minx, scissor->minx); in build_scissor()
733 ctx->batch->max_scissor.miny = in build_scissor()
734 MIN2(ctx->batch->max_scissor.miny, scissor->miny); in build_scissor()
735 ctx->batch->max_scissor.maxx = in build_scissor()
736 MAX2(ctx->batch->max_scissor.maxx, scissor->maxx); in build_scissor()
737 ctx->batch->max_scissor.maxy = in build_scissor()
738 MAX2(ctx->batch->max_scissor.maxy, scissor->maxy); in build_scissor()
Dfd6_gmem.c951 struct pipe_scissor_state blit_scissor = batch->max_scissor; in set_blit_scissor()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_private.h971 uint32_t max_viewport, max_scissor; member
Dtu_cmd_buffer.c2298 cmd->state.max_scissor = MAX2(cmd->state.max_scissor, firstScissor + scissorCount); in tu_CmdSetScissor()
2300 cs = tu_cmd_dynamic_state(cmd, VK_DYNAMIC_STATE_SCISSOR, 1 + 2 * cmd->state.max_scissor); in tu_CmdSetScissor()
2301 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