wined3d: Add ARB_clear_buffer_object 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:
parent
68590a412d
commit
cc8fbe7887
|
@ -111,6 +111,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
|
|||
|
||||
/* ARB */
|
||||
{"GL_ARB_blend_func_extended", ARB_BLEND_FUNC_EXTENDED },
|
||||
{"GL_ARB_clear_buffer_object", ARB_CLEAR_BUFFER_OBJECT },
|
||||
{"GL_ARB_clear_texture", ARB_CLEAR_TEXTURE },
|
||||
{"GL_ARB_clip_control", ARB_CLIP_CONTROL },
|
||||
{"GL_ARB_color_buffer_float", ARB_COLOR_BUFFER_FLOAT },
|
||||
|
@ -2681,6 +2682,9 @@ static void load_gl_funcs(struct wined3d_gl_info *gl_info)
|
|||
/* GL_ARB_blend_func_extended */
|
||||
USE_GL_FUNC(glBindFragDataLocationIndexed)
|
||||
USE_GL_FUNC(glGetFragDataIndex)
|
||||
/* GL_ARB_clear_buffer_object */
|
||||
USE_GL_FUNC(glClearBufferData)
|
||||
USE_GL_FUNC(glClearBufferSubData)
|
||||
/* GL_ARB_clear_texture */
|
||||
USE_GL_FUNC(glClearTexImage)
|
||||
USE_GL_FUNC(glClearTexSubImage)
|
||||
|
@ -3874,6 +3878,7 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter,
|
|||
{ARB_TEXTURE_COMPRESSION_BPTC, MAKEDWORD_VERSION(4, 2)},
|
||||
{ARB_TEXTURE_STORAGE, MAKEDWORD_VERSION(4, 2)},
|
||||
|
||||
{ARB_CLEAR_BUFFER_OBJECT, MAKEDWORD_VERSION(4, 3)},
|
||||
{ARB_COMPUTE_SHADER, MAKEDWORD_VERSION(4, 3)},
|
||||
{ARB_DEBUG_OUTPUT, MAKEDWORD_VERSION(4, 3)},
|
||||
{ARB_ES3_COMPATIBILITY, MAKEDWORD_VERSION(4, 3)},
|
||||
|
|
|
@ -44,6 +44,7 @@ enum wined3d_gl_extension
|
|||
APPLE_YCBCR_422,
|
||||
/* ARB */
|
||||
ARB_BLEND_FUNC_EXTENDED,
|
||||
ARB_CLEAR_BUFFER_OBJECT,
|
||||
ARB_CLEAR_TEXTURE,
|
||||
ARB_CLIP_CONTROL,
|
||||
ARB_COLOR_BUFFER_FLOAT,
|
||||
|
|
Loading…
Reference in New Issue