2018-07-31 16:03:44 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "dxvk_include.h"
|
|
|
|
|
|
|
|
namespace dxvk {
|
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Device info
|
|
|
|
*
|
|
|
|
* Stores core properties and a bunch of extension-specific
|
|
|
|
* properties, if the respective extensions are available.
|
|
|
|
* Structures for unsupported extensions will be undefined,
|
|
|
|
* so before using them, check whether they are supported.
|
|
|
|
*/
|
|
|
|
struct DxvkDeviceInfo {
|
|
|
|
VkPhysicalDeviceProperties2KHR core;
|
|
|
|
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT extVertexAttributeDivisor;
|
|
|
|
};
|
|
|
|
|
2018-07-31 16:58:25 +02:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Device features
|
|
|
|
*
|
|
|
|
* Stores core features and extension-specific features.
|
|
|
|
* If the respective extensions are not available, the
|
|
|
|
* extended features will be marked as unsupported.
|
|
|
|
*/
|
|
|
|
struct DxvkDeviceFeatures {
|
|
|
|
VkPhysicalDeviceFeatures2KHR core;
|
2018-09-10 21:46:14 +02:00
|
|
|
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT extVertexAttributeDivisor;
|
2018-07-31 16:58:25 +02:00
|
|
|
};
|
|
|
|
|
2018-07-31 16:03:44 +02:00
|
|
|
}
|