org.lwjgl.vulkan.AMDDeviceCoherentMemory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl-vulkan Show documentation
Show all versions of lwjgl-vulkan Show documentation
A new generation graphics and compute API that provides high-efficiency, cross-platform access to modern GPUs used in a wide variety of devices from PCs and consoles to mobile phones and embedded platforms.
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.vulkan;
/**
* This extension adds the device coherent and device uncached memory types. Any device accesses to device coherent memory are automatically made visible to any other device access. Device uncached memory indicates to applications that caches are disabled for a particular memory type, which guarantees device coherence.
*
* Device coherent and uncached memory are expected to have lower performance for general access than non-device coherent memory, but can be useful in certain scenarios; particularly so for debugging.
*
* VK_AMD_device_coherent_memory
*
*
* - Name String
* - {@code VK_AMD_device_coherent_memory}
* - Extension Type
* - Device extension
* - Registered Extension Number
* - 230
* - Revision
* - 1
* - Extension and Version Dependencies
*
* - Requires Vulkan 1.0
*
* - Contact
*
* - Tobias Hector tobski
*
*
*
* Other Extension Metadata
*
*
* - Last Modified Date
* - 2019-02-04
* - Contributors
*
* - Ping Fu, AMD
* - Timothy Lottes, AMD
* - Tobias Hector, AMD
*
*
*/
public final class AMDDeviceCoherentMemory {
/** The extension specification version. */
public static final int VK_AMD_DEVICE_COHERENT_MEMORY_SPEC_VERSION = 1;
/** The extension name. */
public static final String VK_AMD_DEVICE_COHERENT_MEMORY_EXTENSION_NAME = "VK_AMD_device_coherent_memory";
/**
* Extends {@code VkMemoryPropertyFlagBits}.
*
* Enum values:
*
*
* - {@link #VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD}
* - {@link #VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD}
*
*/
public static final int
VK_MEMORY_PROPERTY_DEVICE_COHERENT_BIT_AMD = 0x40,
VK_MEMORY_PROPERTY_DEVICE_UNCACHED_BIT_AMD = 0x80;
/** Extends {@code VkStructureType}. */
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_COHERENT_MEMORY_FEATURES_AMD = 1000229000;
private AMDDeviceCoherentMemory() {}
}