Brought metal in sync

This commit is contained in:
Jack Andersen
2015-12-02 12:25:30 -10:00
parent d0bdb40f0e
commit fc4234708f
2 changed files with 85 additions and 27 deletions

View File

@@ -20,9 +20,10 @@ struct MetalContext;
class MetalDataFactory : public IGraphicsDataFactory
{
friend struct MetalCommandQueue;
IGraphicsContext* m_parent;
IGraphicsData* m_deferredData = nullptr;
std::unordered_set<IGraphicsData*> m_committedData;
struct MetalData* m_deferredData = nullptr;
std::unordered_set<struct MetalData*> m_committedData;
struct MetalContext* m_ctx;
public:
MetalDataFactory(IGraphicsContext* parent, MetalContext* ctx);