[Mesa-dev] [PATCH 33/40] glsl: create separate 32bit and 64bit versions of shader cache objects
Emil Velikov
emil.l.velikov at gmail.com
Fri Feb 10 12:29:19 UTC 2017
Hi Tim,
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:"
> +#else
> +#define CACHED_PROGRAM "program32:"
> +#endif
> +
This won't play nice with other architectures.
Something like sizeof(void *) == 4 or alike should be fine.
-Emil
More information about the mesa-dev
mailing list