Skip to content

Commit

Permalink
[OpenGL] Add KHR extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
squid233 committed Aug 23, 2023
1 parent d30e253 commit 105383f
Show file tree
Hide file tree
Showing 16 changed files with 307 additions and 158 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@

package overrungl.opengl

import overrungl.opengl.OpenGLExt.ARB
import overrungl.opengl.OpenGLExt.CORE
import overrungl.opengl.OpenGLExt.*
import java.nio.file.Files
import kotlin.io.path.Path

enum class OpenGLExt(val dir: String, val packageName: String, val extName: String) {
CORE("", "", ""),
ARB("ext/arb", ".ext.arb", "ARB")
ARB("ext/arb", ".ext.arb", "ARB"),
KHR("ext/khr", ".ext.khr", "KHR")
}

data class Type(val name: String, val layout: String?) {
Expand Down Expand Up @@ -185,11 +185,7 @@ fun file(
}
}

/**
* @author squid233
* @since 0.1.0
*/
fun main() {
fun arb() {
file("Robustness", ARB, "GL_ARB_robustness") {
"GL_NO_RESET_NOTIFICATION_ARB"("0x8261")
"GL_RESET_NOTIFICATION_STRATEGY_ARB"("0x8256")
Expand Down Expand Up @@ -824,3 +820,91 @@ fun main() {
"glWindowPos3svARB"(void, address("v", "const GLshort *"))
}
}

fun khr() {
file("BlendEquationAdvanced", KHR, "GL_KHR_blend_equation_advanced") {
"GL_MULTIPLY_KHR"("0x9294")
"GL_SCREEN_KHR"("0x9295")
"GL_OVERLAY_KHR"("0x9296")
"GL_DARKEN_KHR"("0x9297")
"GL_LIGHTEN_KHR"("0x9298")
"GL_COLORDODGE_KHR"("0x9299")
"GL_COLORBURN_KHR"("0x929A")
"GL_HARDLIGHT_KHR"("0x929B")
"GL_SOFTLIGHT_KHR"("0x929C")
"GL_DIFFERENCE_KHR"("0x929E")
"GL_EXCLUSION_KHR"("0x92A0")
"GL_HSL_HUE_KHR"("0x92AD")
"GL_HSL_SATURATION_KHR"("0x92AE")
"GL_HSL_COLOR_KHR"("0x92AF")
"GL_HSL_LUMINOSITY_KHR"("0x92B0")
"glBlendBarrierKHR"(void)
}
file("BlendEquationAdvancedCoherent", KHR, "GL_KHR_blend_equation_advanced_coherent") {
"GL_BLEND_ADVANCED_COHERENT_KHR"("0x9285")
}
file("NoError", KHR, "GL_KHR_no_error") {
"GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR"("0x00000008")
}
file("ParallelShaderCompile", KHR, "GL_KHR_parallel_shader_compile") {
"GL_MAX_SHADER_COMPILER_THREADS_KHR"("0x91B0")
"GL_COMPLETION_STATUS_KHR"("0x91B1")
"glMaxShaderCompilerThreadsKHR"(void, GLuint("count"))
}
file("Robustness", KHR, "GL_KHR_robustness") {
"GL_CONTEXT_ROBUST_ACCESS"("0x90F3")
}
file("ShaderSubgroup", KHR, "GL_KHR_shader_subgroup") {
"GL_SUBGROUP_SIZE_KHR"("0x9532")
"GL_SUBGROUP_SUPPORTED_STAGES_KHR"("0x9533")
"GL_SUBGROUP_SUPPORTED_FEATURES_KHR"("0x9534")
"GL_SUBGROUP_QUAD_ALL_STAGES_KHR"("0x9535")
"GL_SUBGROUP_FEATURE_BASIC_BIT_KHR"("0x00000001")
"GL_SUBGROUP_FEATURE_VOTE_BIT_KHR"("0x00000002")
"GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR"("0x00000004")
"GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR"("0x00000008")
"GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR"("0x00000010")
"GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR"("0x00000020")
"GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR"("0x00000040")
"GL_SUBGROUP_FEATURE_QUAD_BIT_KHR"("0x00000080")
}
file("TextureCompressionAstcHdr", KHR, "GL_KHR_texture_compression_astc_hdr") {
"GL_COMPRESSED_RGBA_ASTC_4x4_KHR"("0x93B0")
"GL_COMPRESSED_RGBA_ASTC_5x4_KHR"("0x93B1")
"GL_COMPRESSED_RGBA_ASTC_5x5_KHR"("0x93B2")
"GL_COMPRESSED_RGBA_ASTC_6x5_KHR"("0x93B3")
"GL_COMPRESSED_RGBA_ASTC_6x6_KHR"("0x93B4")
"GL_COMPRESSED_RGBA_ASTC_8x5_KHR"("0x93B5")
"GL_COMPRESSED_RGBA_ASTC_8x6_KHR"("0x93B6")
"GL_COMPRESSED_RGBA_ASTC_8x8_KHR"("0x93B7")
"GL_COMPRESSED_RGBA_ASTC_10x5_KHR"("0x93B8")
"GL_COMPRESSED_RGBA_ASTC_10x6_KHR"("0x93B9")
"GL_COMPRESSED_RGBA_ASTC_10x8_KHR"("0x93BA")
"GL_COMPRESSED_RGBA_ASTC_10x10_KHR"("0x93BB")
"GL_COMPRESSED_RGBA_ASTC_12x10_KHR"("0x93BC")
"GL_COMPRESSED_RGBA_ASTC_12x12_KHR"("0x93BD")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR"("0x93D0")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR"("0x93D1")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR"("0x93D2")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR"("0x93D3")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR"("0x93D4")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR"("0x93D5")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR"("0x93D6")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR"("0x93D7")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR"("0x93D8")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR"("0x93D9")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR"("0x93DA")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR"("0x93DB")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR"("0x93DC")
"GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR"("0x93DD")
}
}

/**
* @author squid233
* @since 0.1.0
*/
fun main() {
arb()
khr()
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

package overrungl.opengl;

import overrungl.opengl.ext.arb.GLARBWindowPos;

import java.lang.foreign.MemorySegment;
import java.lang.foreign.SegmentAllocator;

Expand All @@ -24,6 +26,11 @@

/**
* The OpenGL 1.4 functions.
* <p>
* These extensions are promoted in this version:
* <ul>
* <li>{@linkplain GLARBWindowPos GL_ARB_window_pos}</li>
* </ul>
*
* @author squid233
* @since 0.1.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@

package overrungl.opengl;

import overrungl.opengl.ext.arb.GLARBOcclusionQuery;
import overrungl.internal.RuntimeHelper;
import overrungl.opengl.ext.arb.GLARBOcclusionQuery;
import overrungl.opengl.ext.arb.GLARBVertexBufferObject;
import overrungl.util.MemoryStack;

import java.lang.foreign.MemorySegment;
Expand All @@ -32,6 +33,7 @@
* These extensions are promoted in this version:
* <ul>
* <li>{@linkplain GLARBOcclusionQuery GL_ARB_occlusion_query}</li>
* <li>{@linkplain GLARBVertexBufferObject GL_ARB_vertex_buffer_object}</li>
* </ul>
*
* @author squid233
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@
package overrungl.opengl;

import org.jetbrains.annotations.Nullable;
import overrungl.internal.RuntimeHelper;
import overrungl.opengl.ext.arb.GLARBDrawBuffers;
import overrungl.opengl.ext.arb.GLARBFragmentProgram;
import overrungl.opengl.ext.arb.GLARBShaderObjects;
import overrungl.internal.RuntimeHelper;
import overrungl.opengl.ext.arb.GLARBVertexProgram;
import overrungl.util.MemoryStack;

import java.lang.foreign.Arena;
Expand All @@ -39,6 +40,7 @@
* <li>{@linkplain GLARBDrawBuffers GL_ARB_draw_buffers}</li>
* <li>{@linkplain GLARBFragmentProgram GL_ARB_fragment_program}</li>
* <li>{@linkplain GLARBShaderObjects GL_ARB_shader_objects}</li>
* <li>{@linkplain GLARBVertexProgram GL_ARB_vertex_program}</li>
* </ul>
*
* @author squid233
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import org.jetbrains.annotations.Nullable;
import overrungl.internal.RuntimeHelper;
import overrungl.opengl.ext.arb.GLARBViewportArray;
import overrungl.util.MemoryStack;

import java.lang.foreign.MemorySegment;
Expand All @@ -36,7 +37,7 @@
* <li>GL_ARB_get_program_binary</li>
* <li>GL_ARB_separate_shader_objects</li>
* <li>GL_ARB_vertex_attrib_64bit</li>
* <li>GL_ARB_viewport_array</li>
* <li>{@link GLARBViewportArray GL_ARB_viewport_array}</li>
* </ul>
*
* @author squid233
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_BINORMAL_ARRAY_STRIDE_EXT = 0x8441;
public static final int GL_BINORMAL_ARRAY_TYPE_EXT = 0x8440;
public static final int GL_BLACKHOLE_RENDER_INTEL = 0x83FC;
public static final int GL_BLEND_ADVANCED_COHERENT_KHR = 0x9285;
public static final int GL_BLEND_ADVANCED_COHERENT_NV = 0x9285;
public static final int GL_BLEND_COLOR_COMMAND_NV = 0x000B;
public static final int GL_BLEND_COLOR_EXT = 0x8005;
Expand Down Expand Up @@ -187,9 +186,7 @@ public sealed class GLConstC permits GLConst {
public static final int GL_CND_ATI = 0x896A;
public static final int GL_COLOR3_BIT_PGI = 0x00010000;
public static final int GL_COLOR4_BIT_PGI = 0x00020000;
public static final int GL_COLORBURN_KHR = 0x929A;
public static final int GL_COLORBURN_NV = 0x929A;
public static final int GL_COLORDODGE_KHR = 0x9299;
public static final int GL_COLORDODGE_NV = 0x9299;
public static final int GL_COLOR_ALPHA_PAIRING_ATI = 0x8975;
public static final int GL_COLOR_ARRAY_ADDRESS_NV = 0x8F23;
Expand Down Expand Up @@ -268,25 +265,10 @@ public sealed class GLConstC permits GLConst {
public static final int GL_COMBINE_RGB_EXT = 0x8571;
public static final int GL_COMMAND_BARRIER_BIT_EXT = 0x00000040;
public static final int GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT = 0x884E;
public static final int GL_COMPLETION_STATUS_KHR = 0x91B1;
public static final int GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT = 0x8C72;
public static final int GL_COMPRESSED_LUMINANCE_LATC1_EXT = 0x8C70;
public static final int GL_COMPRESSED_RED_GREEN_RGTC2_EXT = 0x8DBD;
public static final int GL_COMPRESSED_RED_RGTC1_EXT = 0x8DBB;
public static final int GL_COMPRESSED_RGBA_ASTC_10x10_KHR = 0x93BB;
public static final int GL_COMPRESSED_RGBA_ASTC_10x5_KHR = 0x93B8;
public static final int GL_COMPRESSED_RGBA_ASTC_10x6_KHR = 0x93B9;
public static final int GL_COMPRESSED_RGBA_ASTC_10x8_KHR = 0x93BA;
public static final int GL_COMPRESSED_RGBA_ASTC_12x10_KHR = 0x93BC;
public static final int GL_COMPRESSED_RGBA_ASTC_12x12_KHR = 0x93BD;
public static final int GL_COMPRESSED_RGBA_ASTC_4x4_KHR = 0x93B0;
public static final int GL_COMPRESSED_RGBA_ASTC_5x4_KHR = 0x93B1;
public static final int GL_COMPRESSED_RGBA_ASTC_5x5_KHR = 0x93B2;
public static final int GL_COMPRESSED_RGBA_ASTC_6x5_KHR = 0x93B3;
public static final int GL_COMPRESSED_RGBA_ASTC_6x6_KHR = 0x93B4;
public static final int GL_COMPRESSED_RGBA_ASTC_8x5_KHR = 0x93B5;
public static final int GL_COMPRESSED_RGBA_ASTC_8x6_KHR = 0x93B6;
public static final int GL_COMPRESSED_RGBA_ASTC_8x8_KHR = 0x93B7;
public static final int GL_COMPRESSED_RGBA_FXT1_3DFX = 0x86B1;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT1_EXT = 0x83F1;
public static final int GL_COMPRESSED_RGBA_S3TC_DXT3_EXT = 0x83F2;
Expand All @@ -299,20 +281,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_COMPRESSED_SIGNED_RED_RGTC1_EXT = 0x8DBC;
public static final int GL_COMPRESSED_SLUMINANCE_ALPHA_EXT = 0x8C4B;
public static final int GL_COMPRESSED_SLUMINANCE_EXT = 0x8C4A;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR = 0x93DB;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR = 0x93D8;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR = 0x93D9;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR = 0x93DA;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR = 0x93DC;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR = 0x93DD;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR = 0x93D0;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR = 0x93D1;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR = 0x93D2;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR = 0x93D3;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR = 0x93D4;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR = 0x93D5;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR = 0x93D6;
public static final int GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR = 0x93D7;
public static final int GL_COMPRESSED_SRGB_ALPHA_EXT = 0x8C49;
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT = 0x8C4D;
public static final int GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT = 0x8C4E;
Expand Down Expand Up @@ -342,7 +310,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_CONSTANT_COLOR_EXT = 0x8001;
public static final int GL_CONSTANT_EXT = 0x8576;
public static final int GL_CONST_EYE_NV = 0x86E5;
public static final int GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR = 0x00000008;
public static final int GL_CONTINUOUS_AMD = 0x9007;
public static final int GL_CONTRAST_NV = 0x92A1;
public static final int GL_CONVEX_HULL_NV = 0x908B;
Expand Down Expand Up @@ -423,7 +390,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_CURRENT_VERTEX_EXT = 0x87E2;
public static final int GL_CURRENT_VERTEX_WEIGHT_EXT = 0x850B;
public static final int GL_D3D12_FENCE_VALUE_EXT = 0x9595;
public static final int GL_DARKEN_KHR = 0x9297;
public static final int GL_DARKEN_NV = 0x9297;
public static final int GL_DATA_BUFFER_AMD = 0x9151;
public static final int GL_DECODE_EXT = 0x8A49;
Expand Down Expand Up @@ -469,7 +435,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_DEVICE_LUID_EXT = 0x9599;
public static final int GL_DEVICE_NODE_MASK_EXT = 0x959A;
public static final int GL_DEVICE_UUID_EXT = 0x9597;
public static final int GL_DIFFERENCE_KHR = 0x929E;
public static final int GL_DIFFERENCE_NV = 0x929E;
public static final int GL_DISCARD_ATI = 0x8763;
public static final int GL_DISCARD_NV = 0x8530;
Expand Down Expand Up @@ -631,7 +596,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_EVAL_VERTEX_ATTRIB7_NV = 0x86CD;
public static final int GL_EVAL_VERTEX_ATTRIB8_NV = 0x86CE;
public static final int GL_EVAL_VERTEX_ATTRIB9_NV = 0x86CF;
public static final int GL_EXCLUSION_KHR = 0x92A0;
public static final int GL_EXCLUSION_NV = 0x92A0;
public static final int GL_EXCLUSIVE_EXT = 0x8F11;
public static final int GL_EXPAND_NEGATE_NV = 0x8539;
Expand Down Expand Up @@ -838,7 +802,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_HANDLE_TYPE_OPAQUE_FD_EXT = 0x9586;
public static final int GL_HANDLE_TYPE_OPAQUE_WIN32_EXT = 0x9587;
public static final int GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT = 0x9588;
public static final int GL_HARDLIGHT_KHR = 0x929B;
public static final int GL_HARDLIGHT_NV = 0x929B;
public static final int GL_HARDMIX_NV = 0x92A9;
public static final int GL_HILO16_NV = 0x86F8;
Expand All @@ -856,13 +819,9 @@ public sealed class GLConstC permits GLConst {
public static final int GL_HI_BIAS_NV = 0x8714;
public static final int GL_HI_SCALE_NV = 0x870E;
public static final int GL_HORIZONTAL_LINE_TO_NV = 0x06;
public static final int GL_HSL_COLOR_KHR = 0x92AF;
public static final int GL_HSL_COLOR_NV = 0x92AF;
public static final int GL_HSL_HUE_KHR = 0x92AD;
public static final int GL_HSL_HUE_NV = 0x92AD;
public static final int GL_HSL_LUMINOSITY_KHR = 0x92B0;
public static final int GL_HSL_LUMINOSITY_NV = 0x92B0;
public static final int GL_HSL_SATURATION_KHR = 0x92AE;
public static final int GL_HSL_SATURATION_NV = 0x92AE;
public static final int GL_IDENTITY_NV = 0x862A;
public static final int GL_IGNORE_BORDER_HP = 0x8150;
Expand Down Expand Up @@ -1004,7 +963,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_LAYOUT_TRANSFER_SRC_EXT = 0x9592;
public static final int GL_LERP_ATI = 0x8969;
public static final int GL_LGPU_SEPARATE_STORAGE_BIT_NVX = 0x0800;
public static final int GL_LIGHTEN_KHR = 0x9298;
public static final int GL_LIGHTEN_NV = 0x9298;
public static final int GL_LIGHT_ENV_MODE_SGIX = 0x8407;
public static final int GL_LIGHT_MODEL_COLOR_CONTROL_EXT = 0x81F8;
Expand Down Expand Up @@ -1286,7 +1244,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_MAX_SAMPLES_EXT = 0x8D57;
public static final int GL_MAX_SAMPLE_MASK_WORDS_NV = 0x8E59;
public static final int GL_MAX_SHADER_BUFFER_ADDRESS_NV = 0x8F35;
public static final int GL_MAX_SHADER_COMPILER_THREADS_KHR = 0x91B0;
public static final int GL_MAX_SHININESS_NV = 0x8504;
public static final int GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD = 0x9199;
public static final int GL_MAX_SPARSE_TEXTURE_SIZE_AMD = 0x9198;
Expand Down Expand Up @@ -1382,7 +1339,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_MOV_ATI = 0x8961;
public static final int GL_MULTICAST_GPUS_NV = 0x92BA;
public static final int GL_MULTICAST_PROGRAMMABLE_SAMPLE_LOCATION_NV = 0x9549;
public static final int GL_MULTIPLY_KHR = 0x9294;
public static final int GL_MULTIPLY_NV = 0x9294;
public static final int GL_MULTISAMPLES_NV = 0x9371;
public static final int GL_MULTISAMPLE_3DFX = 0x86B2;
Expand Down Expand Up @@ -1537,7 +1493,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_OUTPUT_TEXTURE_COORD8_EXT = 0x87A5;
public static final int GL_OUTPUT_TEXTURE_COORD9_EXT = 0x87A6;
public static final int GL_OUTPUT_VERTEX_EXT = 0x879A;
public static final int GL_OVERLAY_KHR = 0x9296;
public static final int GL_OVERLAY_NV = 0x9296;
public static final int GL_PACK_CMYK_HINT_EXT = 0x800E;
public static final int GL_PACK_IMAGE_DEPTH_SGIS = 0x8131;
Expand Down Expand Up @@ -2046,7 +2001,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_SCISSOR_BOX_EXCLUSIVE_NV = 0x9556;
public static final int GL_SCISSOR_COMMAND_NV = 0x0011;
public static final int GL_SCISSOR_TEST_EXCLUSIVE_NV = 0x9555;
public static final int GL_SCREEN_KHR = 0x9295;
public static final int GL_SCREEN_NV = 0x9295;
public static final int GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV = 0x8F27;
public static final int GL_SECONDARY_COLOR_ARRAY_EXT = 0x845E;
Expand Down Expand Up @@ -2136,7 +2090,6 @@ public sealed class GLConstC permits GLConst {
public static final int GL_SMOOTH_CUBIC_CURVE_TO_NV = 0x10;
public static final int GL_SMOOTH_QUADRATIC_CURVE_TO_NV = 0x0E;
public static final int GL_SM_COUNT_NV = 0x933B;
public static final int GL_SOFTLIGHT_KHR = 0x929C;
public static final int GL_SOFTLIGHT_NV = 0x929C;
public static final int GL_SOURCE0_ALPHA_EXT = 0x8588;
public static final int GL_SOURCE0_RGB_EXT = 0x8580;
Expand Down Expand Up @@ -2197,19 +2150,7 @@ public sealed class GLConstC permits GLConst {
public static final int GL_STRICT_DEPTHFUNC_HINT_PGI = 0x1A216;
public static final int GL_STRICT_LIGHTING_HINT_PGI = 0x1A217;
public static final int GL_STRICT_SCISSOR_HINT_PGI = 0x1A218;
public static final int GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR = 0x00000004;
public static final int GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR = 0x00000008;
public static final int GL_SUBGROUP_FEATURE_BASIC_BIT_KHR = 0x00000001;
public static final int GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR = 0x00000040;
public static final int GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV = 0x00000100;
public static final int GL_SUBGROUP_FEATURE_QUAD_BIT_KHR = 0x00000080;
public static final int GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR = 0x00000010;
public static final int GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR = 0x00000020;
public static final int GL_SUBGROUP_FEATURE_VOTE_BIT_KHR = 0x00000002;
public static final int GL_SUBGROUP_QUAD_ALL_STAGES_KHR = 0x9535;
public static final int GL_SUBGROUP_SIZE_KHR = 0x9532;
public static final int GL_SUBGROUP_SUPPORTED_FEATURES_KHR = 0x9534;
public static final int GL_SUBGROUP_SUPPORTED_STAGES_KHR = 0x9533;
public static final int GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV = 0x9347;
public static final int GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV = 0x9348;
public static final int GL_SUBSAMPLE_DISTANCE_AMD = 0x883F;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import overrungl.opengl.ext.amd.*;
import overrungl.opengl.ext.apple.*;
import overrungl.opengl.ext.arb.*;
import overrungl.opengl.ext.khr.GLKHRBlendEquationAdvanced;
import overrungl.opengl.ext.khr.GLKHRParallelShaderCompile;
import overrungl.opengl.ext.sun.*;

import java.lang.invoke.MethodHandle;
Expand Down
Loading

0 comments on commit 105383f

Please sign in to comment.