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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 --- Comment #3 from Tobias Klausmann --- I have tested that branch, but it is still not working as before (the same behavior is observed), sorry. -- You are receiving this mail because: You are the assignee for the bug.

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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 --- Comment #2 from Axel Davy --- I've rebased the patches. Could you test this branch and confirm the problem is solved for you ? https://github.com/axeldavy/mesa/tree/submit -- You are receiving this mail because: You are the assignee for th

[Mesa-dev] [Bug 79662] [DRI3 all Bisected] Many webglc cases fail and X fails on PNV

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79662 lu hua changed: What|Removed |Added Severity|normal |blocker Priority|high

Re: [Mesa-dev] [PATCH 1/6] i965: Split Gen4-5 and Gen6+ MATH instruction emitters.

2014-06-08 Thread Jordan Justen
Series Reviewed-by: Jordan Justen On Sat, Jun 7, 2014 at 11:47 AM, Kenneth Graunke wrote: > Our existing functions, brw_math and brw_math2, had unclear roles: > > Gen4-5 used brw_math for both unary and binary math functions; it never > used brw_math2. Since operands are already in message regi

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Ilia Mirkin
On Sun, Jun 8, 2014 at 6:16 PM, Matt Turner wrote: > On Sun, Jun 8, 2014 at 3:12 PM, Ilia Mirkin wrote: >> On Sun, Jun 8, 2014 at 6:02 PM, Matt Turner wrote: >>> On Sun, Jun 8, 2014 at 2:40 PM, Aditya Avinash >>> wrote: Can I join them? I have good knowledge on Tessellation using propriet

[Mesa-dev] [PATCH 1/7] main/extensions: Don't advertise unknown extensions overrides with (-)

2014-06-08 Thread Jordan Justen
Previously setting: MESA_EXTENSION_OVERRIDE=-GL_MESA_ham_sandwich Would cause Mesa to advertise support for the GL_MESA_ham_sandwich extension, even though the override specifically asked for it to be disabled. Signed-off-by: Jordan Justen --- Series is available in the early-extension-override

[Mesa-dev] [PATCH 3/7] main/extensions: Add early extension override structures

2014-06-08 Thread Jordan Justen
During the early one_time_init phase of context creation, we initialize two global gl_extensions structures. We read the MESA_EXTENSION_OVERRIDE environment variable, and store positive and negative overrides in two structures: * struct gl_extensions _mesa_extension_override_enables * struct gl_ex

[Mesa-dev] [PATCH 7/7] main/extensions: Only parse MESA_EXTENSION_OVERRIDE once

2014-06-08 Thread Jordan Justen
Previously, we would parse MESA_EXTENSION_OVERRIDE each time a context was created. Now we will save the results of that parsing and use it during context initialization. Signed-off-by: Jordan Justen --- src/mesa/main/extensions.c | 114 - 1 file chang

[Mesa-dev] [PATCH 4/7] i965 arb_cs: Use override structure rather than separate env var

2014-06-08 Thread Jordan Justen
In 25268b93, we added a new environment variable (INTEL_COMPUTE_SHADER) to allow some constant values to be upgraded for the ARB_compute_shader extension. Now, we can look to see if the extension was enabled via the MESA_EXTENSION_OVERRIDE environment variable. Signed-off-by: Jordan Justen Cc: P

[Mesa-dev] [PATCH 6/7] main/extensions: Build list of extensions that can't be disabled

2014-06-08 Thread Jordan Justen
This will allow us to utilize the early MESA_EXTENSION_OVERRIDE parsing at the later extension string initialization step. Signed-off-by: Jordan Justen --- src/mesa/main/extensions.c | 25 - 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/exte

[Mesa-dev] [PATCH 2/7] main/extensions: Create a context-less set_extensions function

2014-06-08 Thread Jordan Justen
We will add new gl_extensions structures that capture the environment variable extension overrides and are available early in context creation. This will allow a driver to take actions during its initialization based on the extension overrides. Signed-off-by: Jordan Justen --- src/mesa/main/ext

[Mesa-dev] [PATCH 5/7] main/extensions: Create extra extensions override string

2014-06-08 Thread Jordan Justen
This will allow us to utilize the early MESA_EXTENSION_OVERRIDE parsing at the later extension string initialization step. Signed-off-by: Jordan Justen --- src/mesa/main/extensions.c | 38 ++ 1 file changed, 38 insertions(+) diff --git a/src/mesa/main/extensi

Re: [Mesa-dev] [PATCH] i965/fs: Allow CSE on math opcodes on Gen6+.

2014-06-08 Thread Chris Forbes
Reviewed-by: Chris Forbes On Mon, Jun 9, 2014 at 8:57 AM, Kenneth Graunke wrote: > On Sunday, June 08, 2014 09:56:55 AM Matt Turner wrote: >> Reviewed-by: Matt Turner >> >> At the office you mentioned something about this getting stuck on a >> comment about Gen4-5, but when I searched the maili

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Matt Turner
On Sun, Jun 8, 2014 at 3:12 PM, Ilia Mirkin wrote: > On Sun, Jun 8, 2014 at 6:02 PM, Matt Turner wrote: >> On Sun, Jun 8, 2014 at 2:40 PM, Aditya Avinash >> wrote: >>> Can I join them? I have good knowledge on Tessellation using proprietary >>> drivers. >> >> I don't think Summer of Code allows

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Chris Forbes
The GSoC project does not include any gallium plumbing, or your backends. It might be possible to take Fabian's frontend code and start building your pieces against it, but there might be some changes which would force you to do rework. -- Chris On Mon, Jun 9, 2014 at 10:12 AM, Ilia Mirkin wrot

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Ilia Mirkin
On Sun, Jun 8, 2014 at 6:02 PM, Matt Turner wrote: > On Sun, Jun 8, 2014 at 2:40 PM, Aditya Avinash > wrote: >> Can I join them? I have good knowledge on Tessellation using proprietary >> drivers. > > I don't think Summer of Code allows people to work together on the > same project. Then again,

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Matt Turner
On Sun, Jun 8, 2014 at 2:40 PM, Aditya Avinash wrote: > Can I join them? I have good knowledge on Tessellation using proprietary > drivers. I don't think Summer of Code allows people to work together on the same project. Then again, I don't know that anyone has heard from Fabian (Cc'd) since he s

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Aditya Avinash
Hi, Thank you!! Can I join them? I have good knowledge on Tessellation using proprietary drivers. I don't know where to start. Can you provide me some documentation on it? Thank you! On Sun, Jun 8, 2014 at 1:00 PM, Matt Turner wrote: > On Sun, Jun 8, 2014 at 5:05 AM, Aditya Avinash > wrote:

[Mesa-dev] [Bug 79784] account request

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79784 Brian Paul changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |sitewranglers@lists.freedes

[Mesa-dev] GlassyMesa Announcement

2014-06-08 Thread Greg Fischer
LunarG, with support from Valve, announces the GlassyMesa project, an effort to bring the LLVM compiler infrastructure to Mesa. What is GlassyMesa? GlassyMesa utilizes LunarGLASS, the LLVM compiler stack with modifications allowing it to represent and optimize 3D shaders and target GPUs. This als

Re: [Mesa-dev] [PATCH] R600/SI: add Gather4 intrinsics

2014-06-08 Thread Matt Arsenault
On 06/06/2014 02:57 PM, Marek Olšák wrote: DMASK was repurposed for GATHER4, so all passes which modify DMASK are disabled by setting MIMG=0 and hasPostISelHook=0. See my Mesa patches for how DMASK works with GATHER4, because this is not documented anywhere. Can you add a comment explaining thi

Re: [Mesa-dev] [PATCH] i965/fs: Allow CSE on math opcodes on Gen6+.

2014-06-08 Thread Kenneth Graunke
On Sunday, June 08, 2014 09:56:55 AM Matt Turner wrote: > Reviewed-by: Matt Turner > > At the office you mentioned something about this getting stuck on a > comment about Gen4-5, but when I searched the mailing list archives I > couldn't find that this patch had ever been sent. Was the comment of

Re: [Mesa-dev] [PATCH 1/2] i965: Don't include mtypes.h in brw_disasm.c

2014-06-08 Thread Matt Turner
Both of these are Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH 1/2] i965: Don't include mtypes.h in brw_disasm.c

2014-06-08 Thread Kristian Høgsberg
It's not used. Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_disasm.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 68fb786..67b1c8e 100644 --- a/src/mesa/drivers/dri/i965/brw_disas

[Mesa-dev] [PATCH 2/2] i965: Make gen7_pi field of brw_instruction use unsigned instead of GLuint

2014-06-08 Thread Kristian Høgsberg
Nothing else uses GL-types here. Signed-off-by: Kristian Høgsberg --- src/mesa/drivers/dri/i965/brw_structs.h | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_structs.h b/src/mesa/drivers/dri/i965/brw_structs.h index 9d

Re: [Mesa-dev] Request for information on Radeon

2014-06-08 Thread Matt Turner
On Sun, Jun 8, 2014 at 5:05 AM, Aditya Avinash wrote: > Hi, > I was looking at RadeonFeature. It shows that Tessellation stage is "TODO". > What should I do to pick it? I am new to Mesa. Can you help me with some > documentation which is useful for me to accomplish the task? > Thank you! There's

Re: [Mesa-dev] [PATCH] i965: Don't set the "switch" flag on control flow instructions on Gen6+.

2014-06-08 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] i965/fs: Allow CSE on math opcodes on Gen6+.

2014-06-08 Thread Matt Turner
Reviewed-by: Matt Turner At the office you mentioned something about this getting stuck on a comment about Gen4-5, but when I searched the mailing list archives I couldn't find that this patch had ever been sent. Was the comment off list, or could I just not find the thread? _

Re: [Mesa-dev] [PATCH 1/6] i965: Split Gen4-5 and Gen6+ MATH instruction emitters.

2014-06-08 Thread Matt Turner
This series is Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] i965: Make src_reg::equals() take a constant reference, not a pointer.

2014-06-08 Thread Pohjolainen, Topi
On Sun, Jun 08, 2014 at 02:50:15AM -0700, Kenneth Graunke wrote: > This is more typical C++ style. > > Signed-off-by: Kenneth Graunke Reviewed-by: Topi Pohjolainen > --- > src/mesa/drivers/dri/i965/brw_vec4.cpp | 22 > +++--- > src/mesa/drivers/dri/i965/brw_vec4.h

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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79711 danm...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54372 --- Comment #19 from danm...@gmail.com --- *** Bug 79711 has been marked as a duplicate of this bug. *** -- You are receiving this mail because: You are the QA Contact for the bug. ___ mesa-dev mailing

[Mesa-dev] Request for information on Radeon

2014-06-08 Thread Aditya Avinash
Hi, I was looking at RadeonFeature. It shows that Tessellation stage is "TODO". What should I do to pick it? I am new to Mesa. Can you help me with some documentation which is useful for me to accomplish the task? Thank you! -- Regards, *Aditya Atluri.* ___

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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54372 --- Comment #18 from Tapani Pälli --- (In reply to comment #17) > This may be related to bug 54080, comment 3: glXMakeCurrent on plain X > windows (which is allowed by the GLX specification, see glx1.4.pdf, section > 2.1, last paragraph: "For bac

[Mesa-dev] [PATCH] i965: Don't set the "switch" flag on control flow instructions on Gen6+.

2014-06-08 Thread Kenneth Graunke
Thread switching on control flow instructions is a documented workaround for Gen4-5 errata. As far as I can tell, it hasn't been needed since Sandybridge. Thread switching is not free, so in theory this may help performance slightly. Flow control instructions with the "switch" flag cannot be com

[Mesa-dev] [PATCH] i965: Make src_reg::equals() take a constant reference, not a pointer.

2014-06-08 Thread Kenneth Graunke
This is more typical C++ style. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_vec4.cpp | 22 +++--- src/mesa/drivers/dri/i965/brw_vec4.h | 2 +- .../drivers/dri/i965/brw_vec4_copy_propagation.cpp | 4 ++-- 3 files changed, 14 inserti

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

2014-06-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=54372 --- Comment #17 from Alexander Monakov --- This may be related to bug 54080, comment 3: glXMakeCurrent on plain X windows (which is allowed by the GLX specification, see glx1.4.pdf, section 2.1, last paragraph: "For backwards compatibility, ...")

[Mesa-dev] [PATCH] i965/fs: Allow CSE on math opcodes on Gen6+.

2014-06-08 Thread Kenneth Graunke
total instructions in shared programs: 2081469 -> 2081248 (-0.01%) instructions in affected programs: 22606 -> 22385 (-0.98%) No programs were hurt by this patch. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_fs_cse.cpp | 11 +++ 1 file changed, 11 insertions(+) d