aco: ensure to initialize exec manually for VS as LS on GFX9+
When VS and TCS are compiled separately with shader object on GFX9+. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24697>
This commit is contained in:

committed by
Marge Bot

parent
aba16211a8
commit
196b355db6
@@ -263,7 +263,8 @@ add_coupling_code(exec_ctx& ctx, Block* block, std::vector<aco_ptr<Instruction>>
|
||||
|
||||
/* exec seems to need to be manually initialized with combined shaders */
|
||||
if (ctx.program->stage.num_sw_stages() > 1 ||
|
||||
ctx.program->stage.hw == AC_HW_NEXT_GEN_GEOMETRY_SHADER) {
|
||||
ctx.program->stage.hw == AC_HW_NEXT_GEN_GEOMETRY_SHADER ||
|
||||
(ctx.program->stage.hw == AC_HW_HULL_SHADER && ctx.program->stage.sw == SWStage::VS)) {
|
||||
start_exec = Operand::c32_or_c64(-1u, bld.lm == s2);
|
||||
bld.copy(Definition(exec, bld.lm), start_exec);
|
||||
}
|
||||
|
Reference in New Issue
Block a user