HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VE_PhysicalDevice.h File Reference
#include "VE_VK.h"
#include "VE_API.h"
#include "VE_Result.h"
#include "VE_PhysicalDeviceFeatures.h"
#include <UT/UT_Array.h>
#include <UT/UT_ArrayStringSet.h>
#include <UT/UT_Optional.h>
+ Include dependency graph for VE_PhysicalDevice.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VE_PhysicalDeviceFeatureChain
 
class  VE_PhysicalDevice
 

Enumerations

enum  VE_DeviceExtension {
  VE_DeviceExtension::dynamic_rendering, VE_DeviceExtension::maintenance4, VE_DeviceExtension::external_semaphore, VE_DeviceExtension::external_memory,
  VE_DeviceExtension::external_memory_win32, VE_DeviceExtension::external_semaphore_win32, VE_DeviceExtension::external_memory_fd, VE_DeviceExtension::external_semaphore_fd,
  VE_DeviceExtension::ray_tracing_pipeline, VE_DeviceExtension::acceleration_structure, VE_DeviceExtension::ray_query, VE_DeviceExtension::deferred_host_operations,
  VE_DeviceExtension::count
}
 

Functions

UT_Array< const char * > VE_API VEextensionNamesToStrings (uint32_t count, const VE_DeviceExtension extensions[])
 
uint32_t VE_API VEgetPhysicalDeviceVersion (VkPhysicalDevice phy_dev)
 

Variables

constexpr uint32_t VE_SWIFT_SHADER_DEVICE_ID = 0xC0DE
 

Enumeration Type Documentation

enum VE_DeviceExtension
strong

A enum of common device extensions. These can be used in lieu of passing the names themselves into functions, making it a bit hard to make typos and a bit easier to remember what extensions exist.

To map from extension name to enum member, just remove the capitalized prefix from the the extension name. For example VK_KHR_external_fence_capabilities -> external_fence_capabilities

Enumerator
dynamic_rendering 
maintenance4 
external_semaphore 
external_memory 
external_memory_win32 
external_semaphore_win32 
external_memory_fd 
external_semaphore_fd 
ray_tracing_pipeline 
acceleration_structure 
ray_query 
deferred_host_operations 
count 

Definition at line 35 of file VE_PhysicalDevice.h.

Function Documentation

UT_Array<const char*> VE_API VEextensionNamesToStrings ( uint32_t  count,
const VE_DeviceExtension  extensions[] 
)
uint32_t VE_API VEgetPhysicalDeviceVersion ( VkPhysicalDevice  phy_dev)

Variable Documentation

constexpr uint32_t VE_SWIFT_SHADER_DEVICE_ID = 0xC0DE

Definition at line 25 of file VE_PhysicalDevice.h.