Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-05 Thread Timothy Arceri
On Wed, 2014-06-04 at 21:46 -0700, roshan chaudhari wrote: > Thanks for reply. > > > I have added "CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3'" into > configure file and ran > "./configure --enable-debug" ; make; make install > > Where are you installing it to?? You don't really want to blow awa

Re: [Mesa-dev] [PATCH] Implement the ARB_clear_texture extension

2014-06-05 Thread Marek Olšák
Hi Neil, I'd like to have full hardware acceleration for Gallium drivers before advertising the extension for them. I wouldn't like to have extensions which are only implemented in software where hardware support is preferable. Therefore, not advertising the extension is the way to go if you are n

[Mesa-dev] [PATCH] i965: Fix unmapping depth-stencil textures with non-zero offset

2014-06-05 Thread Neil Roberts
Hi, This should fix the problem with depth-stencil textures mentioned in the commit message for my GL_ARB_clear_texture patch here: http://lists.freedesktop.org/archives/mesa-dev/2014-June/060739.html - Neil --- >8 --- (use git am --scissors to automatically chop here) intel_mi

[Mesa-dev] [PATCH piglit] Test using glTexSubImage2D with packed depth-stencil textures

2014-06-05 Thread Neil Roberts
This adds a test for updating a sub-region of a texture created with the GL_EXT_packed_depth_stencil extension. Currently this seems to trigger a bug on the i965 driver. --- tests/all.py | 1 + .../ext_packed_depth_stencil/CMakeLists.gl.txt | 1 + test

[Mesa-dev] [PATCH v2 0/4] i965: Add runtime checks for line antialiasing in Gen < 6.

2014-06-05 Thread Iago Toral Quiroga
Updated series based on review comments. Most important change in the series is related to the use of JMPI instead of IF/THEN/ELSE: in order to use JMPI I moved this part of the code to the generator (previous patch did the conditional in the visitor) because we need to count the number of instruc

[Mesa-dev] [PATCH v2 3/4] Revert "i965: Move brw_land_fwd_jump() to compilation unit of its use."

2014-06-05 Thread Iago Toral Quiroga
This reverts commit f3cb2e6ed7059b22752a6b7d7a98c07ba6b5552e. brw_land_fwd_jump() is convenient wherever we produce JMPI instructions and we will use JMPI to implement framebuffer writes that involve line antialiasing in gen < 6. --- src/mesa/drivers/dri/i965/brw_eu.h | 4 src/mesa/dri

[Mesa-dev] [PATCH v2 2/4] i965/fs: Let the gen < 8 generator know about runtime_check_aads_emit

2014-06-05 Thread Iago Toral Quiroga
In gen < 6 we need to produce conditional code based on this flag when doing framebuffer writes. --- src/mesa/drivers/dri/i965/brw_blorp_blit_eu.cpp | 2 +- src/mesa/drivers/dri/i965/brw_fs.cpp| 2 +- src/mesa/drivers/dri/i965/brw_fs.h | 2 ++ src/mesa/drivers/dri/i965/brw

[Mesa-dev] [PATCH v2 4/4] i965/fs: Add Gen < 6 runtime checks for line antialiasing.

2014-06-05 Thread Iago Toral Quiroga
In Gen < 6 the hardware generates a runtime bit that indicates whether AA data has to be sent as part of the framebuffer write SEND message. This affects the specific case where we have setup antialiased line rendering and we render polygons which have one face setup in GL_LINE mode (line antialias

[Mesa-dev] [PATCH v2 1/4] i965: Always set a valid block end pointer

2014-06-05 Thread Iago Toral Quiroga
When a instruction stream ends in a block structure (like a IF/ELSE/ENDIF) the last block's end pointer will not be set, leading to a crash later on in fs_live_variables::setup_def_use(). If we have not assigned the end pointer of the last block, set it to the last instruction. --- src/mesa/drive

[Mesa-dev] [Bug 79688] [dri3] Latest git breaks PRIME Offloading to Nouveau GPU

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 Chris Wilson changed: What|Removed |Added Assignee|ch...@chris-wilson.co.uk|mesa-dev@lists.freedesktop.

Re: [Mesa-dev] Debugging into Mesa Driver

2014-06-05 Thread Ian Romanick
On 06/04/2014 09:46 PM, roshan chaudhari wrote: > Thanks for reply. > > I have added "CFLAGS='-Og -ggdb3' CXXFLAGS='-Og -ggdb3'" into configure > file and ran > "./configure --enable-debug" ; make; make install > > but still it did not step into driver. Are you sure it's using the driver you bu

Re: [Mesa-dev] [PATCH] configure.ac: Do not use Pthreads with MinGW.

2014-06-05 Thread Jose Fonseca
Vinson, As I said in another reply, I think this the right thing to do on Windows. Please submit this and drop the "c11: .." patch. Thanks. Jose - Original Message - > Match the behavior of the SCons MinGW build. > > This patch also fixes these build errors. > > CC glapi_entr

[Mesa-dev] [PATCH] mesa: Fix substitution of large shaders

2014-06-05 Thread Cody Northrop
The fixed size is insufficient for shaders I'm debugging. Rather than just bump it up, make it dynamic. Thanks, -C Signed-off-by: Cody Northrop --- src/mesa/main/shaderapi.c | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mes

[Mesa-dev] [PATCH] i965: Fix else and brace placement in brw_eu_emit.c.

2014-06-05 Thread Kenneth Graunke
I'm making a lot of changes to this area, and I figured I may as well not conflate these trivial changes. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_eu_emit.c | 41 +++-- 1 file changed, 13 insertions(+), 28 deletions(-) The easiest opportunity

[Mesa-dev] Fix negation source modifer when used with logical instructions on Broadwell (v2)

2014-06-05 Thread Abdiel Janulgue
v2 of the fix. Abdiel Janulgue (6): i965/fs: Refactor check for potential copy propagated instructions. i965/fs: skip copy-propate for logical instructions with negated src entries i965/fs: copy propagate 'NOT' instruction when used with logical operation i965/vec4: skip c

[Mesa-dev] [PATCH v2 1/6] i965/fs: Refactor check for potential copy propagated instructions.

2014-06-05 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue Reviewed-by: Matt Turner --- .../drivers/dri/i965/brw_fs_copy_propagation.cpp | 27 ++ 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp b/src/mesa/drivers/dri/i965/brw_fs_co

[Mesa-dev] [PATCH v2 2/6] i965/fs: skip copy-propate for logical instructions with negated src entries

2014-06-05 Thread Abdiel Janulgue
The negation source modifier on src registers has changed meaning in Broadwell when used with logical operations. Don't copy propagate when negate src modifier is set and when the destination instruction is a logical op. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_fs_copy_

[Mesa-dev] [PATCH v2 3/6] i965/fs: copy propagate 'NOT' instruction when used with logical operation

2014-06-05 Thread Abdiel Janulgue
On Broadwell, this reduces the instruction to a single operation when NOT is used with a logical instruction. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_fs_copy_propagation.cpp | 17 + 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/mesa/

[Mesa-dev] [PATCH v2 4/6] i965/vec4: skip copy-propate for logical instructions with negated src entries

2014-06-05 Thread Abdiel Janulgue
The negation source modifier on src registers has changed meaning in Broadwell when used with logical operations. Don't copy propagate when negate src modifier is set and when the destination instruction is a logical op. Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/brw_vec4.h

[Mesa-dev] [PATCH v2 6/6] i965/disasm: Properly debug negate source modifier for logical instructions

2014-06-05 Thread Abdiel Janulgue
Signed-off-by: Abdiel Janulgue --- src/mesa/drivers/dri/i965/gen8_disasm.c | 24 +--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/gen8_disasm.c b/src/mesa/drivers/dri/i965/gen8_disasm.c index 04f8538..98e2453 100644 --- a/src/mesa/

[Mesa-dev] [PATCH v2 5/6] i965/vec4: copy propagate 'NOT' instruction when used with logical operation

2014-06-05 Thread Abdiel Janulgue
On Broadwell, this reduces the instruction to a single operation when NOT is used with a logical instruction. Signed-off-by: Abdiel Janulgue --- .../drivers/dri/i965/brw_vec4_copy_propagation.cpp | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/src/mes

Re: [Mesa-dev] [PATCH 2/3] radeon/compute: Implement PIPE_COMPUTE_CAP_MAX_COMPUTE_UNITS

2014-06-05 Thread Bruno Jimenez
On Tue, 2014-06-03 at 08:55 -0400, Alex Deucher wrote: > On Mon, Jun 2, 2014 at 7:34 PM, Bruno Jimenez wrote: > > On Mon, 2014-06-02 at 16:16 -0400, Alex Deucher wrote: > >> On Sat, May 31, 2014 at 7:13 AM, Bruno Jimenez > >> wrote: > >> > On Fri, 2014-05-30 at 19:33 -0400, Alex Deucher wrote: >

Re: [Mesa-dev] [PATCH] i965: Fix else and brace placement in brw_eu_emit.c.

2014-06-05 Thread Jordan Justen
Reviewed-by: Jordan Justen On Thu, Jun 5, 2014 at 10:56 AM, Kenneth Graunke wrote: > I'm making a lot of changes to this area, and I figured I may as well > not conflate these trivial changes. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_eu_emit.c | 41 > ++

[Mesa-dev] [Bug 79706] New: [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Priority: medium Bug ID: 79706 Assignee: mesa-dev@lists.freedesktop.org Summary: [TRACKER] Mesa regression tracker Severity: normal Classification: Unclassified OS: All

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|44519 | -- You are receiving this mail becau

[Mesa-dev] [Bug 44519] translate_test generic regression

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44519 Kenneth Graunke changed: What|Removed |Added Blocks|79039 |79706 -- You are receiving this mail

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||44519 -- You are receiving this mail

[Mesa-dev] [Bug 45348] [swrast] piglit fbo-drawbuffers-arbfp regression

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=45348 Kenneth Graunke changed: What|Removed |Added Blocks|79039 |79706 -- You are receiving this mail

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|45348 | -- You are receiving this mail becau

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||45348 -- You are receiving this mail

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|49713 | -- You are receiving this mail becau

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||49713 -- You are receiving this mail

[Mesa-dev] [Bug 61153] [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-vertex regression

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61153 Kenneth Graunke changed: What|Removed |Added Blocks|79039 |79706 -- You are receiving this mail

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||61153 -- You are receiving this mail

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|61153 | -- You are receiving this mail becau

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|59777 | -- You are receiving this mail becau

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||59777 -- You are receiving this mail

[Mesa-dev] [Bug 61326] [softpipe] piglit interpolation-noperspective-gl_BackSecondaryColor-flat-vertex regression

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61326 Kenneth Graunke changed: What|Removed |Added Blocks|79039 |79706 -- You are receiving this mail

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Kenneth Graunke changed: What|Removed |Added Depends on||61326 -- You are receiving this mail

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|61326 | -- You are receiving this mail becau

[Mesa-dev] [Bug 59777] [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-distance regression

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59777 Kenneth Graunke changed: What|Removed |Added Blocks|79039 |79706 -- You are receiving this mail

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 --- Comment #1 from Kenneth Graunke --- To be clear, this bug should track regressions from 10.1 to 10.2, so that we can avoid introducing regressions in the upcoming release. I've created bug 79706 for other, long standing regressions, so that

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Kenneth Graunke changed: What|Removed |Added Depends on|78691 | -- You are receiving this mail becau

Re: [Mesa-dev] [PATCH] mesa: Fix substitution of large shaders

2014-06-05 Thread Brian Paul
On 06/05/2014 10:47 AM, Cody Northrop wrote: The fixed size is insufficient for shaders I'm debugging. Rather than just bump it up, make it dynamic. Thanks, -C Signed-off-by: Cody Northrop mailto:c...@lunarg.com>> --- src/mesa/main/shaderapi.c | 14 +++--- 1 file changed, 11 insert

[Mesa-dev] [Bug 79629] [dri3] piglit glx_GLX_ARB_create_context_current_with_no_framebuffer fails

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79629 lu hua changed: What|Removed |Added Status|NEEDINFO|NEW CC|

[Mesa-dev] [Bug 79688] [dri3] Latest git breaks PRIME Offloading to Nouveau GPU

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 --- Comment #1 from Axel Davy --- This is due to Mesa DRI3 code not taking care of the DRI_PRIME env var. As a temporary fix, the user can set LIBGL_DRI3_DISABLE in addition to DRI_PRIME when wanting to use the secondary card. A temporary patch

[Mesa-dev] [Bug 79711] New: Crash bug still exists in glx libs, 2 years after I sent you a patch to fix it.

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79711 Priority: medium Bug ID: 79711 Assignee: mesa-dev@lists.freedesktop.org Summary: Crash bug still exists in glx libs, 2 years after I sent you a patch to fix it. Severity: cri

[Mesa-dev] [Bug 54372] GLX_INTEL_swap_event crashes driver when swapping window buffers

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54372 Alan Coopersmith changed: What|Removed |Added QA Contact||mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Vinson Lee changed: What|Removed |Added Depends on||79098 -- You are receiving this mail becau

[Mesa-dev] [Bug 79098] x86/common_x86.c:51:19: error: cpuid.h: No such file or directory

2014-06-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79098 Vinson Lee changed: What|Removed |Added Blocks||79706 -- You are receiving this mail becau

Re: [Mesa-dev] [PATCH 2/6] glsl: Rebalance expression trees that are reduction operations.

2014-06-05 Thread Matt Turner
On Tue, Mar 11, 2014 at 3:49 PM, Eric Anholt wrote: > Matt Turner writes: > >> The intention of this pass was to give us better instruction scheduling >> opportunities, but it unexpectedly reduced some instruction counts as >> well: >> >> total instructions in shared programs: 139 -> 1666073