diff options
author | Nicolai Hähnle <[email protected]> | 2017-02-02 20:47:31 +0100 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-04-05 10:31:01 +0200 |
commit | d085c7ce7c7da3441ea6320c4eb690d665d8c8dc (patch) | |
tree | a9a189e9e5ecec864f1015a1a5f1b32575f9d799 /src/mapi | |
parent | a0970de8398fa292299f42c2664b59f58ee61aa2 (diff) |
mesa: Add GL_ARB_sparse_buffer boilerplate
Reviewed-by: Ian Romanick <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi')
-rw-r--r-- | src/mapi/glapi/gen/ARB_sparse_buffer.xml | 30 | ||||
-rw-r--r-- | src/mapi/glapi/gen/Makefile.am | 1 | ||||
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 3 |
3 files changed, 34 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/ARB_sparse_buffer.xml b/src/mapi/glapi/gen/ARB_sparse_buffer.xml new file mode 100644 index 00000000000..90bc659fdaf --- /dev/null +++ b/src/mapi/glapi/gen/ARB_sparse_buffer.xml @@ -0,0 +1,30 @@ +<?xml version="1.0"?> +<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd"> + +<OpenGLAPI> + +<category name="GL_ARB_sparse_buffer" number="172"> + + <function name="BufferPageCommitmentARB"> + <param name="target" type="GLenum"/> + <param name="offset" type="GLintptr"/> + <param name="size" type="GLsizeiptr"/> + <param name="commit" type="GLboolean"/> + </function> + + <!-- Only with GL_EXT_direct_state_access: glNamedBufferPageCommitmentEXT --> + + <!-- Only with GL_ARB_direct_state_access --> + <function name="NamedBufferPageCommitmentARB"> + <param name="buffer" type="GLuint"/> + <param name="offset" type="GLintptr"/> + <param name="size" type="GLsizeiptr"/> + <param name="commit" type="GLboolean"/> + </function> + + <enum name="SPARSE_STORAGE_BIT_ARB" value="0x0400"/> + <enum name="SPARSE_BUFFER_PAGE_SIZE_ARB" value="0x82F8"/> + +</category> + +</OpenGLAPI> diff --git a/src/mapi/glapi/gen/Makefile.am b/src/mapi/glapi/gen/Makefile.am index 4133259ffd3..c793067d77f 100644 --- a/src/mapi/glapi/gen/Makefile.am +++ b/src/mapi/glapi/gen/Makefile.am @@ -164,6 +164,7 @@ API_XML = \ ARB_shader_image_load_store.xml \ ARB_shader_subroutine.xml \ ARB_shader_storage_buffer_object.xml \ + ARB_sparse_buffer.xml \ ARB_sync.xml \ ARB_tessellation_shader.xml \ ARB_texture_barrier.xml \ diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index af482707d03..c0ee2f20f14 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -8314,6 +8314,9 @@ <!-- ARB extension 171 --> <xi:include href="ARB_pipeline_statistics_query.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> +<!-- ARB extension 172 --> +<xi:include href="ARB_sparse_buffer.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + <category name="es3.2"> <!-- This should be in es_EXT, but this file is included first and the alias doesn't work otherwise. --> |