[Mesa-dev] [Bug 72889] wayland/weston EGL/GLESv2 client corruption/flicker on r600 mesa-10.x

2014-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72889 Michel Dänzer changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] R600/SI: allow 4 more input SGPRs to a shader

2014-04-28 Thread Michel Dänzer
On 26.04.2014 22:36, Marek Olšák wrote: > From: Marek Olšák > > Mesa needs one more SGPR, let's add 5 then, because it's a recurring issue. > > This is silly. Why cannot Mesa specify the calling convention? > Now I have to break transform feedback to support ARB_draw_indirect until > this patch

[Mesa-dev] CP Stall on Surface Sync

2014-04-28 Thread Dorrington, Albert
Does anyone have any information related to the Surface Sync PM4 command and the output from DRM? I am having issues with CP stalls and am trying to figure out what is not getting satisfied. Unfortunately the Radeon docs all say 'see the CP_COHER_CNTL register for a definition' - but I have not

Re: [Mesa-dev] [PATCH 0/5] util: Rework endian handling in python code

2014-04-28 Thread Jose Fonseca
Pushed. Jose - Original Message - > NP, thanks for the review Jose. Please could someone commit the > series for me? I'll follow up with patches to fix other formats for BE. > > Thanks, > Richard > > Jose Fonseca writes: > > Richard, Michel, > > > > Apologies for the long silence. I

Re: [Mesa-dev] [PATCH v3 00/11] Map support for GBM

2014-04-28 Thread Daniel Vetter
On Sun, Apr 27, 2014 at 12:05:48PM +0200, Thomas Hellstrom wrote: > On 04/25/2014 11:36 PM, Kristian Høgsberg wrote: > > On Tue, Apr 8, 2014 at 1:49 PM, Thomas Hellstrom > > wrote: > >> On 04/08/2014 10:28 PM, Ander Conselvan de Oliveira wrote: > >>> From: Ander Conselvan de Oliveira > >>> > >>>

Re: [Mesa-dev] [PATCH] R600/SI: allow 4 more input SGPRs to a shader

2014-04-28 Thread Marek Olšák
Please see my Mesa patch which moves index_bias to an SGPR. Doing it conditionally would be messy. Marek On Mon, Apr 28, 2014 at 11:40 AM, Michel Dänzer wrote: > On 26.04.2014 22:36, Marek Olšák wrote: >> From: Marek Olšák >> >> Mesa needs one more SGPR, let's add 5 then, because it's a recurri

Re: [Mesa-dev] [PATCH v2 0/6] gallium: add new opcodes needed for ARB_gs5

2014-04-28 Thread Roland Scheidegger
For 1-4: Reviewed-by: Roland Scheidegger Am 26.04.2014 18:16, schrieb Ilia Mirkin: > v1 -> v2: > - improved docs and comments > - nvc0 support for new opcodes > - split out math helpers into separate commit > > I'm pretty sure I addressed all the feedback in the earlier series. Let me > know

Re: [Mesa-dev] [PATCH] R600/SI: allow 4 more input SGPRs to a shader

2014-04-28 Thread Tom Stellard
On Mon, Apr 28, 2014 at 08:27:07PM +0200, Marek Olšák wrote: > Please see my Mesa patch which moves index_bias to an SGPR. Doing it > conditionally would be messy. > An alternative solution would be to give the function a target specific calling convention and then create and implement that calli

[Mesa-dev] [PATCH 2/2] i965/vec4: Remove 'mul_arg' from try_emit_mad().

2014-04-28 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_vec4.h | 2 +- src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp | 17 +++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_vec4.h b/src/mesa/drivers/dri/i965/brw_vec4.h index b3549a5..ebe707f 100

[Mesa-dev] [PATCH 1/2] i965/fs: Remove 'mul_arg' from try_emit_mad().

2014-04-28 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_fs.h | 2 +- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 17 +++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.h b/src/mesa/drivers/dri/i965/brw_fs.h index 2a1a81d..24d995b 100644 ---

Re: [Mesa-dev] [PATCH 0/4] gallium: add new opcodes needed for ARB_gs5

2014-04-28 Thread Matt Turner
On Fri, Apr 25, 2014 at 12:52 PM, Ilia Mirkin wrote: > And then you have a peephole pass that looks for this and converts it > into a single instruction. Additionally this has the advantage of > working on code where people manually implemented uaddCarry (although > there are other ways to impleme

Re: [Mesa-dev] [PATCH V4 1/4] glsl: Compile error if fs defines conflicting qualifiers for gl_FragCoord

2014-04-28 Thread Anuj Phogat
Ian, I posted the reworked patches after incorporating your comments. Do you have any more comments on this series? It would be nice to land these before upcoming release. On Mon, Mar 17, 2014 at 11:37 AM, Anuj Phogat wrote: > GLSL 1.50 spec says: >"If gl_FragCoord is redeclared in any fragm

Re: [Mesa-dev] [PATCH 0/4] gallium: add new opcodes needed for ARB_gs5

2014-04-28 Thread Ilia Mirkin
On Mon, Apr 28, 2014 at 4:47 PM, Matt Turner wrote: > On Fri, Apr 25, 2014 at 12:52 PM, Ilia Mirkin wrote: >> And then you have a peephole pass that looks for this and converts it >> into a single instruction. Additionally this has the advantage of >> working on code where people manually impleme

Re: [Mesa-dev] [PATCH 1/2] i965/fs: Remove 'mul_arg' from try_emit_mad().

2014-04-28 Thread Ian Romanick
Seems obvious enough. Reviewed-by: Ian Romanick On 04/28/2014 01:36 PM, Matt Turner wrote: > --- > src/mesa/drivers/dri/i965/brw_fs.h | 2 +- > src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 17 +++-- > 2 files changed, 12 insertions(+), 7 deletions(-) > > diff --git a/s

Re: [Mesa-dev] [PATCH 12/19] mesa: Refactor set_ubo_binding()

2014-04-28 Thread Ian Romanick
On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > Make set_ubo_binding() just update the binding, and move the code > that does validation, flushes the vertices etc. into a new > bind_uniform_buffer() function. > --- > > v2: Document the difference between set_ubo_binding() and > bind_uniform_b

Re: [Mesa-dev] [PATCH 02/19] mesa: Add a _BoundTextures field in gl_texture_unit

2014-04-28 Thread Ian Romanick
On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > This will be used by glBindTextures() when unbinding textures, > to avoid having to loop over all the targets. > --- > > v2: Use &= ~(1 << index) to clear bits > > src/mesa/main/mtypes.h | 6 +- > src/mesa/main/texobj.c | 6 ++ > src/m

Re: [Mesa-dev] [PATCH 1/2] i965/fs: Remove 'mul_arg' from try_emit_mad().

2014-04-28 Thread Kenneth Graunke
On 04/28/2014 01:36 PM, Matt Turner wrote: > --- > src/mesa/drivers/dri/i965/brw_fs.h | 2 +- > src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 17 +++-- > 2 files changed, 12 insertions(+), 7 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs.h > b/src/mesa/dri

Re: [Mesa-dev] [PATCH 00/19] Implement GL_ARB_multi_bind v2

2014-04-28 Thread Ian Romanick
On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > So here is version two of the ARB_multi_bind series. > > This incorporates feedback from Brian, Matt and Francisco, and also > fixes an issue I happened to notice myself. It occurred to me that > the BindTexture driver hook doesn't have a parameter

Re: [Mesa-dev] [PATCH 1/2] Add a dumb drm/kms winsys for software rendering

2014-04-28 Thread Emil Velikov
On 12/04/14 01:25, Giovanni Campagna wrote: > From: Giovanni Campagna > > Add a new winsys and target that can be used with a dri2 state tracker and > loader instead of drisw. This allows to use gbm as a dri2/image loader > and avoid the extra copy from the backbuffer to the shadow frontbuffer. H

[Mesa-dev] Undefined reference in libGLES when shared glapi is disabled

2014-04-28 Thread Eric Le Bihan
Hi! I'm currently cross-compiling Mesa3d for embedded systems using the following configure options: --enable-shared --disable-glx --disable-xa --disable-static --with-gallium-drivers=svga --disable-dri --disable-shared-glapi --without-dri-drivers --enable-opengl --disable-gbm --disable-egl

[Mesa-dev] [Bug 77749] PRAGMA_EXPORT_SUPPORTED defined incorrectly on OS X

2014-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77749 --- Comment #6 from Brian Paul --- The new patch still doesn't apply to master. But I've posted a patch with the same intention to the mailing list for review. -- You are receiving this mail because: You are the assignee for the bug. _

[Mesa-dev] [PATCH] mesa: remove unused #pragma export on/off lines

2014-04-28 Thread Brian Paul
PRAGMA_EXPORT_SUPPORTED is never defined. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=77749 --- include/GL/gl.h | 17 - 1 file changed, 17 deletions(-) diff --git a/include/GL/gl.h b/include/GL/gl.h index 4e2932d..5b28480 100644 --- a/include/GL/gl.h +++ b/include/GL

Re: [Mesa-dev] [PATCH] mesa: remove unused #pragma export on/off lines

2014-04-28 Thread Ian Romanick
The only thing that Google finds about "pragma export" were about Code Warrior or IBM's XL C++ compilres for z/OS. That doesn't seem relevant to anyone. Kill it! Reviewed-by: Ian Romanick On 04/28/2014 03:02 PM, Brian Paul wrote: > PRAGMA_EXPORT_SUPPORTED is never defined. > > Bugzilla: https

Re: [Mesa-dev] [PATCH 2/2] Add a new capabilities for drivers that can't share buffers

2014-04-28 Thread Emil Velikov
On 12/04/14 01:25, Giovanni Campagna wrote: > From: Giovanni Campagna > Hi Giovanni, > The kms-dri swrast driver cannot share buffers using the GEM, > so it must tell the loader to disable extensions relying on > that, without disabling the image DRI extension altogheter > (which would prevent t

[Mesa-dev] [Bug 77749] PRAGMA_EXPORT_SUPPORTED defined incorrectly on OS X

2014-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77749 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 77749] PRAGMA_EXPORT_SUPPORTED defined incorrectly on OS X

2014-04-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77749 --- Comment #8 from tha...@chromium.org --- Thank you! -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.fr

Re: [Mesa-dev] [PATCH 12/19] mesa: Refactor set_ubo_binding()

2014-04-28 Thread Fredrik Höglund
On Monday 28 April 2014, Ian Romanick wrote: > On 04/21/2014 02:57 PM, Fredrik Höglund wrote: > > Make set_ubo_binding() just update the binding, and move the code > > that does validation, flushes the vertices etc. into a new > > bind_uniform_buffer() function. > > --- > > > > v2: Document the di

[Mesa-dev] [PATCH 1/2] gallium: add a cap for supporting 4-offset TG4 opcodes

2014-04-28 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- I also took the liberty to tabify a few adjacent lines in the files that predominantly use tabs. I've done this enough times that I'm thinking of dropping a lot of .emacs files all over... src/gallium/docs/source/screen.rst | 2 ++ src/gallium/driver

[Mesa-dev] [PATCH 2/2] mesa/st: pass 4-offset TG4 without lowering if supported

2014-04-28 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- The handling of the 4 offsets is less-than-pretty. I had an alternate version that created a new ir_dereference_array object and ran ->accept on that. This worked as well, but for each offset it would create a separate new array, and then deref just one item out of

Re: [Mesa-dev] [PATCH 1/2] gallium: add a cap for supporting 4-offset TG4 opcodes

2014-04-28 Thread Ilia Mirkin
On Mon, Apr 28, 2014 at 7:30 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > > I also took the liberty to tabify a few adjacent lines in the files that > predominantly use tabs. I've done this enough times that I'm thinking of > dropping a lot of .emacs files all over... Oh, I meant

Re: [Mesa-dev] Broadcom VideoCore IV

2014-04-28 Thread Rob Clark
On Sun, Apr 27, 2014 at 5:51 AM, Mohamed MEDIOUNI wrote: > > Le 21 avr. 2014 13:16, "Rob Clark" a écrit : >> >> On Sat, Apr 19, 2014 at 9:32 AM, Mohamed MEDIOUNI >> wrote: >> > The VideoCore IV GPU has 14 cores: >> > >> > - 2 VPU Cores : Full-blown cores which run the ThreadX RTOS. >> > There is

Re: [Mesa-dev] Undefined reference in libGLES when shared glapi is disabled

2014-04-28 Thread Emil Velikov
On 28/04/14 22:56, Eric Le Bihan wrote: > Hi! > > I'm currently cross-compiling Mesa3d for embedded systems using the > following configure options: > > --enable-shared --disable-glx --disable-xa --disable-static > --with-gallium-drivers=svga --disable-dri --disable-shared-glapi > --without-d

[Mesa-dev] [PATCH 1/2] glsl: add lowering passes for carry/borrow

2014-04-28 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- It didn't seem useful to add 2 separate lowering flags. I can't really imagine wanting to lower one but not the other. Also, this is my first foray into the GLSL compiler, so please look out for noob mistakes. This did pass piglit tests though. src/glsl/ir_optimi

[Mesa-dev] [PATCH 2/2] mesa/st: enable carry/borrow lowering pass

2014-04-28 Thread Ilia Mirkin
This handles the last of the ARB_gs5 instructions currently present in mesa. Signed-off-by: Ilia Mirkin --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp inde

Re: [Mesa-dev] [PATCH 1/2] glsl: add lowering passes for carry/borrow

2014-04-28 Thread Chris Forbes
On Tue, Apr 29, 2014 at 3:17 PM, Ilia Mirkin wrote: > @@ -91,6 +92,10 @@ > * Breaks ir_quadop_bitfield_insert into ir_binop_bfm (bitfield mask) and > * ir_triop_bfi (bitfield insert). > * > + * CARRY_TO_ARITH: > + * --- > + * Converts ir_carry and ir_borrow into (x + y) > x and

Re: [Mesa-dev] [PATCH 1/2] glsl: add lowering passes for carry/borrow

2014-04-28 Thread Matt Turner
On Mon, Apr 28, 2014 at 8:17 PM, Ilia Mirkin wrote: > Signed-off-by: Ilia Mirkin > --- > > It didn't seem useful to add 2 separate lowering flags. I can't really imagine > wanting to lower one but not the other. I'd prefer to just have two flags. > Also, this is my first foray into the GLSL com

Re: [Mesa-dev] [PATCH 1/2] glsl: add lowering passes for carry/borrow

2014-04-28 Thread Ilia Mirkin
On Tue, Apr 29, 2014 at 12:37 AM, Matt Turner wrote: > On Mon, Apr 28, 2014 at 8:17 PM, Ilia Mirkin wrote: >> Signed-off-by: Ilia Mirkin >> --- >> >> It didn't seem useful to add 2 separate lowering flags. I can't really >> imagine >> wanting to lower one but not the other. > > I'd prefer to ju

[Mesa-dev] [PATCH v2 2/2] mesa/st: enable carry/borrow lowering pass

2014-04-28 Thread Ilia Mirkin
This handles the last of the ARB_gs5 instructions currently present in mesa. Signed-off-by: Ilia Mirkin --- v1 -> v2: - Update for extra borrow pass src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/s

[Mesa-dev] [PATCH v2 1/2] glsl: add lowering passes for carry/borrow

2014-04-28 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- v1 -> v2: - split up carry/borrow into separate passes - fix comment placement - reformat expression into single line src/glsl/ir_optimization.h | 2 ++ src/glsl/lower_instructions.cpp | 58 + 2 files changed, 60 in

Re: [Mesa-dev] [PATCH v2 1/2] glsl: add lowering passes for carry/borrow

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