Re: [Mesa-dev] [PATCH] i965/vs: fix unit mismatch in base_offset.

2012-09-30 Thread Kenneth Graunke
On 09/20/2012 07:06 PM, Paul Berry wrote: > Callers of emit_scratch_{read,write}() pass a base_offset that is > measured in bytes, but emit_scratch_{read,write}() was assuming it was > measured in multiples of a complete register. As a result, a shader > using a scratch read/write offset greater t

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes - resolved

2012-09-30 Thread kallisti5
On 2012-09-30 12:49 pm, Matt Turner wrote: On Sun, Sep 30, 2012 at 10:27 AM, kallisti5 wrote: On 2012-09-30 12:16 pm, Kenneth Graunke wrote: On 09/30/2012 07:37 AM, kallisti5 wrote: Good morning, It seems 8f7990c5f2 has broken the Haiku build... http://cgit.freedesktop.org/mesa/mesa/commi

Re: [Mesa-dev] [PATCH 19/19] mesa/tests: Sanity check the ES2 dispatch table

2012-09-30 Thread Paul Berry
On 28 September 2012 14:15, Ian Romanick wrote: > On 09/28/2012 01:55 PM, Paul Berry wrote: > >> On 5 September 2012 15:09, Ian Romanick > > wrote: >> >> From: Ian Romanick > > >> >> >> This test is only built when share

[Mesa-dev] [Bug 55476] [softpipe] piglit fbo-blit-stretch regression

2012-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55476 --- Comment #1 from Marek Olšák --- This is a known issue and I mentioned it on the mailing list. There seems to be a bug in softpipe's culling or clipping. The problem is if one of the vertex coordinates is negative, the whole primitive is cull

[Mesa-dev] [Bug 55476] New: [softpipe] piglit fbo-blit-stretch regression

2012-09-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=55476 Priority: medium Bug ID: 55476 CC: mar...@gmail.com Assignee: mesa-dev@lists.freedesktop.org Summary: [softpipe] piglit fbo-blit-stretch regression Severity: normal Classific

Re: [Mesa-dev] [PATCH] glx/dri2: use uint64_t instead of double to represent time for FPS calculation

2012-09-30 Thread Henri Verbeet
On 30 September 2012 21:51, Marek Olšák wrote: > Wine or a windows app changes fpucw to 0x7f, causing doubles to be equivalent > to floats, which broke the calculation of FPS. For reference, this is done by for example d3d9 when a D3D device is created without D3DCREATE_FPU_PRESERVE set. In the ge

[Mesa-dev] [PATCH] glx/dri2: use uint64_t instead of double to represent time for FPS calculation

2012-09-30 Thread Marek Olšák
Wine or a windows app changes fpucw to 0x7f, causing doubles to be equivalent to floats, which broke the calculation of FPS. We should be very careful about using doubles in Mesa. --- src/glx/dri2_glx.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/glx/dri2_

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread Matt Turner
On Sun, Sep 30, 2012 at 10:27 AM, kallisti5 wrote: > On 2012-09-30 12:16 pm, Kenneth Graunke wrote: >> >> On 09/30/2012 07:37 AM, kallisti5 wrote: >>> >>> Good morning, >>> >>> It seems 8f7990c5f2 has broken the Haiku build... >>> >>> http://cgit.freedesktop.org/mesa/mesa/commit/?h=9.0&id=8f7990c5

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread kallisti5
On 2012-09-30 12:16 pm, Kenneth Graunke wrote: On 09/30/2012 07:37 AM, kallisti5 wrote: Good morning, It seems 8f7990c5f2 has broken the Haiku build... http://cgit.freedesktop.org/mesa/mesa/commit/?h=9.0&id=8f7990c5f2 After 8f7990c5f2 we are getting the following failure: Linking build/ha

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread Kenneth Graunke
On 09/30/2012 07:37 AM, kallisti5 wrote: > Good morning, > > It seems 8f7990c5f2 has broken the Haiku build... > > http://cgit.freedesktop.org/mesa/mesa/commit/?h=9.0&id=8f7990c5f2 > > > After 8f7990c5f2 we are getting the following failure: > > Linking build/haiku-x86-debug/glsl/builtin_com

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread Matt Turner
On Sun, Sep 30, 2012 at 7:37 AM, kallisti5 wrote: > Good morning, > > It seems 8f7990c5f2 has broken the Haiku build... > > http://cgit.freedesktop.org/mesa/mesa/commit/?h=9.0&id=8f7990c5f2 > > > After 8f7990c5f2 we are getting the following failure: > > Linking build/haiku-x86-debug/glsl/builti

Re: [Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread kallisti5
A small note, I updated our bison from 2.5 -> 2.6.2 and still see the same error. I'm tempted to add __HAIKU__ def's around the removed code in 8f7990c5f2... but that seems dirty. -- Alex On 2012-09-30 9:37 am, kallisti5 wrote: Good morning, It seems 8f7990c5f2 has broken the Haiku build...

Re: [Mesa-dev] [PATCH 5/5] radeonsi: emit PA_SU_PRIM_FILTER_CNTL

2012-09-30 Thread Alex Deucher
On Sun, Sep 30, 2012 at 9:52 AM, Sylvain BERTRAND wrote: >> + si_pm4_set_reg(pm4, R_02882C_PA_SU_PRIM_FILTER_CNTL, 0); > > Should it be better defaulted in the linux module? It could be added to the kernel, but it's probably more important to emit the register state in the userspace drivers a

[Mesa-dev] [origin/9.0] Haiku build breakage due to 8f7990c5f2 -- lex changes

2012-09-30 Thread kallisti5
Good morning, It seems 8f7990c5f2 has broken the Haiku build... http://cgit.freedesktop.org/mesa/mesa/commit/?h=9.0&id=8f7990c5f2 After 8f7990c5f2 we are getting the following failure: Linking build/haiku-x86-debug/glsl/builtin_compiler ... build/haiku-x86-debug/glsl/glcpp/glcpp-parse.o: In

Re: [Mesa-dev] [PATCH 5/5] radeonsi: emit PA_SU_PRIM_FILTER_CNTL

2012-09-30 Thread Sylvain BERTRAND
> + si_pm4_set_reg(pm4, R_02882C_PA_SU_PRIM_FILTER_CNTL, 0); Should it be better defaulted in the linux module? -- Sylvain ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 5/5] radeonsi: emit PA_SU_PRIM_FILTER_CNTL

2012-09-30 Thread Christian König
From: Alex Deucher has no default value. Signed-off-by: Alex Deucher Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/si_state.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_state.c b/src/gallium/drivers/radeonsi/si_state.c index b6e37

[Mesa-dev] [PATCH 4/5] radeonsi: remove some old r600g cruft

2012-09-30 Thread Christian König
From: Alex Deucher Signed-off-by: Alex Deucher Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/r600_hw_context.c | 28 1 file changed, 28 deletions(-) diff --git a/src/gallium/drivers/radeonsi/r600_hw_context.c b/src/gallium/drivers/radeonsi/r600_hw_c

[Mesa-dev] [PATCH 2/5] radeonsi: drop some cayman remnants

2012-09-30 Thread Christian König
From: Alex Deucher Signed-off-by: Alex Deucher Reviewed-by: Christian König --- src/gallium/drivers/radeonsi/r600.h |2 -- src/gallium/drivers/radeonsi/r600_hw_context.c|7 +-- src/gallium/drivers/radeonsi/si_state.c | 13 + src/gallium/dri

[Mesa-dev] [PATCH 3/5] radeonsi: fix range checking for state regs

2012-09-30 Thread Christian König
From: Alex Deucher end value is exclusive, but in practice we shouldn't hit this. Signed-off-by: Alex Deucher Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pm4.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/radeon

[Mesa-dev] [PATCH 1/5] radeonsi: define SGPR register numbers

2012-09-30 Thread Christian König
Instead of hardcoding them. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_pm4.c|3 ++- src/gallium/drivers/radeonsi/radeonsi_pm4.h|2 +- src/gallium/drivers/radeonsi/radeonsi_shader.c | 18 +- src/gallium/drivers/radeonsi/radeonsi_shad