{-# LANGUAGE CPP, ScopedTypeVariables, PatternSynonyms #-}
module Graphics.GL.Ext.NV.GpuProgram5 (
gl_NV_gpu_program5
, glGetProgramSubroutineParameteruivNV
, glProgramSubroutineParametersuivNV
, pattern GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV
, pattern GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV
, pattern GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV
, pattern GL_MAX_PROGRAM_SUBROUTINE_NUM_NV
, pattern GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV
, pattern GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV
, pattern GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV
, pattern GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV
) 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_NV_gpu_program5 :: Bool
gl_NV_gpu_program5 :: Bool
gl_NV_gpu_program5 = [Char] -> Set [Char] -> Bool
forall a. Ord a => a -> Set a -> Bool
member "GL_NV_gpu_program5" Set [Char]
extensions
{-# NOINLINE gl_NV_gpu_program5 #-}
glGetProgramSubroutineParameteruivNV :: MonadIO m => GLenum -> GLuint -> Ptr GLuint -> m ()
glGetProgramSubroutineParameteruivNV :: GLenum -> GLenum -> Ptr GLenum -> m ()
glGetProgramSubroutineParameteruivNV = FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ())
-> GLenum -> GLenum -> Ptr GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ())
-> GLenum -> GLenum -> Ptr GLenum -> m ()
ffienumuintPtruintIOV FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ())
glGetProgramSubroutineParameteruivNVFunPtr
glGetProgramSubroutineParameteruivNVFunPtr :: FunPtr (GLenum -> GLuint -> Ptr GLuint -> IO ())
glGetProgramSubroutineParameteruivNVFunPtr :: FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ())
glGetProgramSubroutineParameteruivNVFunPtr = IO (FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ()))
-> FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLenum -> Ptr GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glGetProgramSubroutineParameteruivNV")
{-# NOINLINE glGetProgramSubroutineParameteruivNVFunPtr #-}
glProgramSubroutineParametersuivNV :: MonadIO m => GLenum -> GLsizei -> Ptr GLuint -> m ()
glProgramSubroutineParametersuivNV :: GLenum -> GLsizei -> Ptr GLenum -> m ()
glProgramSubroutineParametersuivNV = FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> Ptr GLenum -> m ()
forall (m :: * -> *).
MonadIO m =>
FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
-> GLenum -> GLsizei -> Ptr GLenum -> m ()
ffienumsizeiPtruintIOV FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
glProgramSubroutineParametersuivNVFunPtr
glProgramSubroutineParametersuivNVFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLuint -> IO ())
glProgramSubroutineParametersuivNVFunPtr :: FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
glProgramSubroutineParametersuivNVFunPtr = IO (FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ()))
-> FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ())
forall a. IO a -> a
unsafePerformIO ([Char] -> IO (FunPtr (GLenum -> GLsizei -> Ptr GLenum -> IO ()))
forall a. [Char] -> IO (FunPtr a)
getProcAddress "glProgramSubroutineParametersuivNV")
{-# NOINLINE glProgramSubroutineParametersuivNVFunPtr #-}
pattern $bGL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV :: a
$mGL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV = 0x8E5D
pattern $bGL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV :: a
$mGL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5C
pattern $bGL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV :: a
$mGL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV = 0x8E5A
pattern $bGL_MAX_PROGRAM_SUBROUTINE_NUM_NV :: a
$mGL_MAX_PROGRAM_SUBROUTINE_NUM_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PROGRAM_SUBROUTINE_NUM_NV = 0x8F45
pattern $bGL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV :: a
$mGL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV = 0x8F44
pattern $bGL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV :: a
$mGL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5F
pattern $bGL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV :: a
$mGL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV = 0x8E5B
pattern $bGL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV :: a
$mGL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV :: forall r a. (Eq a, Num a) => a -> (Void# -> r) -> (Void# -> r) -> r
GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV = 0x8E5E