Searched refs:SWStage (Results 1 – 5 of 5) sorted by relevance
444 if (!ctx->stage.has(SWStage::GSCopy) && ctx->options->dump_preoptir) { in init_context()824 SWStage sw_stage = SWStage::None; in setup_isel_context()827 case MESA_SHADER_VERTEX: sw_stage = sw_stage | SWStage::VS; break; in setup_isel_context()828 case MESA_SHADER_TESS_CTRL: sw_stage = sw_stage | SWStage::TCS; break; in setup_isel_context()829 case MESA_SHADER_TESS_EVAL: sw_stage = sw_stage | SWStage::TES; break; in setup_isel_context()831 sw_stage = sw_stage | (is_gs_copy_shader ? SWStage::GSCopy : SWStage::GS); in setup_isel_context()833 case MESA_SHADER_FRAGMENT: sw_stage = sw_stage | SWStage::FS; break; in setup_isel_context()834 case MESA_SHADER_COMPUTE: sw_stage = sw_stage | SWStage::CS; break; in setup_isel_context()841 if (sw_stage == SWStage::VS && args->shader_info->vs.as_es && !ngg) in setup_isel_context()843 else if (sw_stage == SWStage::VS && !args->shader_info->vs.as_ls && !ngg) in setup_isel_context()[all …]
1907 enum class SWStage : uint8_t { enum1923 constexpr SWStage1924 operator|(SWStage a, SWStage b)1926 return static_cast<SWStage>(static_cast<uint8_t>(a) | static_cast<uint8_t>(b));1954 explicit constexpr Stage(HWStage hw_, SWStage sw_) : sw(sw_), hw(hw_) {} in Stage()1957 constexpr bool has(SWStage stage) const in has()1969 SWStage sw = SWStage::None;1976 static constexpr Stage vertex_vs(HWStage::VS, SWStage::VS);1977 static constexpr Stage fragment_fs(HWStage::FS, SWStage::FS);1978 static constexpr Stage compute_cs(HWStage::CS, SWStage::CS);[all …]
476 if (program->stage.has(SWStage::VS) && program->info->vs.has_prolog) { in collect_preasm_stats()
773 if (program->stage.has(SWStage::VS) && program->info->vs.dynamic_inputs) { in insert_wait_states()
4746 (ctx->stage.has(SWStage::VS) || ctx->stage.has(SWStage::TES)) && in visit_store_output()8786 if (ctx->stage.hw == HWStage::NGG && !ctx->stage.has(SWStage::GS)) { in visit_intrinsic()10646 int offset = (ctx->stage.has(SWStage::TES) && !ctx->stage.has(SWStage::GS)) in export_vs_varying()10749 …const radv_vs_output_info* outinfo = (ctx->stage.has(SWStage::TES) && !ctx->stage.has(SWStage::GS)) in create_vs_exports()10757 if (ctx->stage.has(SWStage::TES)) in create_vs_exports()11265 if (ctx->stage.has(SWStage::VS) && ctx->program->info->vs.dynamic_inputs) { in add_startpgm()11494 (ctx->stage.has(SWStage::GS) || ctx->program->info->has_ngg_culling)) { in ngg_emit_sendmsg_gs_alloc_req()11557 bool ngg_gs = ctx.stage.hw == HWStage::NGG && ctx.stage.has(SWStage::GS); in select_program()11576 (program->stage.has(SWStage::VS) || program->stage.has(SWStage::TES))) { in select_program()