Re: [Mesa-dev] [PATCH 1/6] mesa: add Uniform*d support to display lists

2018-06-20 Thread Timothy Arceri
On 20/06/18 15:16, Mathias Fröhlich wrote: Hi, It seems that dlist.c is getting popular again, but can't we generate most of dlist.c using the api files? Probably saves a lot of typing, copying and pasting in the long run. Should also be less error prone in the long run. Not that I think code ge

Re: [Mesa-dev] [PATCH 1/6] mesa: add Uniform*d support to display lists

2018-06-19 Thread Mathias Fröhlich
Hi, It seems that dlist.c is getting popular again, but can't we generate most of dlist.c using the api files? Probably saves a lot of typing, copying and pasting in the long run. Should also be less error prone in the long run. Not that I think code generation is required, but I believe it would

[Mesa-dev] [PATCH 1/6] mesa: add Uniform*d support to display lists

2018-06-19 Thread Timothy Arceri
This is required so we can enable fp64 support in compat profile. --- src/mapi/glapi/gen/apiexec.py | 36 +-- src/mesa/main/dlist.c | 493 ++ 2 files changed, 511 insertions(+), 18 deletions(-) diff --git a/src/mapi/glapi/gen/apiexec.py b/src/mapi/glapi/ge