adding aftermath debugging and fixing forward plus

This commit is contained in:
Dynamitos committed 2021-06-04 18:27:49 +02:00
1 parent e00b382d4a
commit 22adb08bfc
40 files changed
+4669 -112

No files matched your search

+19 -1
View File
@@ -405,9 +405,27 @@ DEFINE_REF(IndexBuffer)
class StructuredBuffer : public Buffer
{
public:
StructuredBuffer(QueueFamilyMapping mapping, QueueType startQueueType);
StructuredBuffer(QueueFamilyMapping mapping, const BulkResourceData& bulkResourceData);
virtual ~StructuredBuffer();
virtual bool updateContents(const BulkResourceData& resourceData);
bool isDataEquals(StructuredBuffer* other)
{
if(other == nullptr)
{
return false;
}
if(contents.size() != other->contents.size())
{
return false;
}
if(std::memcmp(contents.data(), other->contents.data(), contents.size()) != 0)
{
return false;
}
return true;
}
protected:
Array<uint8> contents;
// Inherited via QueueOwnedResource
virtual void executeOwnershipBarrier(QueueType newOwner) = 0;
virtual void executePipelineBarrier(SeAccessFlags srcAccess, SePipelineStageFlags srcStage,