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
FieldsModifier and TypeFieldDescriptionstatic final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.static final intAccepted as thepnameargument forGetBooleanv.static final intstatic final intstatic 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 thepnameargument forGetBooleanv.- See Also:
-
GL_SUBGROUP_FEATURE_BASIC_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_BASIC_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_VOTE_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_VOTE_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_BALLOT_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_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 thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-
GL_SUBGROUP_FEATURE_QUAD_BIT_KHR
public static final int GL_SUBGROUP_FEATURE_QUAD_BIT_KHRReturned as bitfield in thedataargument whenGetIntegervis queried with apnameofSUBGROUP_SUPPORTED_FEATURES_KHR.- See Also:
-