Re: [Mesa-dev] r300/compiler: Peephole optimizer.

2010-05-14 Thread Tom Stellard
On Fri, May 14, 2010 at 02:46:36AM +0200, Marek Olšák wrote: > Hi Tom, > > your patch helps but glean/texCube still fails here (it doesn't fail on > master). > Oops, I forgot about the non-shader tests. Here is a patch that should fix glean/texCube. -Tom diff --git a/src/mesa/drivers/dri/r300/c

Re: [Mesa-dev] r300/compiler: Peephole optimizer.

2010-05-13 Thread Marek Olšák
Hi Tom, your patch helps but glean/texCube still fails here (it doesn't fail on master). -Marek On Tue, May 11, 2010 at 6:45 PM, Tom Stellard wrote: > I have been testing the peephole optimizer from Nicolai's r300g-glsl > branch. There is a bug in it that breaks two of the piglit test cases:

[Mesa-dev] r300/compiler: Peephole optimizer.

2010-05-11 Thread Tom Stellard
I have been testing the peephole optimizer from Nicolai's r300g-glsl branch. There is a bug in it that breaks two of the piglit test cases: glsl-fs-fragcoord and glsl-orangebook-ch06-bump. Here is an example of the bug from glsl-fs-fragcoord: 0: RCP temp[3].w, input[0].w___; 1: MUL temp[3].xy, i