Home
last modified time | relevance | path

Searched refs:writes_stencil (Results 1 – 25 of 28) sorted by relevance

12

/third_party/mesa3d/src/amd/common/
Dac_shader_util.c34 unsigned ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil, bool writes_samplemask, in ac_get_spi_shader_z_format() argument
38 assert(!writes_mrt0_alpha || writes_z || writes_stencil || writes_samplemask); in ac_get_spi_shader_z_format()
44 else if (writes_stencil) in ac_get_spi_shader_z_format()
48 } else if (writes_stencil || writes_samplemask) { in ac_get_spi_shader_z_format()
Dac_shader_util.h93 unsigned ac_get_spi_shader_z_format(bool writes_z, bool writes_stencil, bool writes_samplemask,
/third_party/mesa3d/src/panfrost/lib/
Dpan_shader.c249 info->fs.writes_stencil = true; in GENX()
271 !info->fs.writes_stencil && in GENX()
277 !info->fs.writes_stencil && in GENX()
Dpan_earlyzs.c57 bool shader_writes_zs = (s->fs.writes_depth || s->fs.writes_stencil); in analyze()
Dpan_shader.h235 shader_info->fs.writes_stencil; in pan_shader_prepare_rsd()
/third_party/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_pipe.c51 !sp->fs_variant->info.writes_stencil) || in sp_build_quad_pipeline()
Dsp_quad_depth_test.c853 boolean shader_stencil_ref = fsInfo->writes_stencil; in depth_test_quads_fallback()
/third_party/mesa3d/src/amd/compiler/
Daco_shader_info.h136 bool writes_stencil; member
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
Dtgsi_scan.h98 boolean writes_stencil; /**< does fragment shader write stencil value? */ member
Dtgsi_scan.c777 info->writes_stencil = true; in scan_declaration()
/third_party/mesa3d/src/panfrost/lib/tests/
Dtest-earlyzs.cpp54 .writes_stencil = !!(flags & WRITES_S), in test()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader.h430 bool writes_stencil; /**< does fragment shader write stencil value? */ member
651 unsigned writes_stencil : 1; member
Dsi_shader_llvm_ps.c844 key->ps_epilog.writes_z + key->ps_epilog.writes_stencil + key->ps_epilog.writes_samplemask; in si_llvm_build_ps_epilog()
883 key->ps_epilog.writes_stencil || in si_llvm_build_ps_epilog()
892 if (key->ps_epilog.writes_stencil) in si_llvm_build_ps_epilog()
Dsi_state_shaders.cpp1864 S_02880C_STENCIL_TEST_VAL_EXPORT_ENABLE(info->writes_stencil) | in si_shader_ps()
1969 bool has_mrtz = info->writes_z || info->writes_stencil || info->writes_samplemask; in si_shader_ps()
2000 ac_get_spi_shader_z_format(info->writes_z, info->writes_stencil, info->writes_samplemask, in si_shader_ps()
2181 ps->info.writes_stencil || in si_update_ps_inputs_read_or_disabled()
2351 (ps->info.writes_z || ps->info.writes_stencil || ps->info.writes_samplemask); in si_ps_key_update_blend_rasterizer()
Dsi_shader_info.c653 info->writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL); in si_nir_scan_shader()
Dsi_shader.c740 shader->selector->info.writes_z + shader->selector->info.writes_stencil + in si_init_shader_args()
2312 key->ps_epilog.writes_stencil = info->writes_stencil; in si_get_ps_epilog_key()
/third_party/mesa3d/src/amd/vulkan/
Dradv_aco_shader_info.h96 ASSIGN_FIELD(ps.writes_stencil); in radv_aco_convert_shader_info()
Dradv_shader.h311 bool writes_stencil; member
Dradv_shader_info.c638 info->ps.writes_stencil = nir->info.outputs_written & BITFIELD64_BIT(FRAG_RESULT_STENCIL); in radv_nir_shader_info_pass()
Dradv_nir_to_llvm.c1108 if (ctx->shader_info->ps.writes_stencil) { in handle_fs_outputs_post()
1119 !ctx->shader_info->ps.writes_stencil && in handle_fs_outputs_post()
/third_party/mesa3d/src/panfrost/util/
Dpan_ir.h289 bool writes_stencil; member
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi_info.c720 info->writes_stencil = true; in nir_tgsi_scan_shader()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_state_fs.c684 else if (!shader->info.base.writes_z && !shader->info.base.writes_stencil && in generate_fs_loop()
768 if (shader->info.base.writes_stencil) { in generate_fs_loop()
1143 if (shader->info.base.writes_stencil) { in generate_fs_loop()
1267 if (shader->info.base.writes_stencil) { in generate_fs_loop()
/third_party/mesa3d/src/panfrost/vulkan/
Dpanvk_vX_pipeline.c718 return (info->fs.writes_depth || info->fs.writes_stencil); in panvk_fs_required()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_cmdstream.c281 return (fs->info.fs.writes_depth || fs->info.fs.writes_stencil); in panfrost_fs_required()
823 cfg.stencil_from_shader = fs->info.fs.writes_stencil; in panfrost_emit_depth_stencil()

12