[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #15 from Alex Deucher 2012-06-18 20:56:16 PDT --- (In reply to comment #13) > BTW I noticed that RV670 is treated as R700, but according to RadeonFeature on > the wiki thats a R600 class GPU. Which one is right? We probably need to a

[Mesa-dev] [PATCH 6/9] mesa: Move glBindBufferBase and glBindBufferRange() to bufferobj.

2012-06-18 Thread Eric Anholt
The rest of the TFB implementation remains in transformfeedback.c. --- src/mesa/main/bufferobj.c | 61 + src/mesa/main/bufferobj.h |7 + src/mesa/main/transformfeedback.c | 55 ++--- src/mesa/main/transform

[Mesa-dev] [PATCH 9/9] mesa: Add a comment explaining my thoughts on glBindBufferBase().

2012-06-18 Thread Eric Anholt
--- src/mesa/main/bufferobj.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index e00eaf8..f7c0e75 100644 --- a/src/mesa/main/bufferobj.c +++ b/src/mesa/main/bufferobj.c @@ -2138,6 +2138,32 @@ _mesa_BindBuffe

[Mesa-dev] [PATCH 7/9] mesa: Add support for glBindBufferBase/Range on GL_UNIFORM_BUFFER.

2012-06-18 Thread Eric Anholt
Fixes piglits: GL_ARB_uniform_buffer_object/bindbuffer-general-point. GL_ARB_uniform_buffer_object/negative-bindbuffer-buffer GL_ARB_uniform_buffer_object/negative-bindbuffer-index GL_ARB_uniform_buffer_object/negative-bindbuffer-target GL_ARB_uniform_buffer_object/negative-bindbufferrange-range --

[Mesa-dev] [PATCH 8/9] mesa: Add support for glGetIntegeri_v from GL_ARB_uniform_buffer_object.

2012-06-18 Thread Eric Anholt
Fixes piglit ARB_uniform_buffer_object/getintegeri_v. --- src/mesa/main/get.c | 24 1 file changed, 24 insertions(+) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 933bfe7..4798c02 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -2566,6 +2566

[Mesa-dev] [PATCH 5/9] mesa: Move buffer object dispatch setup to bufferobj.c.

2012-06-18 Thread Eric Anholt
--- src/mesa/main/api_exec.c | 12 +--- src/mesa/main/bufferobj.c | 17 + src/mesa/main/bufferobj.h |3 +++ 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/src/mesa/main/api_exec.c b/src/mesa/main/api_exec.c index 15b9f69..19e7f98 100644 --- a/src/

[Mesa-dev] [PATCH 4/9] mesa: Add indexed binding points for uniform buffer objects.

2012-06-18 Thread Eric Anholt
--- src/mesa/main/bufferobj.c | 29 + src/mesa/main/mtypes.h| 22 ++ 2 files changed, 51 insertions(+) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index b646baa..ecfa7af 100644 --- a/src/mesa/main/bufferobj.c +++ b/src

[Mesa-dev] [PATCH 2/9] mesa: Add state and getters for the GL_ARB_uniform_buffer_object maximums.

2012-06-18 Thread Eric Anholt
Fixes piglit GL_ARB_uniform_buffer_object/minmax. --- src/mesa/main/context.c |9 + src/mesa/main/get.c | 30 ++ src/mesa/main/mtypes.h | 12 3 files changed, 51 insertions(+) diff --git a/src/mesa/main/context.c b/src/mesa/main/contex

[Mesa-dev] [PATCH 1/9] glapi: Add uniform buffer object API

2012-06-18 Thread Eric Anholt
From: Vincent Lejeune v2: Fix a typo spotted by Eric Anholt. v3: Fix missing "GL" on types, fix style, fix Studly_Caps extension name, drop commented code duplicated with GL3x.xml [anholt] --- src/mapi/glapi/gen/ARB_uniform_buffer_object.xml | 97 ++ src/mapi/glapi/gen/

[Mesa-dev] [PATCH 3/9] mesa: Add support for the GL_UNIFORM_BUFFER general binding point.

2012-06-18 Thread Eric Anholt
Fixes piglit ARB_uniform_buffer_object/buffer-targets. --- src/mesa/main/bufferobj.c |9 + src/mesa/main/get.c |6 ++ src/mesa/main/mtypes.h|7 +++ 3 files changed, 22 insertions(+) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 332a

Re: [Mesa-dev] [PATCH 1/4] mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Fredrik Höglund
On Tuesday 19 June 2012, Brian Paul wrote: > On 06/18/2012 02:50 PM, Fredrik Höglund wrote: > > Reviewed-by: Brian Paul > > --- > > > > v2: Change baseinstance to base_instance in _mesa_prims > > and to baseInstance in the vbo_exec functions. > > > > src/mapi/glapi/gen/ARB_base_instance.xml

Re: [Mesa-dev] [PATCH 1/4] mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Brian Paul
On 06/18/2012 02:50 PM, Fredrik Höglund wrote: Reviewed-by: Brian Paul --- v2: Change baseinstance to base_instance in _mesa_prims and to baseInstance in the vbo_exec functions. src/mapi/glapi/gen/ARB_base_instance.xml | 40 +++ src/mapi/glapi/gen/Makefile |1

Re: [Mesa-dev] [RFC PATCH] i965/msaa: Disable unsupported formats.

2012-06-18 Thread Eric Anholt
On Fri, 15 Jun 2012 18:17:05 -0700, Paul Berry wrote: > On 15 June 2012 14:44, Chad Versace wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 06/15/2012 11:12 AM, Paul Berry wrote: > > > Due to hardware limitations, MSAA is unsupported on Gen6 for formats > > > containing

Re: [Mesa-dev] [RFC PATCH] i965/msaa: Disable unsupported formats.

2012-06-18 Thread Kenneth Graunke
On 06/15/2012 11:12 AM, Paul Berry wrote: Due to hardware limitations, MSAA is unsupported on Gen6 for formats containing >64 bits of data per pixel. From the Sandy Bridge PRM, vol4 part1, p72 ("Surface Format"): Yeah, if we can't do it in hardware, then I think we should just say no. Acked-b

Re: [Mesa-dev] [PATCH] i965: Fix brw_swap_cmod() for LE/GE comparisons.

2012-06-18 Thread Eric Anholt
On Sat, 16 Jun 2012 02:20:09 -0700, Kenneth Graunke wrote: > The idea here is to rewrite comparisons like 2 >= x with x <= 2; we want > to simply exchange arguments, not negate the condition. If equality was > part of the original comparison, it should remain part of the swapped > version. > >

Re: [Mesa-dev] [PATCH] i965: Set brw_wm_prog_key::alpha_test only if nr_color_buffers == 0.

2012-06-18 Thread Eric Anholt
On Sat, 16 Jun 2012 21:27:14 -0700, Kenneth Graunke wrote: > If alpha testing is enabled, we need to include alpha in the FB write. > Normally, this occurs as part of a color buffer write, but it's possible > to use alpha testing without any color buffers. The alpha_test flag > lets brw_fs.cpp k

[Mesa-dev] [PATCH 4/4] docs: update GL3.txt for ARB_base_instance

2012-06-18 Thread Fredrik Höglund
Reviewed-by: Brian Paul --- docs/GL3.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 17136de..89b46c0 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -119,7 +119,7 @@ GL_ARB_compressed_texture_pixel_storage not started

[Mesa-dev] [PATCH 3/4] st/mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Fredrik Höglund
Reviewed-by: Brian Paul --- v2: Change baseinstance to base_instance. src/mesa/state_tracker/st_draw.c |1 + src/mesa/state_tracker/st_extensions.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_dra

[Mesa-dev] [PATCH 2/4] gallium: Add PIPE_CAP_START_INSTANCE

2012-06-18 Thread Fredrik Höglund
Reviewed-by: Brian Paul --- src/gallium/docs/source/screen.rst |3 ++- src/gallium/drivers/i915/i915_screen.c |1 + src/gallium/drivers/nv30/nv30_screen.c |1 + src/gallium/drivers/nv50/nv50_screen.c |1 + src/gallium/drivers/nvc0/nvc0_screen.c |

[Mesa-dev] [PATCH 1/4] mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Fredrik Höglund
Reviewed-by: Brian Paul --- v2: Change baseinstance to base_instance in _mesa_prims and to baseInstance in the vbo_exec functions. src/mapi/glapi/gen/ARB_base_instance.xml | 40 +++ src/mapi/glapi/gen/Makefile |1 + src/mapi/glapi/gen/gl_API.xml|3

Re: [Mesa-dev] [PATCH 1/4] mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Fredrik Höglund
On Monday 18 June 2012, Brian Paul wrote: > On 06/15/2012 03:38 PM, Fredrik Höglund wrote: > > --- > > src/mapi/glapi/gen/ARB_base_instance.xml | 40 +++ > > src/mapi/glapi/gen/Makefile |1 + > > src/mapi/glapi/gen/gl_API.xml|3 +- > > src/mesa/main/d

Re: [Mesa-dev] [8.0 cherry-pick RFC] Fix bug 46431

2012-06-18 Thread Brian Paul
On 06/15/2012 04:07 PM, Chad Versace wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I want to cherry-pick a short series of 3 to 8.0, but want to check others if they suspect any problems with the series. If no one responds by Monday morning, I'll cherry-pick it then. You can view the ser

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #14 from Török Edwin 2012-06-18 11:49:37 PDT --- (In reply to comment #13) > (In reply to comment #7) > > > Currently R600 chips are treated as RV710 chips, which is another bug. To > > fix > > this, we need to modify the r600_llv

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #13 from Török Edwin 2012-06-18 11:48:12 PDT --- (In reply to comment #7) > Currently R600 chips are treated as RV710 chips, which is another bug. To fix > this, we need to modify the r600_llvm_gpu_string() function in r600_llvm.c

[Mesa-dev] [Bug 51092] src/mesa/main/fbobject.c:1897: reuse_framebuffer_texture_attachment: Assertion `src_att->Renderbuffer != ((void *)0)' failed.

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51092 Brian Paul changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #12 from Török Edwin 2012-06-18 11:46:38 PDT --- (In reply to comment #8) > > Can you move these R700 instruction definitions above the Evergreen Only > instructions, so the chip definitions are in chronological order. There > sho

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #11 from Török Edwin 2012-06-18 11:46:11 PDT --- Created attachment 63188 --> https://bugs.freedesktop.org/attachment.cgi?id=63188 dos2unix Processors.td git doesn't like it otherwise. To apply: git am --ignore-whitespace 0002-ra

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #10 from Török Edwin 2012-06-18 11:45:26 PDT --- Created attachment 63187 --> https://bugs.freedesktop.org/attachment.cgi?id=63187 treat r600 separately from rv710 Note: Processors.td has wrong EOLs, you'll probably need to dos2un

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 Török Edwin changed: What|Removed |Added Attachment #63183|0 |1 is obsolete|

Re: [Mesa-dev] [PATCH 4/4] docs: update GL3.txt for ARB_base_instance

2012-06-18 Thread Brian Paul
On 06/15/2012 03:38 PM, Fredrik Höglund wrote: --- docs/GL3.txt |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 17136de..89b46c0 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -119,7 +119,7 @@ GL_ARB_compressed_texture_pixel_storage

Re: [Mesa-dev] [PATCH 3/4] st/mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Brian Paul
On 06/15/2012 03:38 PM, Fredrik Höglund wrote: --- src/mesa/state_tracker/st_draw.c |1 + src/mesa/state_tracker/st_extensions.c |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index db8caa5

Re: [Mesa-dev] [PATCH 2/4] gallium: Add PIPE_CAP_START_INSTANCE

2012-06-18 Thread Brian Paul
On 06/15/2012 03:38 PM, Fredrik Höglund wrote: --- src/gallium/docs/source/screen.rst |3 ++- src/gallium/drivers/i915/i915_screen.c |1 + src/gallium/drivers/nv30/nv30_screen.c |1 + src/gallium/drivers/nv50/nv50_screen.c |1 + src/gallium/driver

Re: [Mesa-dev] [PATCH] scons: Do not build svga if using Solaris Studio C compiler.

2012-06-18 Thread Brian Paul
On 06/17/2012 11:18 AM, Vinson Lee wrote: Solaris Studio C compiler does not support anonymous structs and anonymous unions. Signed-off-by: Vinson Lee --- scons/gallium.py |2 ++ src/gallium/drivers/svga/SConscript |4 src/gallium/targets/dri-vmwgf

Re: [Mesa-dev] [PATCH 1/4] mesa: Add support for GL_ARB_base_instance

2012-06-18 Thread Brian Paul
On 06/15/2012 03:38 PM, Fredrik Höglund wrote: --- src/mapi/glapi/gen/ARB_base_instance.xml | 40 +++ src/mapi/glapi/gen/Makefile |1 + src/mapi/glapi/gen/gl_API.xml|3 +- src/mesa/main/dd.h | 10 +++ src/mesa/main/dlist.c

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #8 from Tom Stellard 2012-06-18 10:57:31 PDT --- Comment on attachment 63183 --> https://bugs.freedesktop.org/attachment.cgi?id=63183 SIN/COS_r700 as suggested > >@@ -809,13 +812,21 @@ def RECIP_UINT_eg : RECIP_UINT_Common<0x94>;

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #7 from Tom Stellard 2012-06-18 10:45:42 PDT --- (In reply to comment #6) > (In reply to comment #4) > > > > R700 chips normalize trigonometric inputs the same was as Evergreen+, so the > > correct fix would be to create a SIN_r700

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #6 from Török Edwin 2012-06-18 10:28:38 PDT --- (In reply to comment #4) > > R700 chips normalize trigonometric inputs the same was as Evergreen+, so the > correct fix would be to create a SIN_r700 instruction and use the TRIG_eg >

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #5 from Török Edwin 2012-06-18 10:24:59 PDT --- Created attachment 63183 --> https://bugs.freedesktop.org/attachment.cgi?id=63183 SIN/COS_r700 as suggested -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=emai

[Mesa-dev] [Bug 48441] gnome-control-center crashes

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48441 --- Comment #22 from Bastien Nocera 2012-06-18 10:06:23 PDT --- https://bugs.webkit.org/show_bug.cgi?id=89358 -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email --- You are receiving this mail because: --- You a

Re: [Mesa-dev] [PATCH] st/mesa: fix transform feedback of unsubscripted gl_ClipDistance array

2012-06-18 Thread Bryan Cain
On Jun 17, 2012 6:55 PM, "Bryan Cain" wrote: > > On 6/16/2012 5:43 PM, Marcin Slusarz wrote: >> >> gl_ClipDistance needs special treatment in form of lowering pass >> which transforms gl_ClipDistance representation from float[] to >> vec4[]. There are 2 implementations - at glsl linker level (enab

Re: [Mesa-dev] [RFC] Extract API-dependent code from utilities

2012-06-18 Thread Tom Stellard
cc pig...@lists.freedesktop.org Hi Blaž, I forgot to mention to that there is a dedicated piglit mailing list. I'm sure everyone subscribed to the piglit list is also subscribed to mesa-dev, but sending the patches to the piglit list will make it easier for people with mail filters. -Tom On Sun

Re: [Mesa-dev] [PATCH] st/glx: Do not undefine _R, _G, and _B.

2012-06-18 Thread Brian Paul
On Sun, Jun 17, 2012 at 11:12 PM, Vinson Lee wrote: > Fixes build error on Cygwin and Solaris. _R, _G, and _B are used in > ctype.h on those platforms. > > Signed-off-by: Vinson Lee > --- >  src/gallium/state_trackers/glx/xlib/glx_usefont.c |    3 --- >  1 file changed, 3 deletions(-) > > diff --

Re: [Mesa-dev] [PATCH] gallium: Add support for Solaris Studio C++ compiler.

2012-06-18 Thread Brian Paul
On Mon, Jun 18, 2012 at 1:16 AM, Vinson Lee wrote: > Signed-off-by: Vinson Lee > --- >  src/gallium/include/pipe/p_compiler.h |    6 +- >  1 files changed, 5 insertions(+), 1 deletions(-) > > diff --git a/src/gallium/include/pipe/p_compiler.h > b/src/gallium/include/pipe/p_compiler.h > index

[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=50317 --- Comment #4 from Tom Stellard 2012-06-18 06:39:24 PDT --- (In reply to comment #3) > Just hit this bug with HoN. > Apparently there is a pattern for AMDIL.sin, but not for AMDGPU.sin: > > class SIN_Common inst> : R600_1OP < > inst, "SIN",

[Mesa-dev] [Bug 48441] gnome-control-center crashes

2012-06-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=48441 --- Comment #21 from Bastien Nocera 2012-06-18 03:27:14 PDT --- It wasn't fixed, it was worked around: https://plus.google.com/104877287288155269055/posts/grHDgRNc1gi -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email -

Re: [Mesa-dev] [PATCH 02/11 v3] mesa intel driver:

2012-06-18 Thread Zhao, Halley
Thanks Paul, I have updated the patch as following. Another colleague is working on texture support of YUYV format, patches will come soon. >From c036437ab676f26f8f1b788cbfafaca4b4b6005a Mon Sep 17 00:00:00 2001 From: Zhao Halley Date: Fri, 25 May 2012 11:36:48 +0800 Subject: [PATCH 02/10] inte

[Mesa-dev] [PATCH] gallium: Add support for Solaris Studio C++ compiler.

2012-06-18 Thread Vinson Lee
Signed-off-by: Vinson Lee --- src/gallium/include/pipe/p_compiler.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h index 1daa5ab..5958333 100644 --- a/src/gallium/include/pipe/p_compiler.