diff options
| author | Egor Yusov <egor.yusov@gmail.com> | 2018-07-04 02:06:39 +0000 |
|---|---|---|
| committer | Egor Yusov <egor.yusov@gmail.com> | 2018-07-04 02:06:39 +0000 |
| commit | d70e32b7b1e0197859f79d8d949106896c05ea83 (patch) | |
| tree | 85ce59dbeb141a27ca7112e1b38fa29c4cb5dfc3 /Graphics/GraphicsEngine | |
| parent | Enabled vertexPipelineStoresAndAtomics and fragmentStoresAndAtomics device fe... (diff) | |
| download | DiligentCore-d70e32b7b1e0197859f79d8d949106896c05ea83.tar.gz DiligentCore-d70e32b7b1e0197859f79d8d949106896c05ea83.zip | |
Moved list of vulkan device features to enable to initialization struct
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/interface/GraphicsTypes.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/interface/GraphicsTypes.h b/Graphics/GraphicsEngine/interface/GraphicsTypes.h index f7e994ae..1df91fa0 100644 --- a/Graphics/GraphicsEngine/interface/GraphicsTypes.h +++ b/Graphics/GraphicsEngine/interface/GraphicsTypes.h @@ -1291,6 +1291,25 @@ namespace Diligent /// or when backbuffer is presented. Uint32 NumCommandsToFlushCmdBuffer = 256; + /// List of device features to be enabled + /// see https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html#VkPhysicalDeviceFeatures + struct DeviceFeatures + { + bool depthBiasClamp = false; + bool fillModeNonSolid = false; + bool depthClamp = false; + bool independentBlend = false; + bool samplerAnisotropy = true; + bool geometryShader = false; + bool tessellationShader = false; + bool dualSrcBlend = false; + bool multiViewport = false; + bool imageCubeArray = false; + bool textureCompressionBC = false; + bool vertexPipelineStoresAndAtomics = false; + bool fragmentStoresAndAtomics = false; + }EnabledFeatures; + /// Descriptor pool size struct DescriptorPoolSize { |
