Re: [Mesa-dev] TGSI thoughts

2010-07-27 Thread Zack Rusin
On Tuesday 27 July 2010 23:57:17 Jakob Bornecrantz wrote: > First off, the Core TGSI instruction set includes a lot of > instructions that not necessary all hardware can handle foremost off > these are DDX and DDY which should either be moved to the GLSL cap or > get a cap of its own. Related to t

Re: [Mesa-dev] TGSI thoughts

2010-07-27 Thread Corbin Simpson
On Tue, Jul 27, 2010 at 8:57 PM, Jakob Bornecrantz wrote: > Hi all > > So I was reading up on TGSI and noticed somethings that I thought > could use some improvements, also please excuse any ignorance on my > part I'm pretty new to low level shader stuff: > > First off, the Core TGSI instruction s

Re: [Mesa-dev] TGSI thoughts

2010-07-27 Thread Corbin Simpson
On Tue, Jul 27, 2010 at 8:57 PM, Jakob Bornecrantz wrote: > Hi all > > So I was reading up on TGSI and noticed somethings that I thought > could use some improvements, also please excuse any ignorance on my > part I'm pretty new to low level shader stuff: > > First off, the Core TGSI instruction s

[Mesa-dev] TGSI thoughts

2010-07-27 Thread Jakob Bornecrantz
Hi all So I was reading up on TGSI and noticed somethings that I thought could use some improvements, also please excuse any ignorance on my part I'm pretty new to low level shader stuff: First off, the Core TGSI instruction set includes a lot of instructions that not necessary all hardware can h

Re: [Mesa-dev] [PATCH-v2] gallium: Unified draw_vbo.

2010-07-27 Thread Chia-I Wu
On Tue, Jul 27, 2010 at 11:46 PM, Keith Whitwell wrote: > On Mon, 2010-07-26 at 21:36 -0700, Chia-I Wu wrote: >> This is the second try for unified draw_vbo call.  I again upload the >> patches as a branch here >> >>   http://cgit.freedesktop.org/~olv/mesa/log/?h=gallium-unified-draw-2 >> >> due t

Re: [Mesa-dev] [PATCH] Mesa prog_optimize.c: better optimization for Mesa programs

2010-07-27 Thread Segovia, Benjamin
I made a new patch.It was simpler since there were a lot of small modifications. Overall the code is simpler now with the proper use of masked operations. Thanks for your help. From: Segovia, Benjamin Sent: Tuesday, July 27, 2010 7:10 PM To: mesa-dev@list

[Mesa-dev] [PATCH] Mesa prog_optimize.c: better optimization for Mesa programs

2010-07-27 Thread Benjamin Segovia
- Thanks to Eric Anholt for his comments and his patch. The code is now much simpler (and (more) correct). Also thanks to Jakob Bornecrantz for his explanation of the difference between glsl and mesa IR - Improved optimization of GPU programs. Now, swizzling is taken into account and swizzle

Re: [Mesa-dev] [PATCH] extra masking / swizzling tests

2010-07-27 Thread Segovia, Benjamin
I did not find a piglit mailing list. Therefore, I posted here. Just tell me if there is a better way to do that. Cheers, Ben From: Segovia, Benjamin Sent: Tuesday, July 27, 2010 6:19 PM To: mesa-dev@lists.freedesktop.org Cc: Segovia, Benjamin Subject: [PA

[Mesa-dev] [PATCH] extra masking / swizzling tests

2010-07-27 Thread Benjamin Segovia
- Added two more tests to stress the new optimizations in prog_optimize.c in the mesa code base --- tests/all.tests |2 + tests/shaders/glsl-vs-masked-cos.shader_test | 33 ++ tests/shaders/glsl-vs-masked-dot.shader_test | 32 +

[Mesa-dev] talloc (Was: Merge criteria for glsl2 branch)

2010-07-27 Thread José Fonseca
On Wed, 2010-07-21 at 18:53 -0700, Ian Romanick wrote: > As everyone knows, a group of us at Intel have been rewriting Mesa's > GLSL compiler. The work started out-of-tree as a stand alone compiler. > We moved all of our work to the glsl2 branch in the Mesa tree as soon > as we had some actual c

[Mesa-dev] [Bug 29264] latest mesa causes screen to not be redrawn

2010-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29264 Kristian Høgsberg changed: What|Removed |Added CC||xunx.f...@intel.com --- Comment #3 f

Re: [Mesa-dev] [PATCH-v2] gallium: Unified draw_vbo.

2010-07-27 Thread Keith Whitwell
On Mon, 2010-07-26 at 21:36 -0700, Chia-I Wu wrote: > This is the second try for unified draw_vbo call. I again upload the > patches as a branch here > > http://cgit.freedesktop.org/~olv/mesa/log/?h=gallium-unified-draw-2 > > due to the size. > > Changes since v1: > > - make index buffer a

Re: [Mesa-dev] [PATCHES] misc. fixes

2010-07-27 Thread José Fonseca
On Sun, 2010-07-25 at 19:09 -0700, Jakob Bornecrantz wrote: > On Sun, Jul 25, 2010 at 3:25 PM, nobled wrote: > > Attached several small patches; review appreciated. > > > > 1. i915g: fix llvm build (typo) > > 2. st/xorg: fix use-after-free > > 5. fix copy/paste error in the debug output > > These

[Mesa-dev] [Bug 29272] New: osmesa 7.8.2 - assertion error drawing thin line with CHAN_BITS=32

2010-07-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29272 Summary: osmesa 7.8.2 - assertion error drawing thin line with CHAN_BITS=32 Product: Mesa Version: unspecified Platform: Other OS/Version: All Status: NEW

[Mesa-dev] [PATCH] gallium docs: fixed typos, added r600

2010-07-27 Thread Nicolas Kaiser
Fixed some typos, added r600. Signed-off-by: Nicolas Kaiser --- src/gallium/docs/source/context.rst | 12 ++-- src/gallium/docs/source/cso/sampler.rst |6 +++--- src/gallium/docs/source/distro.rst |6 ++ src/gallium/docs/source/tgsi.rst| 10 +- 4