mirror of
https://github.com/EduApps-CDG/OpenDX
synced 2024-12-30 09:45:37 +01:00
Also query the device properites for this extension as well as support for subgroup operations on this device.
36 lines
1.1 KiB
C++
36 lines
1.1 KiB
C++
#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;
|
|
VkPhysicalDeviceSubgroupProperties coreSubgroup;
|
|
VkPhysicalDeviceTransformFeedbackPropertiesEXT extTransformFeedback;
|
|
VkPhysicalDeviceVertexAttributeDivisorPropertiesEXT extVertexAttributeDivisor;
|
|
};
|
|
|
|
|
|
/**
|
|
* \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;
|
|
VkPhysicalDeviceTransformFeedbackFeaturesEXT extTransformFeedback;
|
|
VkPhysicalDeviceVertexAttributeDivisorFeaturesEXT extVertexAttributeDivisor;
|
|
};
|
|
|
|
} |