Re: [Mesa-dev] [PATCH] Use 1 rather than 0 as the fallback cache line size.

2013-06-05 Thread Richard Sandiford
Jose Fonseca writes: > - Original Message - >> Without this, llvmpipe ends up giving a zero size to all uncompressed >> textures >> on non-x86 systems, since align() cannot handle a 0 alignment. Making the >> default 1 seemed preferable to adding checks for 0. >> >> Signed-off-by: Richar

Re: [Mesa-dev] [PATCH] Use 1 rather than 0 as the fallback cache line size.

2013-06-05 Thread Jose Fonseca
- Original Message - > Without this, llvmpipe ends up giving a zero size to all uncompressed > textures > on non-x86 systems, since align() cannot handle a 0 alignment. Making the > default 1 seemed preferable to adding checks for 0. > > Signed-off-by: Richard Sandiford > --- > src/ga

[Mesa-dev] [PATCH] Use 1 rather than 0 as the fallback cache line size.

2013-06-05 Thread Richard Sandiford
Without this, llvmpipe ends up giving a zero size to all uncompressed textures on non-x86 systems, since align() cannot handle a 0 alignment. Making the default 1 seemed preferable to adding checks for 0. Signed-off-by: Richard Sandiford --- src/gallium/auxiliary/util/u_cpu_detect.c | 5 +