glthread: add nop dispatch
so that glthread behaves the same as the main dispatch. Also fix the SetError function for GLES 1.0. Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
This commit is contained in:
@@ -12869,7 +12869,7 @@
|
||||
</function>
|
||||
|
||||
<!-- Set a GL error. Used by glthread to set errors without syncing. -->
|
||||
<function name="InternalSetError" es2="2.0">
|
||||
<function name="InternalSetError" es1="1.0" es2="2.0">
|
||||
<param name="error" type="GLenum"/>
|
||||
</function>
|
||||
</category>
|
||||
|
||||
@@ -383,7 +383,7 @@ class PrintCode(gl_XML.gl_print_base):
|
||||
with indent():
|
||||
out('struct _glapi_table *table;')
|
||||
out('')
|
||||
out('table = _mesa_alloc_dispatch_table();')
|
||||
out('table = _mesa_alloc_dispatch_table(true);')
|
||||
out('if (table == NULL)')
|
||||
with indent():
|
||||
out('return NULL;')
|
||||
|
||||
Reference in New Issue
Block a user