Lines Matching refs:dsa
131 struct pipe_depth_stencil_alpha_state dsa; in util_blitter_create() local
180 memset(&dsa, 0, sizeof(dsa)); in util_blitter_create()
182 pipe->create_depth_stencil_alpha_state(pipe, &dsa); in util_blitter_create()
184 dsa.depth.enabled = 1; in util_blitter_create()
185 dsa.depth.writemask = 1; in util_blitter_create()
186 dsa.depth.func = PIPE_FUNC_ALWAYS; in util_blitter_create()
188 pipe->create_depth_stencil_alpha_state(pipe, &dsa); in util_blitter_create()
190 dsa.stencil[0].enabled = 1; in util_blitter_create()
191 dsa.stencil[0].func = PIPE_FUNC_ALWAYS; in util_blitter_create()
192 dsa.stencil[0].fail_op = PIPE_STENCIL_OP_REPLACE; in util_blitter_create()
193 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE; in util_blitter_create()
194 dsa.stencil[0].zfail_op = PIPE_STENCIL_OP_REPLACE; in util_blitter_create()
195 dsa.stencil[0].valuemask = 0xff; in util_blitter_create()
196 dsa.stencil[0].writemask = 0xff; in util_blitter_create()
198 pipe->create_depth_stencil_alpha_state(pipe, &dsa); in util_blitter_create()
200 dsa.depth.enabled = 0; in util_blitter_create()
201 dsa.depth.writemask = 0; in util_blitter_create()
203 pipe->create_depth_stencil_alpha_state(pipe, &dsa); in util_blitter_create()