updated VulkanSDK to 1.3.204
This commit is contained in:
@@ -305,6 +305,29 @@ namespace
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(subgroupBroadcastDynamicId)
|
||||
#undef OUTPUT_PHYSICAL_DEVICE_FEATURE
|
||||
}
|
||||
|
||||
void DebugOut(const VkPhysicalDeviceVulkan13Features &features)
|
||||
{
|
||||
std::cout<<"Vulkan 1.3 features"<<std::endl;
|
||||
|
||||
#define OUTPUT_PHYSICAL_DEVICE_FEATURE(name) std::cout<<std::setw(60)<<std::right<<#name<<": "<<(features.name?"true":"false")<<std::endl;
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(robustImageAccess)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(inlineUniformBlock)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(descriptorBindingInlineUniformBlockUpdateAfterBind)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(pipelineCreationCacheControl)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(privateData)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(shaderDemoteToHelperInvocation)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(shaderTerminateInvocation)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(subgroupSizeControl)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(computeFullSubgroups)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(synchronization2)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(textureCompressionASTC_HDR)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(shaderZeroInitializeWorkgroupMemory)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(dynamicRendering)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(shaderIntegerDotProduct)
|
||||
OUTPUT_PHYSICAL_DEVICE_FEATURE(maintenance4)
|
||||
#undef OUTPUT_PHYSICAL_DEVICE_FEATURE
|
||||
}
|
||||
|
||||
void DebugOutVersion(uint32_t version)
|
||||
{
|
||||
@@ -496,6 +519,7 @@ GPUDevice *CreateRenderDevice(VulkanInstance *inst,const GPUPhysicalDevice *phys
|
||||
DebugOut(physical_device->GetFeatures10());
|
||||
DebugOut(physical_device->GetFeatures11());
|
||||
DebugOut(physical_device->GetFeatures12());
|
||||
DebugOut(physical_device->GetFeatures13());
|
||||
}
|
||||
#endif//_DEBUG
|
||||
|
||||
|
@@ -73,7 +73,10 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
|
||||
features11.pNext=&features12;
|
||||
|
||||
features12.sType=VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_FEATURES;
|
||||
features12.pNext=nullptr;
|
||||
features12.pNext=&features13;
|
||||
|
||||
features13.sType=VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES;
|
||||
features13.pNext=nullptr;
|
||||
|
||||
func(physical_device,&features2);
|
||||
|
||||
@@ -85,6 +88,7 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
|
||||
|
||||
hgl_zero(features11);
|
||||
hgl_zero(features12);
|
||||
hgl_zero(features13);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -102,7 +106,10 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
|
||||
properties11.pNext=&properties12;
|
||||
|
||||
properties12.sType=VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_2_PROPERTIES;
|
||||
properties12.pNext=nullptr;
|
||||
properties12.pNext=&properties13;
|
||||
|
||||
properties13.sType=VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_PROPERTIES;
|
||||
properties13.pNext=nullptr;
|
||||
|
||||
func(physical_device,&properties2);
|
||||
|
||||
@@ -114,6 +121,7 @@ GPUPhysicalDevice::GPUPhysicalDevice(VkInstance inst,VkPhysicalDevice pd)
|
||||
|
||||
hgl_zero(properties11);
|
||||
hgl_zero(properties12);
|
||||
hgl_zero(properties13);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user