Skip to content

Commit

Permalink
PhysicalDevice: add the "portabilitySubset" constant
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Aug 24, 2023
1 parent cf1ed96 commit 051c3c9
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
import org.lwjgl.PointerBuffer;
import org.lwjgl.system.MemoryStack;
import org.lwjgl.vulkan.KHRGetPhysicalDeviceProperties2;
import org.lwjgl.vulkan.KHRPortabilitySubset;
import org.lwjgl.vulkan.KHRSurface;
import org.lwjgl.vulkan.VK10;
import org.lwjgl.vulkan.VkAllocationCallbacks;
Expand Down Expand Up @@ -68,6 +69,14 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
*/
class PhysicalDevice {
// *************************************************************************
// constants

/**
* name of the "portability subset" device extension
*/
final public static String portabilitySubset
= KHRPortabilitySubset.VK_KHR_PORTABILITY_SUBSET_EXTENSION_NAME;
// *************************************************************************
// fields

/**
Expand Down

0 comments on commit 051c3c9

Please sign in to comment.