Package org.lwjgl.vulkan
Class AMDShaderBallot
- java.lang.Object
-
- org.lwjgl.vulkan.AMDShaderBallot
-
public final class AMDShaderBallot extends java.lang.Object
This extension introduces two new shader functions:- mbcntAMD computes the number of bits set in the provided argument, masked with a thread mask which contains 1 for all active threads less than the current thread within a wavefront.
- ballotARB returns a 64-bit mask which contains 1 if that thread within the wavefront passed true into the instruction, and 0 otherwise.
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
VK_AMD_SHADER_BALLOT_EXTENSION_NAME
The extension name.static int
VK_AMD_SHADER_BALLOT_SPEC_VERSION
The extension specification version.
-
-
-
Field Detail
-
VK_AMD_SHADER_BALLOT_SPEC_VERSION
public static final int VK_AMD_SHADER_BALLOT_SPEC_VERSION
The extension specification version.- See Also:
- Constant Field Values
-
VK_AMD_SHADER_BALLOT_EXTENSION_NAME
public static final java.lang.String VK_AMD_SHADER_BALLOT_EXTENSION_NAME
The extension name.- See Also:
- Constant Field Values
-
-