Home
last modified time | relevance | path

Searched refs:stencil_op (Results 1 – 25 of 61) sorted by relevance

123

/external/mesa3d/src/amd/vulkan/
Dradv_meta.c77 state->stencil_op.front.compare_op = cmd_buffer->state.dynamic.stencil_op.front.compare_op; in radv_meta_save()
78 state->stencil_op.front.fail_op = cmd_buffer->state.dynamic.stencil_op.front.fail_op; in radv_meta_save()
79 state->stencil_op.front.pass_op = cmd_buffer->state.dynamic.stencil_op.front.pass_op; in radv_meta_save()
80 state->stencil_op.front.depth_fail_op = cmd_buffer->state.dynamic.stencil_op.front.depth_fail_op; in radv_meta_save()
82 state->stencil_op.back.compare_op = cmd_buffer->state.dynamic.stencil_op.back.compare_op; in radv_meta_save()
83 state->stencil_op.back.fail_op = cmd_buffer->state.dynamic.stencil_op.back.fail_op; in radv_meta_save()
84 state->stencil_op.back.pass_op = cmd_buffer->state.dynamic.stencil_op.back.pass_op; in radv_meta_save()
85 state->stencil_op.back.depth_fail_op = cmd_buffer->state.dynamic.stencil_op.back.depth_fail_op; in radv_meta_save()
158 cmd_buffer->state.dynamic.stencil_op.front.compare_op = state->stencil_op.front.compare_op; in radv_meta_restore()
159 cmd_buffer->state.dynamic.stencil_op.front.fail_op = state->stencil_op.front.fail_op; in radv_meta_restore()
[all …]
Dradv_meta_resolve_fs.c602 VkStencilOp stencil_op = in create_depth_stencil_resolve_pipeline() local
612 .failOp = stencil_op, in create_depth_stencil_resolve_pipeline()
613 .passOp = stencil_op, in create_depth_stencil_resolve_pipeline()
614 .depthFailOp = stencil_op, in create_depth_stencil_resolve_pipeline()
618 .failOp = stencil_op, in create_depth_stencil_resolve_pipeline()
619 .passOp = stencil_op, in create_depth_stencil_resolve_pipeline()
620 .depthFailOp = stencil_op, in create_depth_stencil_resolve_pipeline()
Dradv_cmd_buffer.c292 if (memcmp(&dest->stencil_op, &src->stencil_op, in radv_bind_dynamic_state()
293 sizeof(src->stencil_op))) { in radv_bind_dynamic_state()
294 dest->stencil_op = src->stencil_op; in radv_bind_dynamic_state()
1528 db_depth_control |= S_028800_STENCILFUNC(d->stencil_op.front.compare_op); in radv_emit_depth_control()
1531 db_depth_control |= S_028800_STENCILFUNC_BF(d->stencil_op.back.compare_op); in radv_emit_depth_control()
1544 S_02842C_STENCILFAIL(si_translate_stencil_op(d->stencil_op.front.fail_op)) | in radv_emit_stencil_control()
1545 S_02842C_STENCILZPASS(si_translate_stencil_op(d->stencil_op.front.pass_op)) | in radv_emit_stencil_control()
1546 S_02842C_STENCILZFAIL(si_translate_stencil_op(d->stencil_op.front.depth_fail_op)) | in radv_emit_stencil_control()
1547 S_02842C_STENCILFAIL_BF(si_translate_stencil_op(d->stencil_op.back.fail_op)) | in radv_emit_stencil_control()
1548 S_02842C_STENCILZPASS_BF(si_translate_stencil_op(d->stencil_op.back.pass_op)) | in radv_emit_stencil_control()
[all …]
Dradv_meta.h87 } stencil_op; member
Dradv_pipeline.c1651 dynamic->stencil_op.front.compare_op = in radv_pipeline_init_dynamic_state()
1653 dynamic->stencil_op.front.fail_op = in radv_pipeline_init_dynamic_state()
1655 dynamic->stencil_op.front.pass_op = in radv_pipeline_init_dynamic_state()
1657 dynamic->stencil_op.front.depth_fail_op = in radv_pipeline_init_dynamic_state()
1660 dynamic->stencil_op.back.compare_op = in radv_pipeline_init_dynamic_state()
1662 dynamic->stencil_op.back.fail_op = in radv_pipeline_init_dynamic_state()
1664 dynamic->stencil_op.back.pass_op = in radv_pipeline_init_dynamic_state()
1666 dynamic->stencil_op.back.depth_fail_op = in radv_pipeline_init_dynamic_state()
Dradv_private.h1186 } stencil_op; member
/external/mesa3d/src/intel/vulkan/
Dgen8_cmd_buffer.c516 .StencilFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.fail_op], in genX()
517 .StencilPassDepthPassOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.pass_op], in genX()
518 .StencilPassDepthFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.depth_fail_op], in genX()
519 .StencilTestFunction = genX(vk_to_gen_compare_op)[d->stencil_op.front.compare_op], in genX()
520 .BackfaceStencilFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.fail_op], in genX()
521 .BackfaceStencilPassDepthPassOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.pass_op], in genX()
522 … .BackfaceStencilPassDepthFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.depth_fail_op], in genX()
523 .BackfaceStencilTestFunction = genX(vk_to_gen_compare_op)[d->stencil_op.back.compare_op], in genX()
585 .StencilFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.fail_op], in genX()
586 .StencilPassDepthPassOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.pass_op], in genX()
[all …]
Dgen7_cmd_buffer.c287 .StencilFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.fail_op], in genX()
288 .StencilPassDepthPassOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.pass_op], in genX()
289 .StencilPassDepthFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.front.depth_fail_op], in genX()
290 .StencilTestFunction = genX(vk_to_gen_compare_op)[d->stencil_op.front.compare_op], in genX()
291 .BackfaceStencilFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.fail_op], in genX()
292 .BackfaceStencilPassDepthPassOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.pass_op], in genX()
293 … .BackfaceStencilPassDepthFailOp = genX(vk_to_gen_stencil_op)[d->stencil_op.back.depth_fail_op], in genX()
294 .BackfaceStencilTestFunction = genX(vk_to_gen_compare_op)[d->stencil_op.back.compare_op], in genX()
Danv_cmd_buffer.c75 .stencil_op = {
178 ANV_CMP_COPY(stencil_op.front.fail_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
179 ANV_CMP_COPY(stencil_op.front.pass_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
180 ANV_CMP_COPY(stencil_op.front.depth_fail_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
181 ANV_CMP_COPY(stencil_op.front.compare_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
182 ANV_CMP_COPY(stencil_op.back.fail_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
183 ANV_CMP_COPY(stencil_op.back.pass_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
184 ANV_CMP_COPY(stencil_op.back.depth_fail_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
185 ANV_CMP_COPY(stencil_op.back.compare_op, ANV_CMD_DIRTY_DYNAMIC_STENCIL_OP); in anv_dynamic_state_copy()
780 cmd_buffer->state.gfx.dynamic.stencil_op.front.fail_op = failOp; in anv_CmdSetStencilOpEXT()
[all …]
Danv_pipeline.c2026 memcpy(&dynamic->stencil_op.front, &info->front, in copy_non_dynamic_state()
2027 sizeof(dynamic->stencil_op.front)); in copy_non_dynamic_state()
2028 memcpy(&dynamic->stencil_op.back, &info->back, in copy_non_dynamic_state()
2029 sizeof(dynamic->stencil_op.back)); in copy_non_dynamic_state()
Danv_private.h2759 } stencil_op; member
/external/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_translate.h91 translate_stencil_op(unsigned stencil_op) in translate_stencil_op() argument
93 switch (stencil_op) { in translate_stencil_op()
111 DBG("Unhandled stencil op: %i", stencil_op); in translate_stencil_op()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c72 enum stencil_op { enum
169 enum stencil_op op, in lp_build_stencil_op_single()
178 unsigned stencil_op; in lp_build_stencil_op_single() local
184 stencil_op = stencil->fail_op; in lp_build_stencil_op_single()
187 stencil_op = stencil->zfail_op; in lp_build_stencil_op_single()
190 stencil_op = stencil->zpass_op; in lp_build_stencil_op_single()
194 stencil_op = PIPE_STENCIL_OP_KEEP; in lp_build_stencil_op_single()
197 switch (stencil_op) { in lp_build_stencil_op_single()
243 enum stencil_op op, in lp_build_stencil_op()
/external/mesa3d/src/gallium/drivers/zink/
Dzink_state.c300 stencil_op(enum pipe_stencil_op op) in stencil_op() function
319 ret.failOp = stencil_op(src->fail_op); in stencil_op_state()
320 ret.passOp = stencil_op(src->zpass_op); in stencil_op_state()
321 ret.depthFailOp = stencil_op(src->zfail_op); in stencil_op_state()
/external/mesa3d/src/mesa/main/
Dstencil.c329 stencil_op(struct gl_context *ctx, GLenum fail, GLenum zfail, GLenum zpass) in stencil_op() function
380 stencil_op(ctx, fail, zfail, zpass); in _mesa_StencilOp_no_error()
407 stencil_op(ctx, fail, zfail, zpass); in _mesa_StencilOp()
/external/mesa3d/src/gallium/auxiliary/util/
Du_dump_defines.c309 DEFINE_UTIL_STR_CONTINUOUS(stencil_op)
/external/deqp/modules/gles2/functional/
Des2fNegativeFragmentApiTests.cpp103 ES2F_ADD_API_CASE(stencil_op, "Invalid glStencilOp() usage", in init()
/external/deqp/modules/gles31/functional/
Des31fNegativeFragmentApiTests.cpp102 void stencil_op (NegativeTestContext& ctx) in stencil_op() function
482 {stencil_op, "stencil_op", "Invalid glStencilOp() usage" }, in getNegativeFragmentApiTestFunctions()
/external/deqp/modules/gles3/functional/
Des3fNegativeFragmentApiTests.cpp103 ES3F_ADD_API_CASE(stencil_op, "Invalid glStencilOp() usage", in init()
/external/deqp/modules/gles2/performance/
Des2pStateChangeCallTests.cpp556 ADD_ARG_CASE3(stencil_op, "Test cost of glStencilOp() calls", in init()
Des2pRedundantStateChangeTests.cpp950 ADD_TESTCASE(stencil_op, "Change stencil op.", in init()
Des2pStateChangeTests.cpp1059 ADD_TESTCASE(stencil_op, "Change stencil op.", in init()
/external/deqp/modules/gles3/performance/
Des3pStateChangeCallTests.cpp618 ADD_ARG_CASE3(stencil_op, "Test cost of glStencilOp() calls", in init()
Des3pRedundantStateChangeTests.cpp1024 ADD_TESTCASE(stencil_op, "Change stencil op.", in init()
Des3pStateChangeTests.cpp1143 ADD_TESTCASE(stencil_op, "Change stencil op.", in init()

123