• Home
  • Raw
  • Download

Lines Matching full:so

9  * Software is furnished to do so, subject to the following conditions:
39 const struct pipe_depth_stencil_alpha_state *so) in etna_zsa_state_create() argument
48 cs->base = *so; in etna_zsa_state_create()
50 cs->z_test_enabled = so->depth.enabled && so->depth.func != PIPE_FUNC_ALWAYS; in etna_zsa_state_create()
51 cs->z_write_enabled = so->depth.enabled && so->depth.writemask; in etna_zsa_state_create()
63 if(so->stencil[i].writemask == 0) in etna_zsa_state_create()
65so->stencil[i].fail_op = so->stencil[i].zfail_op = so->stencil[i].zpass_op = PIPE_STENCIL_OP_KEEP; in etna_zsa_state_create()
72 if (so->stencil[0].enabled) { in etna_zsa_state_create()
73 if (so->stencil[0].func != PIPE_FUNC_ALWAYS || in etna_zsa_state_create()
74 (so->stencil[1].enabled && so->stencil[1].func != PIPE_FUNC_ALWAYS)) in etna_zsa_state_create()
77 if (so->stencil[0].fail_op != PIPE_STENCIL_OP_KEEP || in etna_zsa_state_create()
78 so->stencil[0].zfail_op != PIPE_STENCIL_OP_KEEP || in etna_zsa_state_create()
79 so->stencil[0].zpass_op != PIPE_STENCIL_OP_KEEP) { in etna_zsa_state_create()
82 } else if (so->stencil[1].enabled) { in etna_zsa_state_create()
83 if (so->stencil[1].fail_op != PIPE_STENCIL_OP_KEEP || in etna_zsa_state_create()
84 so->stencil[1].zfail_op != PIPE_STENCIL_OP_KEEP || in etna_zsa_state_create()
85 so->stencil[1].zpass_op != PIPE_STENCIL_OP_KEEP) { in etna_zsa_state_create()
96 extra_reference = _mesa_float_to_half(SATURATE(so->alpha.ref_value)); in etna_zsa_state_create()
102 COND(so->alpha.enabled, VIVS_PE_ALPHA_OP_ALPHA_TEST) | in etna_zsa_state_create()
103 VIVS_PE_ALPHA_OP_ALPHA_FUNC(so->alpha.func) | in etna_zsa_state_create()
104 VIVS_PE_ALPHA_OP_ALPHA_REF(etna_cfloat_to_uint8(so->alpha.ref_value)); in etna_zsa_state_create()
107 …t pipe_stencil_state *stencil_front = (so->stencil[1].enabled && so->stencil[1].valuemask) ? &so->… in etna_zsa_state_create()
108 …t pipe_stencil_state *stencil_back = (so->stencil[1].enabled && so->stencil[1].valuemask) ? &so->s… in etna_zsa_state_create()
119 translate_stencil_mode(so->stencil[0].enabled, so->stencil[0].enabled) | in etna_zsa_state_create()