/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
D | etnaviv_zsa.c | 107 …const struct pipe_stencil_state *stencil_front = (so->stencil[1].enabled && so->stencil[1].valuema… in etna_zsa_state_create() local 110 VIVS_PE_STENCIL_OP_FUNC_FRONT(stencil_front->func) | in etna_zsa_state_create() 112 VIVS_PE_STENCIL_OP_FAIL_FRONT(translate_stencil_op(stencil_front->fail_op)) | in etna_zsa_state_create() 114 VIVS_PE_STENCIL_OP_DEPTH_FAIL_FRONT(translate_stencil_op(stencil_front->zfail_op)) | in etna_zsa_state_create() 116 VIVS_PE_STENCIL_OP_PASS_FRONT(translate_stencil_op(stencil_front->zpass_op)) | in etna_zsa_state_create() 120 VIVS_PE_STENCIL_CONFIG_MASK_FRONT(stencil_front->valuemask) | in etna_zsa_state_create() 121 VIVS_PE_STENCIL_CONFIG_WRITE_MASK_FRONT(stencil_front->writemask); in etna_zsa_state_create()
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_meta_clear.c | 155 cfg.stencil_front.compare_function = in panvk_meta_clear_zs_attachment_emit_rsd() 159 cfg.stencil_front.stencil_fail = MALI_STENCIL_OP_KEEP; in panvk_meta_clear_zs_attachment_emit_rsd() 160 cfg.stencil_front.depth_fail = MALI_STENCIL_OP_REPLACE; in panvk_meta_clear_zs_attachment_emit_rsd() 161 cfg.stencil_front.depth_pass = MALI_STENCIL_OP_REPLACE; in panvk_meta_clear_zs_attachment_emit_rsd() 162 cfg.stencil_front.reference_value = value.stencil; in panvk_meta_clear_zs_attachment_emit_rsd() 163 cfg.stencil_front.mask = 0xFF; in panvk_meta_clear_zs_attachment_emit_rsd() 164 cfg.stencil_back = cfg.stencil_front; in panvk_meta_clear_zs_attachment_emit_rsd()
|
D | panvk_vX_cs.c | 692 cfg.stencil_front.mask = state->zs.s_front.compare_mask; in panvk_per_arch() 702 cfg.stencil_front.reference_value = state->zs.s_front.ref; in panvk_per_arch() 771 cfg.stencil_front.mask = pipeline->zs.s_front.compare_mask; in panvk_per_arch() 781 cfg.stencil_front.reference_value = pipeline->zs.s_front.ref; in panvk_per_arch() 785 cfg.stencil_front.compare_function = pipeline->zs.s_front.compare_func; in panvk_per_arch() 786 cfg.stencil_front.stencil_fail = pipeline->zs.s_front.fail_op; in panvk_per_arch() 787 cfg.stencil_front.depth_fail = pipeline->zs.s_front.z_fail_op; in panvk_per_arch() 788 cfg.stencil_front.depth_pass = pipeline->zs.s_front.pass_op; in panvk_per_arch()
|
D | panvk_vX_meta_copy.c | 237 cfg.stencil_front.compare_function = MALI_FUNC_ALWAYS; in panvk_meta_copy_to_img_emit_rsd() 238 cfg.stencil_front.stencil_fail = MALI_STENCIL_OP_REPLACE; in panvk_meta_copy_to_img_emit_rsd() 239 cfg.stencil_front.depth_fail = MALI_STENCIL_OP_REPLACE; in panvk_meta_copy_to_img_emit_rsd() 240 cfg.stencil_front.depth_pass = MALI_STENCIL_OP_REPLACE; in panvk_meta_copy_to_img_emit_rsd() 241 cfg.stencil_front.mask = 0xFF; in panvk_meta_copy_to_img_emit_rsd() 242 cfg.stencil_back = cfg.stencil_front; in panvk_meta_copy_to_img_emit_rsd()
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
D | engine_dawn.cc | 130 ::dawn::StencilStateFaceDescriptor stencil_front; 1121 stencil_front.compare = ::dawn::CompareFunction::Always; in CreateRenderPipelineDescriptor() 1122 stencil_front.failOp = ::dawn::StencilOperation::Keep; in CreateRenderPipelineDescriptor() 1123 stencil_front.depthFailOp = ::dawn::StencilOperation::Keep; in CreateRenderPipelineDescriptor() 1124 stencil_front.passOp = ::dawn::StencilOperation::Keep; in CreateRenderPipelineDescriptor() 1127 depthStencilState.stencilBack = stencil_front; in CreateRenderPipelineDescriptor() 1128 depthStencilState.stencilFront = stencil_front; in CreateRenderPipelineDescriptor() 1134 stencil_front.compare = in CreateRenderPipelineDescriptor() 1136 stencil_front.failOp = GetDawnStencilOp(pipeline_data->GetFrontFailOp()); in CreateRenderPipelineDescriptor() 1137 stencil_front.depthFailOp = in CreateRenderPipelineDescriptor() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/ |
D | zink_draw.cpp | 653 dsa_state->hw_state.stencil_front.failOp, in zink_draw() 654 dsa_state->hw_state.stencil_front.passOp, in zink_draw() 655 dsa_state->hw_state.stencil_front.depthFailOp, in zink_draw() 656 dsa_state->hw_state.stencil_front.compareOp); in zink_draw() 663 …ask)(batch->state->cmdbuf, VK_STENCIL_FACE_FRONT_BIT, dsa_state->hw_state.stencil_front.writeMask); in zink_draw() 665 …k)(batch->state->cmdbuf, VK_STENCIL_FACE_FRONT_BIT, dsa_state->hw_state.stencil_front.compareMask); in zink_draw() 668 …batch->state->cmdbuf, VK_STENCIL_FACE_FRONT_AND_BACK, dsa_state->hw_state.stencil_front.writeMask); in zink_draw() 669 …tch->state->cmdbuf, VK_STENCIL_FACE_FRONT_AND_BACK, dsa_state->hw_state.stencil_front.compareMask); in zink_draw() 672 …batch->state->cmdbuf, VK_STENCIL_FACE_FRONT_AND_BACK, dsa_state->hw_state.stencil_front.writeMask); in zink_draw() 673 …tch->state->cmdbuf, VK_STENCIL_FACE_FRONT_AND_BACK, dsa_state->hw_state.stencil_front.compareMask); in zink_draw()
|
D | zink_state.h | 114 VkStencilOpState stencil_front; member
|
D | zink_state.c | 506 cso->hw_state.stencil_front = stencil_op_state(depth_stencil_alpha->stencil); in zink_create_depth_stencil_alpha_state() 512 cso->hw_state.stencil_back = cso->hw_state.stencil_front; in zink_create_depth_stencil_alpha_state()
|
D | zink_pipeline.c | 215 depth_stencil_state.front = state->dyn_state1.depth_stencil_alpha_state->stencil_front; in zink_create_gfx_pipeline()
|
/third_party/mesa3d/src/imagination/vulkan/ |
D | pvr_pipeline.c | 1730 gfx_pipeline->stencil_front.compare_op = front->compareOp; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1731 gfx_pipeline->stencil_front.fail_op = front->failOp; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1732 gfx_pipeline->stencil_front.depth_fail_op = front->depthFailOp; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1733 gfx_pipeline->stencil_front.pass_op = front->passOp; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1740 gfx_pipeline->stencil_front.compare_op = VK_COMPARE_OP_ALWAYS; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1741 gfx_pipeline->stencil_front.fail_op = VK_STENCIL_OP_KEEP; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1742 gfx_pipeline->stencil_front.depth_fail_op = VK_STENCIL_OP_KEEP; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1743 gfx_pipeline->stencil_front.pass_op = VK_STENCIL_OP_KEEP; in pvr_graphics_pipeline_init_depth_and_stencil_state() 1745 gfx_pipeline->stencil_back = gfx_pipeline->stencil_front; in pvr_graphics_pipeline_init_depth_and_stencil_state()
|
D | pvr_cmd_buffer.c | 3433 ispb.sop3 = pvr_ta_stencilop(gfx_pipeline->stencil_front.pass_op); in pvr_setup_isp_faces_and_control() 3435 pvr_ta_stencilop(gfx_pipeline->stencil_front.depth_fail_op); in pvr_setup_isp_faces_and_control() 3436 ispb.sop1 = pvr_ta_stencilop(gfx_pipeline->stencil_front.fail_op); in pvr_setup_isp_faces_and_control() 3438 ispb.scmpmode = pvr_ta_cmpmode(gfx_pipeline->stencil_front.compare_op); in pvr_setup_isp_faces_and_control() 4445 (gfx_pipeline->stencil_front.compare_op != VK_COMPARE_OP_ALWAYS || in pvr_validate_draw_state() 4468 (gfx_pipeline->stencil_front.fail_op == VK_STENCIL_OP_KEEP) && in pvr_validate_draw_state() 4469 (gfx_pipeline->stencil_front.pass_op == VK_STENCIL_OP_KEEP); in pvr_validate_draw_state()
|
D | pvr_private.h | 1147 } stencil_front, stencil_back; member
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
D | lima_blit.c | 66 .stencil_front = 0x00000007, in lima_pack_blit_cmd() 94 reload_render_state.stencil_front = 0x0000024f; in lima_pack_blit_cmd()
|
D | lima_gpu.h | 90 uint32_t stencil_front; member
|
D | lima_draw.c | 646 render->stencil_front = stencil[0].func | in lima_pack_render_state() 652 render->stencil_back = render->stencil_front; in lima_pack_render_state() 671 render->stencil_front = 0xff000007; in lima_pack_render_state()
|
/third_party/mesa3d/src/panfrost/lib/ |
D | pan_blitter.c | 254 cfg.stencil_front.compare_function = MALI_FUNC_ALWAYS; in pan_blitter_emit_rsd() 255 cfg.stencil_front.stencil_fail = MALI_STENCIL_OP_REPLACE; in pan_blitter_emit_rsd() 256 cfg.stencil_front.depth_fail = MALI_STENCIL_OP_REPLACE; in pan_blitter_emit_rsd() 257 cfg.stencil_front.depth_pass = MALI_STENCIL_OP_REPLACE; in pan_blitter_emit_rsd() 258 cfg.stencil_front.mask = 0xFF; in pan_blitter_emit_rsd() 259 cfg.stencil_back = cfg.stencil_front; in pan_blitter_emit_rsd()
|
/third_party/mesa3d/src/gallium/drivers/v3d/ |
D | v3d_context.h | 636 uint8_t stencil_front[6]; member
|
D | v3dx_state.c | 221 STATIC_ASSERT(sizeof(so->stencil_front) >= in v3d_create_depth_stencil_alpha_state() 223 v3dx_pack(&so->stencil_front, STENCIL_CFG, config) { in v3d_create_depth_stencil_alpha_state()
|
D | v3dx_emit.c | 678 v3d->zsa->stencil_front, config) { in v3dX()
|
/third_party/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_cmdstream.c | 80 struct mali_stencil_packed stencil_front, stencil_back; member 635 cfg.stencil_front.reference_value = ctx->stencil_ref.ref_value[0]; in panfrost_prepare_fs_state() 687 rsd.opaque[10] |= zsa->stencil_front.opaque[0]; in panfrost_emit_frag_shader() 4363 pan_pipe_to_stencil(&front, &so->stencil_front); in panfrost_create_depth_stencil_state()
|