Add a couple of new samples, improved some others: (#414)
new: - InstanceVersion: print out the instance version - PhysicalDeviceExtensions: print out the device specific extensions - PhysicalDeviceFeatures: print out the device specific features - PhysicalDeviceGroups: print out the device groups (interesting with SLI) - PhysicalDeviceMemoryProperties: print out the device specific memory properties - PhysicalDeviceQueueFamilyProperties: print out the device specific queue family properties - SurfaceCapabilities: print out the surface specific capabilities - SurfaceFormats: print out the supported surface specific formats improved: - InstanceExtensionProperties: print out the instance extensions alphabetically - InstanceLayerProperties: removed an unused local function - RayTracing: improved fence usage
This commit is contained in:
committed by
Markus Tavenrath
parent
178bf4ded7
commit
c06a3300f6
@@ -24,12 +24,6 @@
|
||||
static char const* AppName = "InstanceLayerProperties";
|
||||
static char const* EngineName = "Vulkan.hpp";
|
||||
|
||||
void extract_version(uint32_t version, uint32_t &major, uint32_t &minor, uint32_t &patch) {
|
||||
major = version >> 22;
|
||||
minor = (version >> 12) & 0x3ff;
|
||||
patch = version & 0xfff;
|
||||
}
|
||||
|
||||
int main(int /*argc*/, char ** /*argv*/)
|
||||
{
|
||||
try
|
||||
|
||||
Reference in New Issue
Block a user