[Mesa-dev] [Bug 62647] Wrong rendering of Dota 2 on Wine (apitrace attached) - Intel IVB HD4000

2013-06-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=62647 --- Comment #23 from Alexandre Derumier --- Hi, I would like to help, can somebody tell me how to do traces and debug it? (Sorry I'm noob). Also I notice that ilo and i965g have the same display bug, do they share something in common ? -- Yo

Re: [Mesa-dev] [PATCH] i965: Delete pre-DRI2.3 viewport hacks.

2013-06-30 Thread Keith Packard
Kenneth Graunke writes: > The __DRI_USE_INVALIDATE extension was added in May 11th, 2010 by commit > 4258e3a2e1c327. At this point, it's unlikely that anyone's using the > right mix of new and old components to hit this path. Deleting it > removes an untested code path and cleans up the driver

[Mesa-dev] [Bug 66423] [bisected] postprocess/pp_run.c :56:pp_run: Assertion ppq->tmp[1] failed

2013-06-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66423 Alexandre Demers changed: What|Removed |Added CC||bri...@vmware.com,

[Mesa-dev] [PATCH 12/12] r600g: improve the mechanism for recognizing an empty CS

2013-06-30 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_hw_context.c | 5 ++--- src/gallium/drivers/r600/r600_pipe.c | 5 + src/gallium/drivers/r600/r600_pipe.h | 1 + 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/r600/r600_hw_context.c b/src/gallium/drivers/r600/r6

[Mesa-dev] [PATCH 11/12] r600g: explicitly flush caches for streamout-based buffer copying & clearing

2013-06-30 Thread Marek Olšák
It's done automatically for vertex buffers, but not for constant buffers, textures, and colorbuffers. --- src/gallium/drivers/r600/r600_blit.c | 13 + 1 file changed, 13 insertions(+) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index ba5d4

[Mesa-dev] [PATCH 09/12] r600g: split INVAL_READ_CACHES into vertex, tex, and const cache flags

2013-06-30 Thread Marek Olšák
also flushing any cache in evergreen_emit_cs_shader seems to be superfluous (we don't flush caches when changing the other shaders either) --- src/gallium/drivers/r600/evergreen_compute.c| 8 +++ src/gallium/drivers/r600/evergreen_hw_context.c | 8 +-- src/gallium/drivers/r600/r600_h

[Mesa-dev] [PATCH 10/12] r600g: only flush the caches that need to be flushed during CP DMA operations

2013-06-30 Thread Marek Olšák
This should increase performance if constant uploads are done with the CP DMA. --- src/gallium/drivers/r600/evergreen_hw_context.c | 21 +--- src/gallium/drivers/r600/r600_hw_context.c | 126 +--- src/gallium/drivers/r600/r600_pipe.h| 2 + 3 files changed, 1

[Mesa-dev] [PATCH 03/12] r600g: fix color resolve for RGBX8 and RGBX16 integer formats

2013-06-30 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_blit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 7a0e256..ba5d4ea 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r600

[Mesa-dev] [PATCH 07/12] r600g: don't call buffer_wait in buffer_mmap_sync_with_rings

2013-06-30 Thread Marek Olšák
The winsys should do this, because it measures how much time we spend in buffer_map doing synchronization, which can be viewed with the gallium HUD. --- src/gallium/drivers/r600/r600_pipe.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_pipe.c

[Mesa-dev] [PATCH 08/12] r600g: adjust flush flags (v3)

2013-06-30 Thread Marek Olšák
From: Alex Deucher 1. flush SH with read caches 2. add flag for DB flushes 3. add flag for CB flushes v2: flush all CBs, remove redundant emit_state variable. v3: Marek: also set the new flags in r600_context_flush, the CP dma functions, and texture_barrier, and rename them Signed-off-by: A

[Mesa-dev] [PATCH 06/12] r600g: don't read back the MSAA depth buffer if the read flag is not set

2013-06-30 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_texture.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index 5ad8c65..36cca17 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++ b/src/

[Mesa-dev] [PATCH 05/12] r600g: don't flush the context in texture_transfer_map

2013-06-30 Thread Marek Olšák
the winsys does this automatically --- src/gallium/drivers/r600/r600_texture.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c index c2feb52..5ad8c65 100644 --- a/src/gallium/drivers/r600/r600_texture.c +++

[Mesa-dev] [PATCH 04/12] r600g: fix texture offset computation for mapped MSAA depth buffers

2013-06-30 Thread Marek Olšák
It was wrong, because the offset shouldn't be applied to MSAA depth buffers. This small cleanup should prevent such issues in the future. This fixes a lockup in "piglit/fbo-depthstencil default_fb -samples=n". The lockup was special, because it was triggered by the CPU writing to memory outside o

[Mesa-dev] [PATCH 02/12] r600g: enable fast MSAA color clear for array/3D/cube textures

2013-06-30 Thread Marek Olšák
--- src/gallium/drivers/r600/r600_blit.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c index 3b8a28b..7a0e256 100644 --- a/src/gallium/drivers/r600/r600_blit.c +++ b/src/gallium/drivers/r600/r

[Mesa-dev] [PATCH 01/12] r600g: implement fast MSAA color clear for integer textures

2013-06-30 Thread Marek Olšák
this also fixes the fast clear with multiple colorbuffers and each having a different format --- src/gallium/drivers/r600/r600_blit.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_bli

[Mesa-dev] [Bug 66423] [bisected] postprocess/pp_run.c :56:pp_run: Assertion ppq->tmp[1] failed

2013-06-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66423 Alexandre Demers changed: What|Removed |Added Hardware|Other |All -- You are receiving this mail b

[Mesa-dev] [Bug 66423] New: [bisected] postprocess/pp_run.c :56:pp_run: Assertion ppq->tmp[1] failed

2013-06-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66423 Priority: medium Bug ID: 66423 Assignee: mesa-dev@lists.freedesktop.org Summary: [bisected] postprocess/pp_run.c :56:pp_run: Assertion ppq->tmp[1] failed Severity: normal

[Mesa-dev] [Bug 64692] [llvmpipe] src/gallium/drivers/llvmpipe/lp_state_fs.c:2415:llvmpipe_set_constant_buffer: Assertion `index < (sizeof(llvmpipe->constants[shader])/sizeof((llvmpipe->constants[shad

2013-06-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=64692 Marek Olšák changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH] mesa: renumber shader indices according to their placement in pipeline

2013-06-30 Thread Marek Olšák
See my explanation in mtypes.h. v2: don't do this in gallium --- src/glsl/linker.cpp| 16 src/mesa/drivers/dri/i965/brw_shader.cpp | 8 ++-- src/mesa/main/mtypes.h | 8 ++-- src/mesa/main/shaderobj.h | 4 ++

Re: [Mesa-dev] [PATCH] r600g: Include SH and SMX when invalidating read caches

2013-06-30 Thread Marek Olšák
FYI, I have applied the patch to my local branch and added a few more fixes. I'll send it once I finish some other things I'm working on right now. Marek On Sun, Jun 23, 2013 at 11:56 PM, Alex Deucher wrote: > On Sun, Jun 23, 2013 at 2:24 PM, Marek Olšák wrote: >> Hi Alex, >> >> rctx->framebuff

Re: [Mesa-dev] [PATCH 1/4] mesa: move declarations before code

2013-06-30 Thread Jose Fonseca
- Original Message - > Brian Paul writes: > > > On 06/26/2013 04:33 PM, Eric Anholt wrote: > >> Brian Paul writes: > >> > >>> On 06/26/2013 03:56 PM, Ian Romanick wrote: > Patches 1 and 4 are > > Reviewed-by: Ian Romanick > > For patch 3, I share Jose's concer