All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.KHRShaderSubgroup Maven / Gradle / Ivy

Go to download

The most widely adopted 2D and 3D graphics API in the industry, bringing thousands of applications to a wide variety of computer platforms.

There is a newer version: 3.3.4
Show newest version
/*
 * Copyright LWJGL. All rights reserved.
 * License terms: https://www.lwjgl.org/license
 * MACHINE GENERATED FILE, DO NOT EDIT
 */
package org.lwjgl.opengl;

/**
 * Native bindings to the KHR_shader_subgroup extension.
 * 
 * 

This extension enables support for the {@code KHR_shader_subgroup} shading language extension in OpenGL.

* *

The extension adds API queries to be able to query

* *
    *
  • the size of subgroups in this implementation ({@link #GL_SUBGROUP_SIZE_KHR SUBGROUP_SIZE_KHR})
  • *
  • which shader stages support subgroup operations ({@link #GL_SUBGROUP_SUPPORTED_STAGES_KHR SUBGROUP_SUPPORTED_STAGES_KHR})
  • *
  • which subgroup features are supported ({@link #GL_SUBGROUP_SUPPORTED_FEATURES_KHR SUBGROUP_SUPPORTED_FEATURES_KHR})
  • *
  • whether quad subgroup operations are supported in all stages supporting subgroup operations ({@link #GL_SUBGROUP_QUAD_ALL_STAGES_KHR SUBGROUP_QUAD_ALL_STAGES_KHR})
  • *
* *

In OpenGL implementations supporting SPIR-V, this extension enables the minimal subset of SPIR-V 1.3 which is required to support the subgroup features * that are supported by the implementation.

* *

Requires {@link GL43 OpenGL 4.3}.

*/ public final class KHRShaderSubgroup { /** Accepted as the {@code pname} argument for {@link GL11C#glGetIntegerv GetIntegerv} and {@link GL32C#glGetInteger64v GetInteger64v}. */ public static final int GL_SUBGROUP_SIZE_KHR = 0x9532, GL_SUBGROUP_SUPPORTED_STAGES_KHR = 0x9533, GL_SUBGROUP_SUPPORTED_FEATURES_KHR = 0x9534; /** Accepted as the {@code pname} argument for {@link GL11C#glGetBooleanv GetBooleanv}. */ public static final int GL_SUBGROUP_QUAD_ALL_STAGES_KHR = 0x9535; /** Returned as bitfield in the {@code data} argument when {@link GL11C#glGetIntegerv GetIntegerv} is queried with a {@code pname} of {@link #GL_SUBGROUP_SUPPORTED_FEATURES_KHR SUBGROUP_SUPPORTED_FEATURES_KHR}. */ public static final int GL_SUBGROUP_FEATURE_BASIC_BIT_KHR = 0x1, GL_SUBGROUP_FEATURE_VOTE_BIT_KHR = 0x2, GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR = 0x4, GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR = 0x8, GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR = 0x10, GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR = 0x20, GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR = 0x40, GL_SUBGROUP_FEATURE_QUAD_BIT_KHR = 0x80; private KHRShaderSubgroup() {} }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy