module Graphics.GL.Ext.ARB.ComputeVariableGroupSize (
gl_ARB_compute_variable_group_size
, glDispatchComputeGroupSizeARB
, pattern GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB
, pattern GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB
, pattern GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB
, pattern GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB
) where
import Control.Monad.IO.Class
import Data.Set
import Foreign.Ptr
import Graphics.GL.Internal.FFI
import Graphics.GL.Internal.Proc
import Graphics.GL.Types
import System.IO.Unsafe
gl_ARB_compute_variable_group_size :: Bool
gl_ARB_compute_variable_group_size = member "GL_ARB_compute_variable_group_size" extensions
glDispatchComputeGroupSizeARB :: MonadIO m => GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> m ()
glDispatchComputeGroupSizeARB = ffiuintuintuintuintuintuintIOV glDispatchComputeGroupSizeARBFunPtr
glDispatchComputeGroupSizeARBFunPtr :: FunPtr (GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> GLuint -> IO ())
glDispatchComputeGroupSizeARBFunPtr = unsafePerformIO (getProcAddress "glDispatchComputeGroupSizeARB")
pattern GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB = 0x90EB
pattern GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB = 0x91BF
pattern GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB = 0x9344
pattern GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB = 0x9345