new compute dispatch
This commit is contained in:
1 parent
925537dcb3
commit
7271fe8a0b
10 files changed
+55
-35
No files matched your search
@@ -36,6 +36,7 @@ class ComputeCommand {
|
||||
virtual void bindDescriptor(const Array<Gfx::PDescriptorSet>& sets) = 0;
|
||||
virtual void pushConstants(Gfx::SeShaderStageFlags stage, uint32 offset, uint32 size, const void* data) = 0;
|
||||
virtual void dispatch(uint32 threadX, uint32 threadY, uint32 threadZ) = 0;
|
||||
virtual void dispatch(UVector threadGroupSize) = 0;
|
||||
virtual void dispatchIndirect(Gfx::PShaderBuffer buffer, uint32 offset) = 0;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user