Package org.lwjgl.opengl
Class KHRShaderSubgroup
- java.lang.Object
-
- org.lwjgl.opengl.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.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 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
OpenGL 4.3
. - 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
.
-
-