[Mesa-dev] [PATCH] st/glx: Do not undefine _R, _G, and _B.

2012-06-17 Thread Vinson Lee
Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in ctype.h on those platforms. Signed-off-by: Vinson Lee --- src/gallium/state_trackers/glx/xlib/glx_usefont.c |3 --- 1 file changed, 3 deletions(-) diff --git a/src/gallium/state_trackers/glx/xlib/glx_usefont.c b/src/galliu

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-17 Thread Bryan Cain
On 6/16/2012 5:43 PM, Marcin Slusarz wrote: gl_ClipDistance needs special treatment in form of lowering pass which transforms gl_ClipDistance representation from float[] to vec4[]. There are 2 implementations - at glsl linker level (enabled by LowerClipDistance option) and at glsl_to_tgsi level (

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 Török Edwin changed: What|Removed |Added CC||edwin+m...@etorok.net -- Configure bugmai

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-17 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #3 from Török Edwin 2012-06-17 14:35:32 PDT --- Just hit this bug with HoN. Apparently there is a pattern for AMDIL.sin, but not for AMDGPU.sin: class SIN_Common inst> : R600_1OP < inst, "SIN", [(set R600_Reg32:$dst, (int_AMDIL

[Mesa-dev] [PATCH] scons: Do not build svga if using Solaris Studio C compiler.

2012-06-17 Thread Vinson Lee
Solaris Studio C compiler does not support anonymous structs and anonymous unions. Signed-off-by: Vinson Lee --- scons/gallium.py |2 ++ src/gallium/drivers/svga/SConscript |4 src/gallium/targets/dri-vmwgfx/SConscript |4 3 files changed, 10

[Mesa-dev] [RFC] Extract API-dependent code from utilities

2012-06-17 Thread Blaž Tomažič
I am working on an OpenCL testing framework for Piglit (XOrg EVoC) and I want to reorganize Piglit utilities to share more code between different APIs. I would like some feedback on the matter. Here is a summary of changes in the included patch [1]: Build files were modified to include/lin

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-17 Thread Marcin Slusarz
On Sun, Jun 17, 2012 at 07:17:35AM +0400, Vadim Girlin wrote: > On Sun, 2012-06-17 at 00:43 +0200, Marcin Slusarz wrote: > > gl_ClipDistance needs special treatment in form of lowering pass > > which transforms gl_ClipDistance representation from float[] to > > vec4[]. There are 2 implementations -