Lines Matching defs:zsa
515 ctx->zsa = zs;
713 struct pipe_depth_stencil_alpha_state *zsa_state = ctx->zsa;
714 struct etna_zsa_state *zsa = etna_zsa_state(zsa_state);
734 if (zsa->z_write_enabled) {
737 !zsa->stencil_enabled &&
746 if (zsa->z_test_enabled) {
748 !zsa->stencil_modified &&
755 new_pe_depth = VIVS_PE_DEPTH_CONFIG_DEPTH_FUNC(zsa->z_test_enabled ?
758 COND(zsa->z_write_enabled, VIVS_PE_DEPTH_CONFIG_WRITE_ENABLE) |
760 COND(!late_z_write && !late_z_test && !zsa->stencil_enabled,
778 if (new_pe_depth != zsa->PE_DEPTH_CONFIG ||
779 new_ra_depth != zsa->RA_DEPTH_CONFIG)
782 zsa->PE_DEPTH_CONFIG = new_pe_depth;
783 zsa->RA_DEPTH_CONFIG = new_ra_depth;