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