Home
last modified time | relevance | path

Searched refs:zsa (Results 1 – 25 of 38) sorted by relevance

12

/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_state.h37 return ctx->zsa && ctx->zsa->depth.enabled; in etna_depth_enabled()
43 return ctx->zsa && ctx->zsa->stencil[0].enabled; in etna_stencil_enabled()
Detnaviv_zsa.h43 etna_zsa_state(struct pipe_depth_stencil_alpha_state *zsa) in etna_zsa_state() argument
45 return (struct etna_zsa_state *)zsa; in etna_zsa_state()
Detnaviv_context.h141 struct pipe_depth_stencil_alpha_state *zsa; member
Detnaviv_emit.c542 uint32_t val = etna_zsa_state(ctx->zsa)->PE_DEPTH_CONFIG; in etna_emit_state()
559 uint32_t val = etna_zsa_state(ctx->zsa)->PE_STENCIL_OP; in etna_emit_state()
563 uint32_t val = etna_zsa_state(ctx->zsa)->PE_STENCIL_CONFIG; in etna_emit_state()
567 uint32_t val = etna_zsa_state(ctx->zsa)->PE_ALPHA_OP; in etna_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_state.h37 return ctx->zsa && ctx->zsa->depth.enabled; in fd_depth_enabled()
42 return ctx->zsa && ctx->zsa->stencil[0].enabled; in fd_stencil_enabled()
Dfreedreno_context.h230 struct pipe_depth_stencil_alpha_state *zsa; member
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_zsa.h46 fd5_zsa_stateobj(struct pipe_depth_stencil_alpha_state *zsa) in fd5_zsa_stateobj() argument
48 return (struct fd5_zsa_stateobj *)zsa; in fd5_zsa_stateobj()
Dfd5_emit.c430 struct fd5_zsa_stateobj *zsa = fd5_zsa_stateobj(ctx->zsa); in fd5_emit_state() local
432 uint32_t rb_alpha_control = zsa->rb_alpha_control; in fd5_emit_state()
441 OUT_RING(ring, zsa->rb_stencil_control); in fd5_emit_state()
445 struct fd5_zsa_stateobj *zsa = fd5_zsa_stateobj(ctx->zsa); in fd5_emit_state() local
449 OUT_RING(ring, zsa->rb_stencilrefmask | in fd5_emit_state()
454 struct fd5_zsa_stateobj *zsa = fd5_zsa_stateobj(ctx->zsa); in fd5_emit_state() local
458 OUT_RING(ring, zsa->rb_depth_cntl); in fd5_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_zsa.h48 fd2_zsa_stateobj(struct pipe_depth_stencil_alpha_state *zsa) in fd2_zsa_stateobj() argument
50 return (struct fd2_zsa_stateobj *)zsa; in fd2_zsa_stateobj()
Dfd2_emit.c186 struct fd2_zsa_stateobj *zsa = fd2_zsa_stateobj(ctx->zsa); in fd2_emit_state() local
207 OUT_RING(ring, zsa->rb_depthcontrol); in fd2_emit_state()
211 OUT_RING(ring, zsa->rb_stencilrefmask_bf | in fd2_emit_state()
213 OUT_RING(ring, zsa->rb_stencilrefmask | in fd2_emit_state()
215 OUT_RING(ring, zsa->rb_alpha_ref); in fd2_emit_state()
297 OUT_RING(ring, zsa->rb_colorcontrol | blend->rb_colorcontrol); in fd2_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_zsa.h49 fd3_zsa_stateobj(struct pipe_depth_stencil_alpha_state *zsa) in fd3_zsa_stateobj() argument
51 return (struct fd3_zsa_stateobj *)zsa; in fd3_zsa_stateobj()
Dfd3_emit.c506 uint32_t val = fd3_zsa_stateobj(ctx->zsa)->rb_render_control | in fd3_emit_state()
526 struct fd3_zsa_stateobj *zsa = fd3_zsa_stateobj(ctx->zsa); in fd3_emit_state() local
530 OUT_RING(ring, zsa->rb_alpha_ref); in fd3_emit_state()
533 OUT_RING(ring, zsa->rb_stencil_control); in fd3_emit_state()
536 OUT_RING(ring, zsa->rb_stencilrefmask | in fd3_emit_state()
538 OUT_RING(ring, zsa->rb_stencilrefmask_bf | in fd3_emit_state()
543 uint32_t val = fd3_zsa_stateobj(ctx->zsa)->rb_depth_control; in fd3_emit_state()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_zsa.h50 fd4_zsa_stateobj(struct pipe_depth_stencil_alpha_state *zsa) in fd4_zsa_stateobj() argument
52 return (struct fd4_zsa_stateobj *)zsa; in fd4_zsa_stateobj()
Dfd4_emit.c531 struct fd4_zsa_stateobj *zsa = fd4_zsa_stateobj(ctx->zsa); in fd4_emit_state() local
533 uint32_t rb_alpha_control = zsa->rb_alpha_control; in fd4_emit_state()
542 OUT_RING(ring, zsa->rb_stencil_control); in fd4_emit_state()
543 OUT_RING(ring, zsa->rb_stencil_control2); in fd4_emit_state()
547 struct fd4_zsa_stateobj *zsa = fd4_zsa_stateobj(ctx->zsa); in fd4_emit_state() local
551 OUT_RING(ring, zsa->rb_stencilrefmask | in fd4_emit_state()
553 OUT_RING(ring, zsa->rb_stencilrefmask_bf | in fd4_emit_state()
558 struct fd4_zsa_stateobj *zsa = fd4_zsa_stateobj(ctx->zsa); in fd4_emit_state() local
563 OUT_RING(ring, zsa->rb_depth_control | in fd4_emit_state()
572 OUT_RING(ring, zsa->gras_alpha_control | in fd4_emit_state()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_emit.c106 vc4->zsa->config_bits[0]) & rasosm_mask_out); in vc4_emit_state()
109 vc4->zsa->config_bits[1]); in vc4_emit_state()
112 vc4->zsa->config_bits[2]) & ez_enable_mask_out); in vc4_emit_state()
Dvc4_draw.c452 if (vc4->zsa && vc4->framebuffer.zsbuf) { in vc4_draw_vbo()
456 if (vc4->zsa->base.depth.enabled) { in vc4_draw_vbo()
461 if (vc4->zsa->base.stencil[0].enabled) { in vc4_draw_vbo()
Dvc4_uniforms.c332 vc4->zsa->stencil_uniforms[uinfo->data[i]] | in vc4_write_uniforms()
340 vc4->zsa->base.alpha.ref_value); in vc4_write_uniforms()
Dvc4_blit.c175 util_blitter_save_depth_stencil_alpha(vc4->blitter, vc4->zsa); in vc4_blitter_save()
Dvc4_context.h360 struct vc4_depth_stencil_alpha_state *zsa; member
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_state_validate.c460 PUSH_SPACE(push, nvc0->zsa->size); in nvc0_validate_zsa()
461 PUSH_DATAp(push, nvc0->zsa->state, nvc0->zsa->size); in nvc0_validate_zsa()
645 bool zs = nvc0->zsa && in nvc0_validate_fp_zsa_rast()
646 (nvc0->zsa->pipe.depth.enabled || nvc0->zsa->pipe.stencil[0].enabled); in nvc0_validate_fp_zsa_rast()
666 if (nvc0->zsa && nvc0->zsa->pipe.alpha.enabled && in nvc0_validate_zsa_fb()
833 if (!ctx_to->zsa) in nvc0_switch_pipe_context()
/external/mesa3d/src/gallium/drivers/nouveau/nv50/
Dnv50_state_validate.c341 if (nv50->zsa && nv50->zsa->pipe.alpha.enabled && in nv50_validate_derived_2()
397 PUSH_SPACE(push, nv50->zsa->size); in nv50_validate_zsa()
398 PUSH_DATAp(push, nv50->zsa->state, nv50->zsa->size); in nv50_validate_zsa()
482 if (!ctx_to->zsa) in nv50_switch_pipe_context()
Dnv50_shader_state.c177 if (nv50->zsa && nv50->zsa->pipe.alpha.enabled) { in nv50_fragprog_validate()
194 alphatest = nv50->zsa->pipe.alpha.func + 1; in nv50_fragprog_validate()
Dnv50_context.h130 struct nv50_zsa_stateobj *zsa; member
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_state_validate.c308 PUSH_SPACE(push, nv30->zsa->size); in nv30_validate_zsa()
309 PUSH_DATAp(push, nv30->zsa->data, nv30->zsa->size); in nv30_validate_zsa()
455 if (!nv30->zsa) in nv30_state_context_switch()
Dnv30_context.h67 struct nv30_zsa_stateobj *zsa; member

12