|
@@ -9,7 +9,6 @@
|
|
|
#include <anki/gr/Pipeline.h>
|
|
#include <anki/gr/Pipeline.h>
|
|
|
#include <anki/gr/vulkan/CommandBufferImpl.h>
|
|
#include <anki/gr/vulkan/CommandBufferImpl.h>
|
|
|
#include <anki/gr/CommandBuffer.h>
|
|
#include <anki/gr/CommandBuffer.h>
|
|
|
-#include <anki/gr/vulkan/TextureMisc.h>
|
|
|
|
|
|
|
|
|
|
#include <anki/core/Config.h>
|
|
#include <anki/core/Config.h>
|
|
|
#include <glslang/Public/ShaderLang.h>
|
|
#include <glslang/Public/ShaderLang.h>
|
|
@@ -48,11 +47,6 @@ GrManagerImpl::~GrManagerImpl()
|
|
|
m_perThread.destroy(getAllocator());
|
|
m_perThread.destroy(getAllocator());
|
|
|
|
|
|
|
|
// THIRD THING: Continue with the rest
|
|
// THIRD THING: Continue with the rest
|
|
|
- if(m_texUploader)
|
|
|
|
|
- {
|
|
|
|
|
- getAllocator().deleteInstance(m_texUploader);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
m_rpCreator.destroy();
|
|
m_rpCreator.destroy();
|
|
|
|
|
|
|
|
if(m_globalPipelineLayout)
|
|
if(m_globalPipelineLayout)
|
|
@@ -127,9 +121,6 @@ Error GrManagerImpl::initInternal(const GrManagerInitInfo& init)
|
|
|
m_fences.init(getAllocator(), m_device);
|
|
m_fences.init(getAllocator(), m_device);
|
|
|
m_semaphores.init(getAllocator(), m_device);
|
|
m_semaphores.init(getAllocator(), m_device);
|
|
|
|
|
|
|
|
- m_texUploader = getAllocator().newInstance<TextureFallbackUploader>(this);
|
|
|
|
|
- ANKI_CHECK(m_texUploader->init());
|
|
|
|
|
-
|
|
|
|
|
m_queryAlloc.init(getAllocator(), m_device);
|
|
m_queryAlloc.init(getAllocator(), m_device);
|
|
|
|
|
|
|
|
// Set m_r8g8b8ImagesSupported
|
|
// Set m_r8g8b8ImagesSupported
|