mesa: fix incomplete GL_NV_half_float implementation

All of the VertexAttrib* functions were missing.

Fixes: ef66e02a40 ("src/mesa: add GL_NV_half_float extension support (v2)")

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10431>
This commit is contained in:
Timothy Arceri
2021-04-23 20:39:50 +10:00
committed by Marge Bot
parent 48d48fbf3c
commit a02a0df2a2
7 changed files with 265 additions and 0 deletions
+70
View File
@@ -150,6 +150,76 @@
<param name="v" type="const GLhalfNV *" count="4"/>
</function>
<function name="VertexAttrib1hNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="x" type="GLhalfNV"/>
</function>
<function name="VertexAttrib1hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="v" type="const GLhalfNV *" count="1"/>
</function>
<function name="VertexAttrib2hNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="x" type="GLhalfNV"/>
<param name="y" type="GLhalfNV"/>
</function>
<function name="VertexAttrib2hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="v" type="const GLhalfNV *" count="2"/>
</function>
<function name="VertexAttrib3hNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="x" type="GLhalfNV"/>
<param name="y" type="GLhalfNV"/>
<param name="z" type="GLhalfNV"/>
</function>
<function name="VertexAttrib3hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="v" type="const GLhalfNV *" count="3"/>
</function>
<function name="VertexAttrib4hNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="x" type="GLhalfNV"/>
<param name="y" type="GLhalfNV"/>
<param name="z" type="GLhalfNV"/>
<param name="w" type="GLhalfNV"/>
</function>
<function name="VertexAttrib4hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="v" type="const GLhalfNV *" count="4"/>
</function>
<function name="VertexAttribs1hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="n" type="GLsizei"/>
<param name="v" type="const GLhalfNV *" count="n"/>
</function>
<function name="VertexAttribs2hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="n" type="GLsizei"/>
<param name="v" type="const GLhalfNV *" count="n" count_scale="2"/>
</function>
<function name="VertexAttribs3hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="n" type="GLsizei"/>
<param name="v" type="const GLhalfNV *" count="n" count_scale="3"/>
</function>
<function name="VertexAttribs4hvNV" exec="dynamic" deprecated="3.1">
<param name="index" type="GLuint"/>
<param name="n" type="GLsizei"/>
<param name="v" type="const GLhalfNV *" count="n" count_scale="4"/>
</function>
<function name="FogCoordhNV" exec="dynamic" deprecated="3.1">
<param name="x" type="GLhalfNV"/>
</function>
+12
View File
@@ -1677,6 +1677,18 @@ offsets = {
"SecondaryColor3hNV": 1641,
"SecondaryColor3hvNV": 1642,
"InternalSetError": 1643,
"VertexAttrib1hNV": 1644,
"VertexAttrib1hvNV": 1645,
"VertexAttrib2hNV": 1646,
"VertexAttrib2hvNV": 1647,
"VertexAttrib3hNV": 1648,
"VertexAttrib3hvNV": 1649,
"VertexAttrib4hNV": 1650,
"VertexAttrib4hvNV": 1651,
"VertexAttribs1hvNV": 1652,
"VertexAttribs2hvNV": 1653,
"VertexAttribs3hvNV": 1654,
"VertexAttribs4hvNV": 1655,
}
functions = [