diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c index 29c6f663fc7..8b9bd3e17a8 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.c +++ b/src/gallium/drivers/radeonsi/si_pipe.c @@ -97,6 +97,8 @@ static const struct debug_named_value radeonsi_shader_debug_options[] = { {"tcs", DBG(TCS), "Print tessellation control shaders"}, {"tes", DBG(TES), "Print tessellation evaluation shaders"}, {"cs", DBG(CS), "Print compute shaders"}, + {"ts", DBG(TS), "Print task shaders"}, + {"ms", DBG(MS), "Print mesh shaders"}, {"initnir", DBG(INIT_NIR), "Print initial input NIR when shaders are created"}, {"nir", DBG(NIR), "Print final NIR after lowering when shader variants are created"}, diff --git a/src/gallium/drivers/radeonsi/si_pipe.h b/src/gallium/drivers/radeonsi/si_pipe.h index fd07d7f21b6..9f6f3621e1f 100644 --- a/src/gallium/drivers/radeonsi/si_pipe.h +++ b/src/gallium/drivers/radeonsi/si_pipe.h @@ -232,6 +232,8 @@ enum DBG_GS = MESA_SHADER_GEOMETRY, DBG_PS = MESA_SHADER_FRAGMENT, DBG_CS = MESA_SHADER_COMPUTE, + DBG_TS = MESA_SHADER_TASK, + DBG_MS = MESA_SHADER_MESH, DBG_INIT_NIR, DBG_NIR, DBG_INIT_LLVM, @@ -285,7 +287,7 @@ enum DBG_TEST_BLIT_PERF, }; -#define DBG_ALL_SHADERS (((1 << (DBG_CS + 1)) - 1)) +#define DBG_ALL_SHADERS (((1 << (DBG_MS + 1)) - 1)) #define DBG(name) (1ull << DBG_##name) #define SI_BIND_CONSTANT_BUFFER_SHIFT 0 diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index af358321038..e10d9a1b6a9 100644 --- a/src/gallium/drivers/radeonsi/si_shader.c +++ b/src/gallium/drivers/radeonsi/si_shader.c @@ -750,7 +750,7 @@ bool si_can_dump_shader(struct si_screen *sscreen, mesa_shader_stage stage, [SI_DUMP_ACO_IR] = DBG(ACO), [SI_DUMP_ASM] = DBG(ASM), [SI_DUMP_STATS] = DBG(STATS), - [SI_DUMP_ALWAYS] = DBG(VS) | DBG(TCS) | DBG(TES) | DBG(GS) | DBG(PS) | DBG(CS), + [SI_DUMP_ALWAYS] = DBG(VS) | DBG(TCS) | DBG(TES) | DBG(GS) | DBG(PS) | DBG(CS) | DBG(TS) | DBG(MS), }; assert(dump_type < ARRAY_SIZE(filter));