mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-17 06:30:44 +01:00
fix building with aftermath
This commit is contained in:
parent
bd7fc0a981
commit
fe0223c8d3
@ -425,13 +425,15 @@ static qboolean pickAndCreateDevice( qboolean skip_first_device )
|
||||
VkDeviceDiagnosticsConfigCreateInfoNV diag_config_nv = {
|
||||
.sType = VK_STRUCTURE_TYPE_DEVICE_DIAGNOSTICS_CONFIG_CREATE_INFO_NV,
|
||||
.flags = VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_AUTOMATIC_CHECKPOINTS_BIT_NV | VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_RESOURCE_TRACKING_BIT_NV | VK_DEVICE_DIAGNOSTICS_CONFIG_ENABLE_SHADER_DEBUG_INFO_BIT_NV,
|
||||
.pNext = head,
|
||||
.pNext = &features,
|
||||
};
|
||||
head = &diag_config_nv;
|
||||
void *head = &diag_config_nv;
|
||||
#else
|
||||
void *head = &features;
|
||||
#endif
|
||||
VkDeviceCreateInfo create_info = {
|
||||
.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO,
|
||||
.pNext = &features,
|
||||
.pNext = head,
|
||||
.flags = 0,
|
||||
.queueCreateInfoCount = 1,
|
||||
.pQueueCreateInfos = &queue_info,
|
||||
|
Loading…
Reference in New Issue
Block a user