diff --git a/renderdoc/driver/shaders/dxil/dxil_disassemble.cpp b/renderdoc/driver/shaders/dxil/dxil_disassemble.cpp index b435416cd..bff175b30 100644 --- a/renderdoc/driver/shaders/dxil/dxil_disassemble.cpp +++ b/renderdoc/driver/shaders/dxil/dxil_disassemble.cpp @@ -3105,8 +3105,10 @@ void Program::MakeRDDisassemblyString(const DXBC::Reflection *reflection) DisassemblyAddNewLine(); } - // Show the compute shader thread group size - if(reflection && m_Type == DXBC::ShaderType::Compute) + // Show the compute shader,Amplification shader, mesh shader thread group size + if(reflection && + ((m_Type == DXBC::ShaderType::Compute) || (m_Type == DXBC::ShaderType::Amplification) || + (m_Type == DXBC::ShaderType::Mesh))) { m_Disassembly += StringFormat::Fmt( "[numthreads(%u, %u, %u)]", reflection->DispatchThreadsDimension[0],