[Mesa-dev] [PATCH 33/40] glsl: create separate 32bit and 64bit versions of shader cache objects
emil.l.velikov at gmail.com
Fri Feb 10 12:29:19 UTC 2017
Small suggestion, should we go for storing pointers.
On 7 February 2017 at 03:42, Timothy Arceri <tarceri at itsqueeze.com> wrote:
> +#if __x86_64__
> +#define CACHED_PROGRAM "program64:"
> +#define CACHED_PROGRAM "program32:"
This won't play nice with other architectures.
Something like sizeof(void *) == 4 or alike should be fine.
More information about the mesa-dev