to supported new version of GLSLCompiler.dll
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
VK_NAMESPACE_BEGIN
|
||||
VkPipelineCache CreatePipelineCache(VkDevice device,const VkPhysicalDeviceProperties &);
|
||||
|
||||
void SetShaderCompilerVersion(const GPUPhysicalDevice *);
|
||||
|
||||
#ifdef _DEBUG
|
||||
DebugMaker *CreateDebugMaker(VkDevice);
|
||||
DebugUtils *CreateDebugUtils(VkDevice);
|
||||
@@ -415,6 +417,8 @@ GPUDevice *VulkanDeviceCreater::Create()
|
||||
OutputPhysicalDeviceCaps(physical_device);
|
||||
#endif//_DEBUG
|
||||
|
||||
SetShaderCompilerVersion(physical_device);
|
||||
|
||||
if(!RequirementCheck())
|
||||
return(nullptr);
|
||||
|
||||
|
@@ -86,7 +86,9 @@ void CheckInstanceLayer(CharPointerList &layer_list,CreateInstanceLayerInfo *lay
|
||||
|
||||
#define VK_LAYER_KHRONOS_ADD(name) VK_LAYER_CHECK(khronos,"KHRONOS",name)
|
||||
|
||||
VK_LAYER_KHRONOS_ADD(synchronization2)
|
||||
VK_LAYER_KHRONOS_ADD(validation)
|
||||
VK_LAYER_KHRONOS_ADD(profiles)
|
||||
|
||||
#define VK_LAYER_NV_ADD(name) VK_LAYER_CHECK(nv,"NV",name)
|
||||
|
||||
|
Reference in New Issue
Block a user