Documentation ¶
Index ¶
Constants ¶
View Source
const ( // ExtensionName is "VK_KHR_driver_properties" // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_KHR_driver_properties.html ExtensionName string = C.VK_KHR_DRIVER_PROPERTIES_EXTENSION_NAME // MaxDriverInfoSize is the length of a PhysicalDevice driver information string // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_MAX_DRIVER_INFO_SIZE.html MaxDriverInfoSize int = C.VK_MAX_DRIVER_INFO_SIZE_KHR // MaxDriverNameSize is the maximum length of a PhysicalDevice driver name string // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VK_MAX_DRIVER_NAME_SIZE.html MaxDriverNameSize int = C.VK_MAX_DRIVER_NAME_SIZE_KHR // DriverIDAmdOpenSource indicates open-source AMD drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDAmdOpenSource DriverID = C.VK_DRIVER_ID_AMD_OPEN_SOURCE_KHR // DriverIDAmdProprietary indicates proprietary AMD drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDAmdProprietary DriverID = C.VK_DRIVER_ID_AMD_PROPRIETARY_KHR // DriverIDArmProprietary indicates proprietary ARM drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDArmProprietary DriverID = C.VK_DRIVER_ID_ARM_PROPRIETARY_KHR // DriverIDBroadcomProprietary indicates proprietary Broadcom drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDBroadcomProprietary DriverID = C.VK_DRIVER_ID_BROADCOM_PROPRIETARY_KHR // DriverIDGgpProprietary indicates proprietary GGP drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDGgpProprietary DriverID = C.VK_DRIVER_ID_GGP_PROPRIETARY_KHR // DriverIDGoogleSwiftshader indicates Google Swiftshader drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDGoogleSwiftshader DriverID = C.VK_DRIVER_ID_GOOGLE_SWIFTSHADER_KHR // DriverIDImaginationProprietary indicates proprietary Imagination drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDImaginationProprietary DriverID = C.VK_DRIVER_ID_IMAGINATION_PROPRIETARY_KHR // DriverIDIntelOpenSourceMesa indicates open-source Mesa drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDIntelOpenSourceMesa DriverID = C.VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA_KHR // DriverIDIntelProprietaryWindows indicates proprietary Intel drivers for Windows // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDIntelProprietaryWindows DriverID = C.VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS_KHR // DriverIDMesaRadV indicates Mesa Rad-V drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDMesaRadV DriverID = C.VK_DRIVER_ID_MESA_RADV_KHR // DriverIDNvidiaProprietary indicates proprietary NVidia drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDNvidiaProprietary DriverID = C.VK_DRIVER_ID_NVIDIA_PROPRIETARY_KHR // DriverIDQualcommProprietary indicates proprietary Qualcomm drivers // // https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html DriverIDQualcommProprietary DriverID = C.VK_DRIVER_ID_QUALCOMM_PROPRIETARY_KHR )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConformanceVersion ¶
type ConformanceVersion struct { // Major is the major version number of the conformance test suite Major uint8 // Minor is the minor version number of the conformance test suite Minor uint8 // Subminor is the subminor version number of the conformance test suite Subminor uint8 // Patch is the patch version number of the conformance test suite Patch uint8 }
ConformanceVersion contains the comformance test suite version the implementation is compliant with
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkConformanceVersionKHR.html
func (ConformanceVersion) IsAtLeast ¶
func (v ConformanceVersion) IsAtLeast(other ConformanceVersion) bool
IsAtLeast returns true if the other ConformanceVersion is at least as high as this one
type DriverID ¶
type DriverID int32
DriverID specifies khronos driver id's
https://registry.khronos.org/vulkan/specs/1.3-extensions/man/html/VkDriverId.html
type PhysicalDeviceDriverProperties ¶
type PhysicalDeviceDriverProperties struct { // DriverID is a unique identifier for the driver of the PhysicalDevice DriverID DriverID // DriverName is a string which is the name of the driver DriverName string // DriverInfo is a string with additional information about the driver DriverInfo string // ConformanceVersion is the version of the Vulkan conformance test thsi driver is conformant // against ConformanceVersion ConformanceVersion common.NextOutData }
PhysicalDeviceDriverProperties contains driver identification information
func (*PhysicalDeviceDriverProperties) PopulateHeader ¶
func (*PhysicalDeviceDriverProperties) PopulateOutData ¶
Click to show internal directories.
Click to hide internal directories.