Re: [Mesa-dev] [PATCH] gallium: replace bswap_32 calls with util_bswap32

2013-06-16 Thread Michel Dänzer
On Mon, 2013-06-17 at 01:11 +1000, Jonathan Gray wrote: > byteswap.h and bswap_32 aren't portable, replace them with calls to > gallium's util_bswap32 as suggested by Mark Kettenis. Lets these files > build on OpenBSD. > > Signed-off-by: Jonathan Gray Reviewed-by: Michel Dänzer Do you need so

Re: [Mesa-dev] [PATCH] mesa: Fix ieee fp on Alpha

2013-06-16 Thread Andreas Boll
2013/6/14 Sven Joachim > Commit 1f82bf12ed inadvertently broke it, checking for __IEEE_FLOAT on all > Alpha machines instead of only on VMS as before. > > NOTE: This is a candidate for the 9.1 branch. > > Signed-off-by: Sven Joachim > Reviewed-by: Andreas Boll > --- > src/mesa/main/compiler

Re: [Mesa-dev] [PATCH 03/13] gallium: Introduce 32-bit bytewise format names

2013-06-16 Thread Jose Fonseca
- Original Message - > - Original Message - > > Jose Fonseca writes: > > >> Yeah, that's what the patch was trying to do.  Even though the formats > > >> were defined as "int"s, the int layout was extra information on top of > > >> what's already there.  The int information didn'

Re: [Mesa-dev] [PATCH] texobj: add verbose api trace messages to several routines

2013-06-16 Thread José Fonseca
On Sat, Jun 15, 2013 at 8:05 PM, Carl Worth wrote: > José Fonseca writes: > > FYI, with > > > https://github.com/apitrace/apitrace/commit/7700f74f294a28e57860487b917c8807156b3ad1 > > apitrace no longer crashes with Steam overlay. > > Thanks, José! This will be quite handy. And it's a fix I'd bee

[Mesa-dev] [PATCH] gallium: replace bswap_32 calls with util_bswap32

2013-06-16 Thread Jonathan Gray
byteswap.h and bswap_32 aren't portable, replace them with calls to gallium's util_bswap32 as suggested by Mark Kettenis. Lets these files build on OpenBSD. Signed-off-by: Jonathan Gray --- src/gallium/drivers/r600/r600_asm.c | 4 ++-- src/gallium/drivers/r600/r600_shader.c | 4 +

[Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-16 Thread Martin Andersson
Not including the SH and SMX caches when invalidating read caches causes random failures on some piglit tests when VA is enabled. Since the failures are random, and there other problems also causing random failures, it's hard to know exactly what tests were effected, but these tests now consistent

[Mesa-dev] [PATCH] r600g cache invalidate issues

2013-06-16 Thread Martin Andersson
I have been investigating why some piglit tests were failing when VA was enabled. What I found was that the problems started with this commit: http://cgit.freedesktop.org/mesa/mesa/commit/?id=4539f8e20af286d1f521eb016c89c6d9af0b801c That commit removed the S_0085F0_SMX_ACTION_ENA(1) and S_0085F0_

[Mesa-dev] [PATCH] tgsi_test: fix parsing of array in declaration

2013-06-16 Thread Dave Airlie
I noticed this code didn't work as advertised while doing some passing around of TGSI shaders and trying to reparse them, and things failing. This seems to fix it here for at least the small test case I hacked into a graw test. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_text