#include "util/debug.h"
#include "util/driconf.h"
#include "libresoc_private.h"
+#include "compiler/glsl_types.h"
#include "vk_util.h"
#include "vk_alloc.h"
{"nomemorycache", LIBRESOC_DEBUG_NO_MEMORY_CACHE},
{"llvm", LIBRESOC_DEBUG_LLVM},
{"forcecompress", LIBRESOC_DEBUG_FORCE_COMPRESS},
+ {"nir", LIBRESOC_DEBUG_DUMP_NIR},
{NULL, 0}
};
}
instance->physical_devices_enumerated = false;
list_inithead(&instance->physical_devices);
+ glsl_type_singleton_init_or_ref();
libresoc_init_dri_options(instance);
*pInstance = libresoc_instance_to_handle(instance);
//TODO: stub
return VK_SUCCESS;
}
+
+VkResult libresoc_CreateFramebuffer(
+ VkDevice _device,
+ const VkFramebufferCreateInfo* pCreateInfo,
+ const VkAllocationCallbacks* pAllocator,
+ VkFramebuffer* pFramebuffer)
+{
+ //TODO: stub
+ return VK_SUCCESS;
+}
+void libresoc_DestroyBuffer(
+ VkDevice _device,
+ VkBuffer _buffer,
+ const VkAllocationCallbacks* pAllocator)
+{}
+
+void libresoc_DestroyFence(
+ VkDevice _device,
+ VkFence _fence,
+ const VkAllocationCallbacks* pAllocator)
+{}
+
+
+void libresoc_DestroySemaphore(
+ VkDevice _device,
+ VkSemaphore _semaphore,
+ const VkAllocationCallbacks* pAllocator)
+{}