diff --git a/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java b/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java index fd464686..57a45b5d 100644 --- a/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java +++ b/src/templates/org/lwjgl/opengl/EXT_direct_state_access.java @@ -520,11 +520,11 @@ public interface EXT_direct_state_access { value parameters */ - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Optional(reason = "AMD does not expose this (last driver checked: 14.7)") @Dependent("OpenGL30") void glEnableClientStateiEXT(@GLenum int array, @GLuint int index); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Optional(reason = "AMD does not expose this (last driver checked: 14.7)") @Dependent("OpenGL30") void glDisableClientStateiEXT(@GLenum int array, @GLuint int index); @@ -566,7 +566,7 @@ public interface EXT_direct_state_access { and before state value parameters */ - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Optional(reason = "AMD does not expose this (last driver checked: 14.7)") @Dependent("OpenGL30") @StripPostfix("params") void glGetFloati_vEXT(@GLenum int pname, @GLuint int index, @OutParameter @Check("16") FloatBuffer params); @@ -577,7 +577,7 @@ public interface EXT_direct_state_access { @StripPostfix("params") void glGetFloati_vEXT2(@GLenum int pname, @GLuint int index, @OutParameter FloatBuffer params); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Optional(reason = "AMD does not expose this (last driver checked: 14.7)") @Dependent("OpenGL30") @StripPostfix("params") void glGetDoublei_vEXT(@GLenum int pname, @GLuint int index, @OutParameter @Check("16") DoubleBuffer params); @@ -588,7 +588,7 @@ public interface EXT_direct_state_access { @StripPostfix("params") void glGetDoublei_vEXT2(@GLenum int pname, @GLuint int index, @OutParameter DoubleBuffer params); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Optional(reason = "AMD does not expose this (last driver checked: 14.7)") @Dependent("OpenGL30") @StripPostfix(value = "params", postfix = "i_v") void glGetPointeri_vEXT(@GLenum int pname, @GLuint int index, @Result @GLvoid ByteBuffer params); diff --git a/src/templates/org/lwjgl/opengl/GL32.java b/src/templates/org/lwjgl/opengl/GL32.java index a95519b2..a4df1dce 100644 --- a/src/templates/org/lwjgl/opengl/GL32.java +++ b/src/templates/org/lwjgl/opengl/GL32.java @@ -323,7 +323,6 @@ public interface GL32 { void glGetInteger64v2(@GLenum int pname, @OutParameter @GLint64 LongBuffer data); @StripPostfix("data") - @Optional(reason = "NV's 3.2 implementation does not expose this (last driver checked: 19?.??)") void glGetInteger64i_v(@GLenum int value, @GLuint int index, @OutParameter @Check("4") @GLint64 LongBuffer data); @Alternate("glGetInteger64i_v") diff --git a/src/templates/org/lwjgl/opengl/GL42.java b/src/templates/org/lwjgl/opengl/GL42.java index 92c13ccf..6f8e10ee 100644 --- a/src/templates/org/lwjgl/opengl/GL42.java +++ b/src/templates/org/lwjgl/opengl/GL42.java @@ -127,7 +127,6 @@ public interface GL42 { /** Returned in <params> by GetActiveUniform and GetActiveUniformsiv: */ int GL_UNSIGNED_INT_ATOMIC_COUNTER = 0x92DB; - @Optional(reason = "AMD's beta 4.2 driver (11.8) does not expose this") @StripPostfix("params") void glGetActiveAtomicCounterBufferiv(@GLuint int program, @GLuint int bufferIndex, @GLenum int pname, @Check("1") @OutParameter IntBuffer params); diff --git a/src/templates/org/lwjgl/opengl/NV_half_float.java b/src/templates/org/lwjgl/opengl/NV_half_float.java index 1c3cbc73..70c85873 100644 --- a/src/templates/org/lwjgl/opengl/NV_half_float.java +++ b/src/templates/org/lwjgl/opengl/NV_half_float.java @@ -39,6 +39,7 @@ import org.lwjgl.util.generator.opengl.GLuint; import java.nio.*; +@Dependent public interface NV_half_float { /** @@ -92,48 +93,50 @@ public interface NV_half_float { @NoErrorCheck void glMultiTexCoord4hNV(@GLenum int target, @GLhalf short s, @GLhalf short t, @GLhalf short r, @GLhalf short q); + @Dependent("GL_EXT_fog_coord") @NoErrorCheck void glFogCoordhNV(@GLhalf short fog); + @Dependent("GL_EXT_secondary_color") @NoErrorCheck void glSecondaryColor3hNV(@GLhalf short red, @GLhalf short green, @GLhalf short blue); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_EXT_vertex_weighting") @NoErrorCheck void glVertexWeighthNV(@GLhalf short weight); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck void glVertexAttrib1hNV(@GLuint int index, @GLhalf short x); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck void glVertexAttrib2hNV(@GLuint int index, @GLhalf short x, @GLhalf short y); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck void glVertexAttrib3hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck void glVertexAttrib4hNV(@GLuint int index, @GLhalf short x, @GLhalf short y, @GLhalf short z, @GLhalf short w); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck @StripPostfix("attribs") void glVertexAttribs1hvNV(@GLuint int index, @AutoSize("attribs") @GLsizei int n, @Const @GLhalf ShortBuffer attribs); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck @StripPostfix("attribs") void glVertexAttribs2hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 1") @GLsizei int n, @Const @GLhalf ShortBuffer attribs); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck @StripPostfix("attribs") void glVertexAttribs3hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " / 3") @GLsizei int n, @Const @GLhalf ShortBuffer attribs); - @Optional(reason = "AMD does not expose this (last driver checked: 11.7)") + @Dependent("GL_NV_vertex_program") @NoErrorCheck @StripPostfix("attribs") void glVertexAttribs4hvNV(@GLuint int index, @AutoSize(value = "attribs", expression = " >> 2") @GLsizei int n, @Const @GLhalf ShortBuffer attribs); diff --git a/src/templates/org/lwjgl/opengles/GLES30.java b/src/templates/org/lwjgl/opengles/GLES30.java index 2cdaefc4..febd342f 100644 --- a/src/templates/org/lwjgl/opengles/GLES30.java +++ b/src/templates/org/lwjgl/opengles/GLES30.java @@ -727,7 +727,6 @@ public interface GLES30 { void glGetInteger64v2(@GLenum int pname, @OutParameter @GLint64 LongBuffer data); @StripPostfix("data") - @Optional(reason = "NV's 3.2 implementation does not expose this (last driver checked: 19?.??)") void glGetInteger64i_v(@GLenum int value, @GLuint int index, @OutParameter @Check("4") @GLint64 LongBuffer data); @Alternate("glGetInteger64i_v")