mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-21 19:41:10 +00:00
add as/ms disassembly thread group size display
This commit is contained in:
1 parent
e6d0d57f80
commit
33fa37a475
1 file changed
+4
-2
@@ -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],
|
||||
|
||||
Reference in new issue
Block a user