Package org.lwjgl.opengles
Class KHRShaderSubgroup
java.lang.Object
org.lwjgl.opengles.KHRShaderSubgroup
Native bindings to the KHR_shader_subgroup extension.
This extension enables support for the KHR_shader_subgroup
shading language extension in OpenGL ES.
The extension adds API queries to be able to query
- the size of subgroups in this implementation (
SUBGROUP_SIZE_KHR
) - which shader stages support subgroup operations (
SUBGROUP_SUPPORTED_STAGES_KHR
) - which subgroup features are supported (
SUBGROUP_SUPPORTED_FEATURES_KHR
) - whether quad subgroup operations are supported in all stages supporting subgroup operations (
SUBGROUP_QUAD_ALL_STAGES_KHR
)
In OpenGL ES implementations, this extension does NOT add support for SPIR-V or for any of the built-in shading language functions (8.18) that have
genDType
(double) prototypes.
Requires GLES 3.1
.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static final int
Accepted as thepname
argument forGetBooleanv
.static final int
static final int
static final int
-
Method Summary
-
Field Details
-
GL_SUBGROUP_SIZE_KHR
public static final int GL_SUBGROUP_SIZE_KHR- See Also:
-
GL_SUBGROUP_SUPPORTED_STAGES_KHR
public static final int GL_SUBGROUP_SUPPORTED_STAGES_KHR- See Also:
-
GL_SUBGROUP_SUPPORTED_FEATURES_KHR
public static final int GL_SUBGROUP_SUPPORTED_FEATURES_KHR- See Also:
-
GL_SUBGROUP_QUAD_ALL_STAGES_KHR
public static final int GL_SUBGROUP_QUAD_ALL_STAGES_KHRAccepted as thepname
argument forGetBooleanv
.- See Also:
-
GL_SUBGROUP_FEATURE_BASIC_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_BASIC_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_VOTE_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_VOTE_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_BALLOT_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-
GL_SUBGROUP_FEATURE_QUAD_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_QUAD_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.- See Also:
-