forked from Dynamitos/Seele
removing vulkan references from mac builds
This commit is contained in:
1 parent
9109baad18
commit
54106e6fef
16 files changed
+50
-52
No files matched your search
@@ -34,7 +34,7 @@ void DescriptorLayout::create() {
|
||||
MTL::ArgumentDescriptor** objects = new MTL::ArgumentDescriptor*[descriptorBindings.size()];
|
||||
uint32 mappingCounter = 0;
|
||||
for (uint32 i = 0; i < descriptorBindings.size(); ++i) {
|
||||
if (descriptorBindings[i].descriptorType != Gfx::SE_DESCRIPTOR_TYPE_UNIFORM_BUFFER) {
|
||||
if (descriptorBindings[i].descriptorType != Gfx::SE_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK) {
|
||||
plainDescriptor = false;
|
||||
}
|
||||
objects[i] = MTL::ArgumentDescriptor::alloc()->init();
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
#include "Enums.h"
|
||||
#include "Graphics.h"
|
||||
#include "Graphics/Query.h"
|
||||
#include <vulkan/vulkan_core.h>
|
||||
|
||||
using namespace Seele;
|
||||
using namespace Seele::Metal;
|
||||
@@ -71,4 +70,4 @@ Gfx::Timestamp TimestampQuery::getResult() {
|
||||
.name = "Test",
|
||||
.time = 0,
|
||||
};
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user