We just do the AST-to-HIR processing, and only push the instructions
if needed in the constant true case.
Fixes glslparsertest/glsl2/logic-01.frag
---
src/glsl/ast_to_hir.cpp | 12 ++--
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast
The specs only say that they have to be a constant expression, which
would allow things like builtin function calls that generate
instructions as a side effect of their parsing.
Fixes the fixed array-size-constant-relational.vert.
---
src/glsl/ast.h|2 +-
src/glsl/ast_function.cpp
We were letting any old operand through, which generally resulted in
assertion failures later.
Fixes array-logical-xor.vert.
---
src/glsl/ast_to_hir.cpp | 13 ++---
1 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index ea
By always using a boolean, we should generally avoid further
complaints. The failure case I see is logic_not, where the user might
understandably make the mistake of using `!' on a boolean vector (like
a piglit case did recently!), and then get a further complaint that
the new boolean type doesn't
This prevents later errors (including an assertion failure) from
cascading the failure.
Fixes invalid-equality-04.vert.
---
src/glsl/ast_to_hir.cpp | 10 +++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp
index 108c7c3..ea
Here are fixes for a bunch of GLSL (mostly assertion) failures, which
were highlighted thanks to the lovely new piglit reports.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
We just do the AST-to-HIR processing, and only push the instructions
if needed in the constant false case.
Fixes glslparsertest/glsl2/logic-02.frag
---
src/glsl/ast_to_hir.cpp | 11 +--
1 files changed, 5 insertions(+), 6 deletions(-)
diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast
This is like what we do for add/mul, but we have to invert the
predicate to choose the other source instead.
This removes 5 extra moves of constants in nexuiz shaders.
---
src/mesa/drivers/dri/i965/brw_eu.c |5 +
src/mesa/drivers/dri/i965/brw_eu.h |1 +
src/mesa/drivers/dri/i965/b
This is like what we do with add/mul, but we also have to flip the
conditional test.
---
src/mesa/drivers/dri/i965/brw_eu.c | 22 ++
src/mesa/drivers/dri/i965/brw_eu.h |2 ++
src/mesa/drivers/dri/i965/brw_fs.cpp | 21 +
3 files changed, 45 insert
Signed-off-by: Nicolas Kaiser
---
docs/MESA_agp_offset.spec |2 +-
docs/MESA_drm_image.spec |4 ++--
docs/MESA_multithread_makecurrent.spec |2 +-
docs/MESA_pack_invert.spec |2 +-
docs/MESA_release_buffers.spec |8
docs/
https://bugs.freedesktop.org/show_bug.cgi?id=25588
Marek Olšák changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugs.freedesktop.org/show_bug.cgi?id=25588
--- Comment #10 from almos 2011-04-09 09:50:18 PDT ---
(In reply to comment #9)
> (In reply to comment #8)
> > ETQW still shows errors as in comment #5 with current mesa with both r300
> > and
> > swrast but not with r300g and swrastg.
>
> Upda
> does it work with the latest Mesa master branch?
Seems to be solved now. The distortions are gone.
> Please file a new bug against Mesa : Drivers/Gallium/r300 and attach
> your answer there:
https://bugs.freedesktop.org/show_bug.cgi?id=36099
___
mes
> does it work with the latest Mesa master branch?
Compiling new kernel 2.6.38 now, as Debian/squeeze's 2.6.32 is too old
for libdrm-2.4.24 which is required by git Mesa...
> Please file a new bug against Mesa : Drivers/Gallium/r300 and attach
> your answer there:
>
> https://bugs.freedesktop.or
On Fri, 8 Apr 2011 13:16:28 -0700, Kenneth Graunke
wrote:
> ---
> src/mesa/drivers/dri/i965/brw_context.h |8
> src/mesa/drivers/dri/i965/brw_vs_emit.c |6 ++
> src/mesa/drivers/dri/i965/gen6_urb.c| 14 +-
> 3 files changed, 23 insertions(+), 5 deletions(-
On Fri, 08 Apr 2011 17:37:32 -0700, Ian Romanick wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 04/08/2011 11:05 AM, Eric Anholt wrote:
> > Module: Mesa
> > Branch: master
> > Commit: 963431829055f63ec94d88c97a5d07d30e49833a
> > URL:
> > http://cgit.freedesktop.org/mesa/mesa/
16 matches
Mail list logo