wined3d: Add ARB_vertex_type_2_10_10_10_rev extension.

Signed-off-by: Józef Kucia <jkucia@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Józef Kucia 2016-07-18 13:27:34 +02:00 committed by Alexandre Julliard
parent 5fca0a70af
commit 57d2b83d0d
2 changed files with 3 additions and 0 deletions

View File

@ -168,6 +168,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
{"GL_ARB_vertex_buffer_object", ARB_VERTEX_BUFFER_OBJECT }, {"GL_ARB_vertex_buffer_object", ARB_VERTEX_BUFFER_OBJECT },
{"GL_ARB_vertex_program", ARB_VERTEX_PROGRAM }, {"GL_ARB_vertex_program", ARB_VERTEX_PROGRAM },
{"GL_ARB_vertex_shader", ARB_VERTEX_SHADER }, {"GL_ARB_vertex_shader", ARB_VERTEX_SHADER },
{"GL_ARB_vertex_type_2_10_10_10_rev", ARB_VERTEX_TYPE_2_10_10_10_REV},
/* ATI */ /* ATI */
{"GL_ATI_fragment_shader", ATI_FRAGMENT_SHADER }, {"GL_ATI_fragment_shader", ATI_FRAGMENT_SHADER },
@ -3543,6 +3544,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter, DWORD
{ARB_TEXTURE_RGB10_A2UI, MAKEDWORD_VERSION(3, 3)}, {ARB_TEXTURE_RGB10_A2UI, MAKEDWORD_VERSION(3, 3)},
{ARB_TEXTURE_SWIZZLE, MAKEDWORD_VERSION(3, 3)}, {ARB_TEXTURE_SWIZZLE, MAKEDWORD_VERSION(3, 3)},
{ARB_TIMER_QUERY, MAKEDWORD_VERSION(3, 3)}, {ARB_TIMER_QUERY, MAKEDWORD_VERSION(3, 3)},
{ARB_VERTEX_TYPE_2_10_10_10_REV, MAKEDWORD_VERSION(3, 3)},
{ARB_ES2_COMPATIBILITY, MAKEDWORD_VERSION(4, 1)}, {ARB_ES2_COMPATIBILITY, MAKEDWORD_VERSION(4, 1)},

View File

@ -103,6 +103,7 @@ enum wined3d_gl_extension
ARB_VERTEX_BUFFER_OBJECT, ARB_VERTEX_BUFFER_OBJECT,
ARB_VERTEX_PROGRAM, ARB_VERTEX_PROGRAM,
ARB_VERTEX_SHADER, ARB_VERTEX_SHADER,
ARB_VERTEX_TYPE_2_10_10_10_REV,
/* ATI */ /* ATI */
ATI_FRAGMENT_SHADER, ATI_FRAGMENT_SHADER,
ATI_SEPARATE_STENCIL, ATI_SEPARATE_STENCIL,