Re: [Mesa-dev] [PATCH 2/3] glsl: Reenable opt_copy_propagation_elements.cpp.

2011-04-03 Thread David Lamparter
On Sat, Apr 02, 2011 at 11:15:21PM -1000, Eric Anholt wrote: > - /*progress = do_copy_propagation_elements(ir) || progress;*/ > + progress = do_copy_propagation_elements(ir) || progress mesa git 6caac3ecb... plus some other unrelated stuff (Marek's float patches) and your three patches, r600g

Re: [Mesa-dev] [PATCH 2/2] mesa: Add fall-back formats for unsupported snorm formats

2011-04-03 Thread Marek Olšák
On Sun, Apr 3, 2011 at 5:52 AM, Kenneth Graunke wrote: > On 04/02/2011 07:18 PM, Ian Romanick wrote: > >> From: Ian Romanick >> >> This is always the way the real hardware and desktop OpenGL. Some >> > > Err...what? > > > hardware can't do some formats natively. The alpha-only, luminance, >> an

[Mesa-dev] [PATCH 2/3] glsl: Reenable opt_copy_propagation_elements.cpp.

2011-04-03 Thread Eric Anholt
--- src/glsl/glsl_parser_extras.cpp |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp index e8c6093..8218af6 100644 --- a/src/glsl/glsl_parser_extras.cpp +++ b/src/glsl/glsl_parser_extras.cpp @@ -769,7 +769,7

[Mesa-dev] [PATCH 3/3] i965/fs: Remove broken optimization for live intervals in loops.

2011-04-03 Thread Eric Anholt
The theory here was to detect a temporary variable used within a loop, and avoid considering it live across the entire loop. However, it was overeager and failed when the first definition of the variable appeared within the loop but was only conditionally defined. Fixes glsl-fs-loop-redundant-con

[Mesa-dev] [PATCH 1/3] glsl: In copy_propagation_elements, kill when the assignment is unusual.

2011-04-03 Thread Eric Anholt
A few GLES2 tests tripped over this when using array dereferences to hit channels on the LHS (also known as glsl-copy-propagation-vector-indexing now). We wouldn't find the ir_dereference_variable, and assume that that meant that it wasn't an assignment to a scalar/vector, and thus not notice that

[Mesa-dev] gears doesnt play with softpipe driver.

2011-04-03 Thread kumar vemuri
Hi, Am trying to get the progs/demos work with the gallium softpipe driver and the DRI swrast driver. When i try gears demo with the libGL.so in the mesa/lib and swrast_dri.so in mesa/lib or swrastg_dri.so in mesa/lib/gallium i get the following error: libGL: OpenDriver: trying /home/lalitha/