Package org.lwjgl.opengles
Class KHRShaderSubgroup
- java.lang.Object
-
- org.lwjgl.opengles.KHRShaderSubgroup
-
public final class KHRShaderSubgroup extends java.lang.Object
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
. - the size of subgroups in this implementation (
-
-
Field Summary
Fields Modifier and Type Field Description static int
GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR
GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR
GL_SUBGROUP_FEATURE_BASIC_BIT_KHR
GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR
GL_SUBGROUP_FEATURE_QUAD_BIT_KHR
GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR
GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR
GL_SUBGROUP_FEATURE_VOTE_BIT_KHRReturned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.static int
GL_SUBGROUP_QUAD_ALL_STAGES_KHR
Accepted as thepname
argument forGetBooleanv
.static int
GL_SUBGROUP_SIZE_KHR
GL_SUBGROUP_SUPPORTED_FEATURES_KHR
GL_SUBGROUP_SUPPORTED_STAGES_KHR
-
-
-
Field Detail
-
GL_SUBGROUP_QUAD_ALL_STAGES_KHR
Accepted as thepname
argument forGetBooleanv
.
-
GL_SUBGROUP_FEATURE_BASIC_BIT_KHR, GL_SUBGROUP_FEATURE_VOTE_BIT_KHR, GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR, GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR, GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR, GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR, GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR, GL_SUBGROUP_FEATURE_QUAD_BIT_KHR
Returned as bitfield in thedata
argument whenGetIntegerv
is queried with apname
ofSUBGROUP_SUPPORTED_FEATURES_KHR
.
-
-