-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly output generated code to files. Expose all extensions. Impor…
…ts must be safe now. Bumped version to 2.1.0.0.
- Loading branch information
Showing
507 changed files
with
17,629 additions
and
12,952 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- A convenience module, combining all raw modules containing AMD extensions. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD ( | ||
module Graphics.Rendering.OpenGL.Raw.AMD.BlendMinmaxFactor, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.DebugOutput, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.DepthClampSeparate, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.DrawBuffersBlend, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.GPUShaderInt64, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.InterleavedElements, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.MultiDrawIndirect, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.NameGenDelete, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.OcclusionQueryEvent, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.PerformanceMonitor, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.PinnedMemory, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.QueryBufferObject, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.SamplePositions, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.SeamlessCubemapPerTexture, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.SparseTexture, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.StencilOperationExtended, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.TransformFeedback4, | ||
module Graphics.Rendering.OpenGL.Raw.AMD.VertexShaderTessellator | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.AMD.BlendMinmaxFactor | ||
import Graphics.Rendering.OpenGL.Raw.AMD.DebugOutput | ||
import Graphics.Rendering.OpenGL.Raw.AMD.DepthClampSeparate | ||
import Graphics.Rendering.OpenGL.Raw.AMD.DrawBuffersBlend | ||
import Graphics.Rendering.OpenGL.Raw.AMD.GPUShaderInt64 | ||
import Graphics.Rendering.OpenGL.Raw.AMD.InterleavedElements | ||
import Graphics.Rendering.OpenGL.Raw.AMD.MultiDrawIndirect | ||
import Graphics.Rendering.OpenGL.Raw.AMD.NameGenDelete | ||
import Graphics.Rendering.OpenGL.Raw.AMD.OcclusionQueryEvent | ||
import Graphics.Rendering.OpenGL.Raw.AMD.PerformanceMonitor | ||
import Graphics.Rendering.OpenGL.Raw.AMD.PinnedMemory | ||
import Graphics.Rendering.OpenGL.Raw.AMD.QueryBufferObject | ||
import Graphics.Rendering.OpenGL.Raw.AMD.SamplePositions | ||
import Graphics.Rendering.OpenGL.Raw.AMD.SeamlessCubemapPerTexture | ||
import Graphics.Rendering.OpenGL.Raw.AMD.SparseTexture | ||
import Graphics.Rendering.OpenGL.Raw.AMD.StencilOperationExtended | ||
import Graphics.Rendering.OpenGL.Raw.AMD.TransformFeedback4 | ||
import Graphics.Rendering.OpenGL.Raw.AMD.VertexShaderTessellator |
21 changes: 21 additions & 0 deletions
21
src/Graphics/Rendering/OpenGL/Raw/AMD/BlendMinmaxFactor.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.BlendMinmaxFactor | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/blend_minmax_factor.txt AMD_blend_minmax_factor> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.BlendMinmaxFactor ( | ||
-- * Enums | ||
gl_FACTOR_MAX_AMD, | ||
gl_FACTOR_MIN_AMD | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Tokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.DebugOutput | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/debug_output.txt AMD_debug_output> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.DebugOutput ( | ||
-- * Enums | ||
gl_DEBUG_CATEGORY_API_ERROR_AMD, | ||
gl_DEBUG_CATEGORY_APPLICATION_AMD, | ||
gl_DEBUG_CATEGORY_DEPRECATION_AMD, | ||
gl_DEBUG_CATEGORY_OTHER_AMD, | ||
gl_DEBUG_CATEGORY_PERFORMANCE_AMD, | ||
gl_DEBUG_CATEGORY_SHADER_COMPILER_AMD, | ||
gl_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD, | ||
gl_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD, | ||
gl_DEBUG_LOGGED_MESSAGES_AMD, | ||
gl_DEBUG_SEVERITY_HIGH_AMD, | ||
gl_DEBUG_SEVERITY_LOW_AMD, | ||
gl_DEBUG_SEVERITY_MEDIUM_AMD, | ||
gl_MAX_DEBUG_LOGGED_MESSAGES_AMD, | ||
gl_MAX_DEBUG_MESSAGE_LENGTH_AMD, | ||
-- * Functions | ||
glDebugMessageCallbackAMD, | ||
glDebugMessageEnableAMD, | ||
glDebugMessageInsertAMD, | ||
glGetDebugMessageLogAMD | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Tokens | ||
import Graphics.Rendering.OpenGL.Raw.Functions |
21 changes: 21 additions & 0 deletions
21
src/Graphics/Rendering/OpenGL/Raw/AMD/DepthClampSeparate.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.DepthClampSeparate | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/depth_clamp_separate.txt AMD_depth_clamp_separate> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.DepthClampSeparate ( | ||
-- * Enums | ||
gl_DEPTH_CLAMP_FAR_AMD, | ||
gl_DEPTH_CLAMP_NEAR_AMD | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Tokens |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.DrawBuffersBlend | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/draw_buffers_blend.txt AMD_draw_buffers_blend> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.DrawBuffersBlend ( | ||
-- * Functions | ||
glBlendEquationIndexedAMD, | ||
glBlendEquationSeparateIndexedAMD, | ||
glBlendFuncIndexedAMD, | ||
glBlendFuncSeparateIndexedAMD | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,83 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.GPUShaderInt64 | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/gpu_shader_int64.txt AMD_gpu_shader_int64> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.GPUShaderInt64 ( | ||
-- * Enums | ||
gl_FLOAT16_NV, | ||
gl_FLOAT16_VEC2_NV, | ||
gl_FLOAT16_VEC3_NV, | ||
gl_FLOAT16_VEC4_NV, | ||
gl_INT16_NV, | ||
gl_INT16_VEC2_NV, | ||
gl_INT16_VEC3_NV, | ||
gl_INT16_VEC4_NV, | ||
gl_INT64_NV, | ||
gl_INT64_VEC2_NV, | ||
gl_INT64_VEC3_NV, | ||
gl_INT64_VEC4_NV, | ||
gl_INT8_NV, | ||
gl_INT8_VEC2_NV, | ||
gl_INT8_VEC3_NV, | ||
gl_INT8_VEC4_NV, | ||
gl_UNSIGNED_INT16_NV, | ||
gl_UNSIGNED_INT16_VEC2_NV, | ||
gl_UNSIGNED_INT16_VEC3_NV, | ||
gl_UNSIGNED_INT16_VEC4_NV, | ||
gl_UNSIGNED_INT64_NV, | ||
gl_UNSIGNED_INT64_VEC2_NV, | ||
gl_UNSIGNED_INT64_VEC3_NV, | ||
gl_UNSIGNED_INT64_VEC4_NV, | ||
gl_UNSIGNED_INT8_NV, | ||
gl_UNSIGNED_INT8_VEC2_NV, | ||
gl_UNSIGNED_INT8_VEC3_NV, | ||
gl_UNSIGNED_INT8_VEC4_NV, | ||
-- * Functions | ||
glGetUniformi64vNV, | ||
glGetUniformui64vNV, | ||
glProgramUniform1i64NV, | ||
glProgramUniform1i64vNV, | ||
glProgramUniform1ui64NV, | ||
glProgramUniform1ui64vNV, | ||
glProgramUniform2i64NV, | ||
glProgramUniform2i64vNV, | ||
glProgramUniform2ui64NV, | ||
glProgramUniform2ui64vNV, | ||
glProgramUniform3i64NV, | ||
glProgramUniform3i64vNV, | ||
glProgramUniform3ui64NV, | ||
glProgramUniform3ui64vNV, | ||
glProgramUniform4i64NV, | ||
glProgramUniform4i64vNV, | ||
glProgramUniform4ui64NV, | ||
glProgramUniform4ui64vNV, | ||
glUniform1i64NV, | ||
glUniform1i64vNV, | ||
glUniform1ui64NV, | ||
glUniform1ui64vNV, | ||
glUniform2i64NV, | ||
glUniform2i64vNV, | ||
glUniform2ui64NV, | ||
glUniform2ui64vNV, | ||
glUniform3i64NV, | ||
glUniform3i64vNV, | ||
glUniform3ui64NV, | ||
glUniform3ui64vNV, | ||
glUniform4i64NV, | ||
glUniform4i64vNV, | ||
glUniform4ui64NV, | ||
glUniform4ui64vNV | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Tokens | ||
import Graphics.Rendering.OpenGL.Raw.Functions |
31 changes: 31 additions & 0 deletions
31
src/Graphics/Rendering/OpenGL/Raw/AMD/InterleavedElements.hs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
-------------------------------------------------------------------------------- | ||
-- | | ||
-- Module : Graphics.Rendering.OpenGL.Raw.AMD.InterleavedElements | ||
-- Copyright : (c) Sven Panne 2015 | ||
-- License : BSD3 | ||
-- | ||
-- Maintainer : Sven Panne <[email protected]> | ||
-- Stability : stable | ||
-- Portability : portable | ||
-- | ||
-- The <https://www.opengl.org/registry/specs/AMD/interleaved_elements.txt AMD_interleaved_elements> extension. | ||
-- | ||
-------------------------------------------------------------------------------- | ||
|
||
module Graphics.Rendering.OpenGL.Raw.AMD.InterleavedElements ( | ||
-- * Enums | ||
gl_ALPHA, | ||
gl_BLUE, | ||
gl_GREEN, | ||
gl_RED, | ||
gl_RG16UI, | ||
gl_RG8UI, | ||
gl_RGBA8UI, | ||
gl_VERTEX_ELEMENT_SWIZZLE_AMD, | ||
gl_VERTEX_ID_SWIZZLE_AMD, | ||
-- * Functions | ||
glVertexAttribParameteriAMD | ||
) where | ||
|
||
import Graphics.Rendering.OpenGL.Raw.Tokens | ||
import Graphics.Rendering.OpenGL.Raw.Functions |
Oops, something went wrong.
790774b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was wondering why