mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 16:40:56 +00:00
- add features reported by validation layer
This commit is contained in:
parent
09ea775b40
commit
1bdaf24fa8
1 changed files with 2 additions and 0 deletions
|
@ -372,6 +372,8 @@ void VulkanDevice::createDevice()
|
||||||
|
|
||||||
VkPhysicalDeviceFeatures usedDeviceFeatures = {};
|
VkPhysicalDeviceFeatures usedDeviceFeatures = {};
|
||||||
usedDeviceFeatures.samplerAnisotropy = VK_TRUE;
|
usedDeviceFeatures.samplerAnisotropy = VK_TRUE;
|
||||||
|
usedDeviceFeatures.shaderClipDistance = VK_TRUE;
|
||||||
|
usedDeviceFeatures.fragmentStoresAndAtomics = VK_TRUE;
|
||||||
|
|
||||||
VkDeviceCreateInfo deviceCreateInfo = {};
|
VkDeviceCreateInfo deviceCreateInfo = {};
|
||||||
deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
deviceCreateInfo.sType = VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO;
|
||||||
|
|
Loading…
Reference in a new issue