diff --git a/src/glsl/ir_constant_expression.cpp
b/src/glsl/ir_constant_expression.cpp
index baf23b6..61c0ae6 100644
--- a/src/glsl/ir_constant_expression.cpp
+++ b/src/glsl/ir_constant_expression.cpp
@@ -641,13 +641,13 @@ ir_expression::constant_expression_value(struct
hash_table *variable_conte
The apparent cost of the calibration is eaten by the constant
propagation optimization pass.
Signed-off-by: Olivier Galibert
diff --git a/src/glsl/builtins/ir/acos.ir b/src/glsl/builtins/ir/acos.ir
index f0078f8..d321057 100644
--- a/src/glsl/builtins/ir/acos.ir
+++ b/src/glsl/builtins/ir/ac
On Wed, May 02, 2012 at 11:11:36PM +0200, Olivier Galibert wrote:
> What's missing is a piglit run, which I currently have technical
> problems with.
Thanks to very pertinent advice by ajax and anholt I've been able to
do a piglit run. With three additional bugfix patches I've sent
independently
Tom Stellard writes:
> Hi,
>
> I've been testing these updated compute patches all week and they look
> good to me. I don't think there are any outstanding complaints, so I'll
> give my ACK for merging these into master.
>
> Very nice work!
>
> -Tom Stellard
>
>
Thanks for your comments. Does a
Hi,
I'd like to merge this branch soon. Does friday May 11 sound good or
should I wait more?
Marek
On Mon, Apr 30, 2012 at 1:38 AM, Marek Olšák wrote:
> Hi,
>
> I pushed the branch in the main Mesa repository. r600g, softpipe and
> llvmpipe should work without regressions. I'll test r300g later
On 05/07/2012 04:16 PM, Christoph Bumiller wrote:
On 05/07/2012 08:34 PM, Eric Anholt wrote:
On Sat, 05 May 2012 14:43:44 +0200, Christoph Bumiller
wrote:
Test case for the "glsl_to_tgsi: use TGSI_OPCODE_CEIL for
ir_unop_ceil" patch attached.
This wasn't caught by the generated test for cei
On 05/08/2012 02:51 AM, Olivier Galibert wrote:
The apparent cost of the calibration is eaten by the constant
propagation optimization pass.
Is the underlying problem that the constant in the acos implementation
just didn't have enough precision? Would adding more digits to the
literal const
On 05/08/2012 01:55 AM, Olivier Galibert wrote:
Holy crap sandwich. I guess I'm not sure how we didn't catch this
before. Since this only happens when both sides of the relational
operation are constant, I guess it's not that common. Ugh.
Reviewed-by: Ian Romanick
diff --git a/src/glsl/
On 7 May 2012 15:05, Chad Versace wrote:
> On 05/02/2012 01:52 PM, Paul Berry wrote:
> > This patch groups together the parameters used by the HiZ functions
> > into a new data structure, brw_hiz_resolve_params, rather than passing
> > each parameter individually between the HiZ functions. This
https://bugs.freedesktop.org/show_bug.cgi?id=49504
--- Comment #1 from Iaroslav 2012-05-08 10:34:03 PDT ---
I have the same problem.
The problem in llvmpipe driver.
mklib: Making Linux static library: libllvmpipe.a
ar: creating libllvmpipe.a
g++ -L/usr/lib -lpthread -ldl -lm lp_test_format
On Tue, May 08, 2012 at 08:40:03AM -0700, Ian Romanick wrote:
> On 05/08/2012 02:51 AM, Olivier Galibert wrote:
> > The apparent cost of the calibration is eaten by the constant
> > propagation optimization pass.
>
> Is the underlying problem that the constant in the acos implementation
> just di
On Tue, May 08, 2012 at 08:45:21AM -0700, Ian Romanick wrote:
> On 05/08/2012 01:55 AM, Olivier Galibert wrote:
>
> Holy crap sandwich. I guess I'm not sure how we didn't catch this
> before. Since this only happens when both sides of the relational
> operation are constant, I guess it's not t
On 7 May 2012 15:05, Chad Versace wrote:
> On 05/02/2012 01:52 PM, Paul Berry wrote:
> > This patch splits up the gen6_blorp_exec and gen7_blorp_exec
> > functions, which were very long, into simple component functions.
> > With a few exceptions, there is one function per state packet.
> >
> > Th
---
bin/.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bin/.gitignore b/bin/.gitignore
index 04c0a1c..2ee67a6 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -4,3 +4,4 @@ install-sh
/depcomp
/missing
ylwrap
+compile
--
1.7.7.6
_
Hi,
Here is the second and hopefully last version of the bit encoding
support. I think I took all reviews into account (dropping mesa ir,
activating at the end, and style). piglit says nothing changed, which
is expected given that the associated test hasn't been included yet.
Best,
OG.
__
The opcodes are bitcast_f2u, bitcast_f2i, bitcast_i2f and bitcast_u2f.
Signed-off-by: Olivier Galibert
---
src/glsl/builtins/ir/floatBitsToInt.ir | 21
src/glsl/builtins/ir/floatBitsToUint.ir| 21
src/glsl/builtins/ir/intBitsToFloat.i
Signed-off-by: Olivier Galibert
---
src/glsl/ir.cpp |4
1 file changed, 4 insertions(+)
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp
index d83af50..e90936d 100644
--- a/src/glsl/ir.cpp
+++ b/src/glsl/ir.cpp
@@ -273,6 +273,7 @@ ir_expression::ir_expression(int op, ir_rvalue *op0)
c
Signed-off-by: Olivier Galibert
---
src/glsl/ir_validate.cpp | 16
1 file changed, 16 insertions(+)
diff --git a/src/glsl/ir_validate.cpp b/src/glsl/ir_validate.cpp
index 7efb434..5721717 100644
--- a/src/glsl/ir_validate.cpp
+++ b/src/glsl/ir_validate.cpp
@@ -288,6 +288,22 @@
This patch expects to be applied after the "Constants through builtins
evaluation rewrite" for two reasons:
- a line of that patch appears in the context
- the ir_function side changes that the old method would need are not
present (and they would conflict)
At that point a "test_out = floatBitsT
TGSI doesn't need an opcode, since registers are untyped (but beware
once doubles come into the scene). Mesa IR doesn't handle native
integers, so trying to handle them there is worthless, the case
entries are only added for warning reasons.
It was only tested with softpipe, since llvmpipe doesn'
Signed-off-by: Olivier Galibert
---
src/mesa/state_tracker/st_extensions.c |4
1 file changed, 4 insertions(+)
diff --git a/src/mesa/state_tracker/st_extensions.c
b/src/mesa/state_tracker/st_extensions.c
index 1b4bca6..0cfe962 100644
--- a/src/mesa/state_tracker/st_extensions.c
+++ b/s
On 05/08/2012 08:34 AM, Marek Olšák wrote:
Hi,
I'd like to merge this branch soon. Does friday May 11 sound good or
should I wait more?
Sounds OK to me. The vmware driver seemed to be fine after my "svga:
check for and skip null vertex buffer pointers" patch.
-Brian
___
_mesa_material_bitmask() will record a GL error and return 0 if
face or mode are illegal. Return early in that case.
NOTE: This is a candidate for the 8.0 branch.
---
src/mesa/main/light.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/mesa/main/light.c b/src/mesa/
When glColorMaterial() is used to latch glColor commands to a material
attribute, glMaterial calls to change that material should become no-ops.
This failed to work properly when the glMaterial call was inside a
display list.
This removes the Material function from the vbo_attrib_tmp.h template
fi
On 05/08/2012 01:55 AM, Olivier Galibert wrote:
diff --git a/src/glsl/ir_constant_expression.cpp
b/src/glsl/ir_constant_expression.cpp
index baf23b6..61c0ae6 100644
--- a/src/glsl/ir_constant_expression.cpp
+++ b/src/glsl/ir_constant_expression.cpp
@@ -641,13 +641,13 @@ ir_expression::constant_e
On 05/02/2012 02:11 PM, Olivier Galibert wrote:
Hello,
Here is the second version of that patch series. It's fundamentally
the same thing with a number of changes:
- respect the coding style a little better
- index the hash table on the variable object pointer and not the name
- handle funct
On 05/08/2012 11:03 AM, Paul Berry wrote:
---
bin/.gitignore |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bin/.gitignore b/bin/.gitignore
index 04c0a1c..2ee67a6 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -4,3 +4,4 @@ install-sh
/depcomp
/missing
ylwra
On Tue, May 08, 2012 at 01:09:25PM -0700, Kenneth Graunke wrote:
> These look great! I've gone ahead and pushed them with a few tiny changes:
>
> 1. I updated a comment in patch 2, which still said the hash_table
> mapped using variable names/strings.
> 2. I changed the for (exec_node ...) loop
On 05/08/2012 05:33 PM, Ian Romanick wrote:
> On 05/07/2012 04:16 PM, Christoph Bumiller wrote:
>> On 05/07/2012 08:34 PM, Eric Anholt wrote:
>>> On Sat, 05 May 2012 14:43:44 +0200, Christoph Bumiller
>>> wrote:
Test case for the "glsl_to_tgsi: use TGSI_OPCODE_CEIL for
ir_unop_ceil" pat
On Fri, 4 May 2012 17:06:38 -0700, Kenneth Graunke
wrote:
> - vp->xmin = -1.0;
> - vp->xmax = 1.0;
> - vp->ymin = -1.0;
> - vp->ymax = 1.0;
> + /* According to the Sandybridge PRM, Volume 2, Part 1, Section 6.3.8
> +* "Vertex X,Y Clamping and Quantization", the screen-aligned 2D
>
I came up with a patch to improve Lightsmark performance 0.9% by using
"MRF"s round-robin. But that's just layering hacks on hacks, so I
decided to convert texturing to using GRFs on gen7. That resulted in
a big regression due to the lame register coalescing, which led to
fixing that, which led t
When I had a bug causing the backend to never finish optimizing, it
also sent me deep into swap. This avoids extra memory allocation per
trip through optimization, and thus may reduce the peak memory
allocation of the driver even in the success case.
---
src/mesa/drivers/dri/i965/brw_fs_live_vari
This will be convenient when I want to comment out optimization code
to see the raw program being optimized, but more importantly will let
the interference check be used during optimization.
---
.../drivers/dri/i965/brw_fs_live_variables.cpp | 24 ++--
1 file changed, 12 inse
We could do more by handling abs/negate and non-GRF sources, but this is
a good start.
Total instructions: 208032 -> 207184
60/1246 programs affected (4.8%)
23286 -> 22438 instructions in affected programs (3.6% reduction)
---
src/mesa/drivers/dri/i965/Makefile.sources |1 +
src/mesa/
Total instructions: 261582 -> 261316
135/2147 programs affected (6.3%)
36752 -> 36486 instructions in affected programs (0.7% reduction)
This excludes a tropics shader that now gets 16-wide mode and throws
off the numbers. 5 shaders are hurt: two extra MOVs in 4 tropics
shaders it looks like beca
By using the live variables code for determining interference, we can
handle coalescing in the presence of control flow, which the other
register coalescing path couldn't.
Total instructions: 207184 -> 206990
74/1246 programs affected (5.9%)
33993 -> 33799 instructions in affected programs (0.6% r
On 05/04/2012 01:58 PM, Eric Anholt wrote:
Previously, I tried implementing this in the i965 driver, but did so
in a way that violated the intent of the spec, and broke Tropics.
---
src/glsl/Makefile.sources |1 +
src/glsl/ir_optimization.h |1 +
src/glsl/linker.cpp
Hi,
These three patches make integer abs and sign work for llvmpipe.
Best,
OG.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Olivier Galibert
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
index 7f01156..0a43445 100644
--- a/
Signed-off-by: Olivier Galibert
---
src/gallium/auxiliary/gallivm/lp_bld_arit.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_arit.c
b/src/gallium/auxiliary/gallivm/lp_bld_arit.c
index 4ba4aa5..77497ad 100644
--- a/src/gallium/auxilia
Signed-off-by: Olivier Galibert
---
src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
b/src/gallium/auxiliary/gallivm/lp_bld_tgsi_action.c
index 0a43445..34f6c58 100644
--- a/
41 matches
Mail list logo