mesa: remove GLvertexformat
authorMarek Olšák <marek.olsak@amd.com>
Mon, 29 Nov 2021 14:02:07 +0000 (09:02 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Tue, 14 Dec 2021 17:00:35 +0000 (12:00 -0500)
commitbade2407fa108b75e20f326e8f5d7439fbf2cd91
treeba12d84a35e77a5ef3c32826f8d5bed3e21d5444
parenta87e5d437e6c269b62775cb4ae4925fc96a86041
mesa: remove GLvertexformat

Function pointers were first set in GLvertexformat, and then
GLvertexformat was copied to the dispatch.

This just sets the function pointers in the dispatch directly,
skipping the intermediate GLvertexformat structure.

The code with SET_* calls is autogenerated by api_vtxfmt_init_h.py.

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14000>
19 files changed:
src/mapi/glapi/gen/api_vtxfmt_init_h.py
src/mesa/main/context.c
src/mesa/main/dd.h
src/mesa/main/dlist.c
src/mesa/main/dlist.h
src/mesa/main/mtypes.h
src/mesa/main/vtxfmt.c [deleted file]
src/mesa/main/vtxfmt.h [deleted file]
src/mesa/meson.build
src/mesa/state_tracker/st_context.c
src/mesa/vbo/vbo.h
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_init_tmp.h [deleted file]
src/mesa/vbo/vbo_noop.c
src/mesa/vbo/vbo_noop.h [deleted file]
src/mesa/vbo/vbo_save_api.c