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

2013-06-17 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 Pushed, thanks! -- Earthling Michel Dänz

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

2013-06-17 Thread Jonathan Gray
On Mon, Jun 17, 2013 at 07:47:11AM +0200, Michel Dänzer wrote: > 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. > > > >

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

[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 +