You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//! props.deviceTypeMask = ~IPhysicalDevice::ET_CPU; // would be good to turn the enum into a mask
38
+
//! props.driverIDMask = ~(EDI_AMD_PROPRIETARY|EDI_INTEL_PROPRIETARY_WINDOWS); // would be goot to turn the enum into a mask
39
+
//! props.conformanceVersion = 1.2;
40
+
//!
41
+
//! SDeviceFeatures requiredFeatures = {};
42
+
//! requiredFeatures.rayQuery = true;
43
+
//!
44
+
//! SDeviceLimits minimumLimits = {}; // would default initialize to worst possible values (small values for maximum sizes, large values for alignments, etc.)
45
+
//!
46
+
//! // TODO: later add some stuff for requiring queue families, formats and minimum memory heap sizes
47
+
//!
48
+
//! auto physicalDeviceCandidates = api->getCompatiblePhysicalDevices(props,requiredFeatures,minimumLimits,numSwapchains,supportedSwapchains,/*optional: would enforce tighter checks to actually accept compatibility, like formats, present modes and surface caps*/swapchainSupportDecider);
49
+
//! if (physicalDeviceCandidates.empty())
50
+
//! {
51
+
//! logError();
52
+
//! exit();
53
+
//! }
54
+
//!
55
+
//! // TODO: later iterate through candidate devices (fulfilling all the required criteria) to find the "best" one
// [DO NOT EXPOSE] We will never expose this vendor specific meta-data (no new feature) to the user, but might use the extension to provide some cross platform meta-info in the Nabla section
384
-
/* ShaderCoreProperties2AMD *//* provided by VK_AMD_shader_core_properties2 */
0 commit comments