Re: [Mesa-dev] how to fix progs/demo/geartrain.c?

2010-08-07 Thread Sven Arvidsson
On Sat, 2010-08-07 at 17:01 +0200, Christian Authmann wrote: > One last thing, I didn't find geartrain.c on > cgit.freedesktop.org/mesa/mesa/, so I picked it from the 7.7 release > package. Where did the tests go? The demos were split out a while back: http://cgit.freedesktop.org/mesa/demos/ --

Re: [Mesa-dev] how to fix progs/demo/geartrain.c?

2010-08-07 Thread Keith Whitwell
On Sat, 2010-08-07 at 08:01 -0700, Christian Authmann wrote: > Hi, > > it all started with a harmless looking bug report for r300g on phoronix: > > > http://img227.imageshack.us/img227/8582/bugx.png > > http://www.phoronix.com/forums/showthread.php?t=24950&page=13 > > as I noticed, that bug was

[Mesa-dev] how to fix progs/demo/geartrain.c?

2010-08-07 Thread Christian Authmann
Hi, it all started with a harmless looking bug report for r300g on phoronix: > http://img227.imageshack.us/img227/8582/bugx.png > http://www.phoronix.com/forums/showthread.php?t=24950&page=13 as I noticed, that bug was present on nvidia too: > http://www.authmann.de/tmp/geartrain_nvidia.png so

Re: [Mesa-dev] r300 compiler vertex shader loops

2010-08-07 Thread Marek Olšák
Hi Tom, we use OUT_CS_REG_SEQ for updating registers which are next to each other. It saves CS space. BEGIN_CS(6); OUT_CS_REG(reg, a1); OUT_CS_REG(reg + 4, a2); OUT_CS_REG(reg + 8, a3); END_CS; can be rewritten to BEGIN_CS(4); OUT_CS_REQ_SEQ(reg, 3); // auto-increment reg on a register write. O

[Mesa-dev] [PATCH] st/dri: include xmlconfig.h

2010-08-07 Thread nobled
driOptionCache is a member of struct dri_context, but it's defined in xmlconfig.h, which isn't getting included in drisw. The patch fixes this error when defining struct dri_context under drisw: ../../../../../src/gallium/state_trackers/dri/common/dri_context.h:52: error: expected specifier-qualif

Re: [Mesa-dev] VTK Offscreen Segfaults

2010-08-07 Thread Kevin H. Hobbs
On 08/06/2010 05:20 PM, tom fogal wrote: > > Yeah... hrm, I thought Dan's change got rid of that, but maybe I > misunderstood it. > > Could you rm /tmp/mesa/lib64/libGL.so* before building VTK? My hunch > is that VTK is linking it in anyway; maybe it stuck around in cmake's > cache or something. >