From 4bfa7a602c53642d4ac22c368aea5c2e018dfbee Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 9 Mar 2026 11:29:07 -0700 Subject: [PATCH] brw: Don't emit HALT_TARGET for VS/TCS/TES/GS This isn't needed and will allow simplifications in the next patch. Reviewed-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/brw/brw_from_nir.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw/brw_from_nir.cpp b/src/intel/compiler/brw/brw_from_nir.cpp index 53197daae2e..37e75ccd4e6 100644 --- a/src/intel/compiler/brw/brw_from_nir.cpp +++ b/src/intel/compiler/brw/brw_from_nir.cpp @@ -6889,7 +6889,8 @@ brw_from_nir(brw_shader *s) brw_from_nir_emit_impl(ntb, nir_shader_get_entrypoint((nir_shader *)ntb.nir)); - ntb.bld.emit(SHADER_OPCODE_HALT_TARGET); + if (s->stage >= MESA_SHADER_FRAGMENT) + ntb.bld.emit(SHADER_OPCODE_HALT_TARGET); ralloc_free(ntb.mem_ctx);