GTF-GL46.gtf32.GL3Tests.draw_elements_base_vertex.draw_elements_base_vertex_count fails assertion
The test mentioned in the title fails with:
$ ./glcts --deqp-case=GTF-GL46.gtf32.GL3Tests.draw_elements_base_vertex.draw_elements_base_vertex_count
Writing test log into TestResults.qpa
dEQP Core git-7abc8473fff2b81516e79a144bb9d010a71ecb8a (0x7abc8473) starting..
target implementation = 'X11 EGL'
Test case 'GTF-GL46.gtf32.GL3Tests.draw_elements_base_vertex.draw_elements_base_vertex_count'..
glcts: ../../SOURCE/master/src/gallium/auxiliary/util/u_upload_mgr.c:286: u_upload_alloc: Assertion `size' failed.
Aborted (core dumped)
I bisected this to:
85b6ba136bdc2db570265a26c3a00919e0893ef9 is the first bad commit
commit 85b6ba136bdc2db570265a26c3a00919e0893ef9
Author: Marek Olšák <marek.olsak@amd.com>
Date: Tue Nov 3 13:04:03 2020 -0500
st/mesa: implement Driver.DrawGallium callbacks
This is the new fast path replacing the _mesa_prim path.
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7679>
src/gallium/auxiliary/cso_cache/cso_context.c | 24 ++++++
src/gallium/auxiliary/cso_cache/cso_context.h | 7 ++
src/mesa/state_tracker/st_draw.c | 113 +++++++++++++++++++++++++-
3 files changed, 142 insertions(+), 2 deletions(-)
Note: To get the GTF tests in the GLCTS, you will need to run python external/fetch_kc_cts.py
. I also had to run cmake with -DGLCTS_GTF_TARGET=gl -DDEQP_TARGET=x11_egl
.