summaryrefslogtreecommitdiff
path: root/tools/gfx/command-writer.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/command-writer.h')
-rw-r--r--tools/gfx/command-writer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/gfx/command-writer.h b/tools/gfx/command-writer.h
index 76a72edc3..e93244ed1 100644
--- a/tools/gfx/command-writer.h
+++ b/tools/gfx/command-writer.h
@@ -127,12 +127,10 @@ public:
m_commands.add(Command(CommandName::SetPipelineState, offset));
}
- void bindRootShaderObject(PipelineType pipelineType, IShaderObject* object)
+ void bindRootShaderObject(IShaderObject* object)
{
auto rootOffset = encodeObject(object);
- m_commands.add(Command(
- CommandName::BindRootShaderObject,
- (uint32_t)pipelineType, rootOffset));
+ m_commands.add(Command(CommandName::BindRootShaderObject, rootOffset));
}
void uploadBufferData(IBufferResource* buffer, size_t offset, size_t size, void* data)