Re: [Mesa-dev] [PATCH 4/5] egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context

2012-08-01 Thread Ian Romanick
On 08/01/2012 06:11 PM, Matt Turner wrote: On Wed, Aug 1, 2012 at 5:21 PM, Ian Romanick wrote: diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c index 9d534f0..54e5727 100644 --- a/src/egl/main/eglmisc.c +++ b/src/egl/main/eglmisc.c @@ -107,9 +107,8 @@ _eglUpdateExtensionsString(_EGL

Re: [Mesa-dev] [PATCH] gallium/util: Use GCC built-in functions for NaN and infinity.

2012-08-01 Thread Vinson Lee
On Wed, Aug 1, 2012 at 2:50 PM, Matt Turner wrote: > > Indeed. I wondered the same. The use of NAN/INF are inside an #if > !defined(PIPE_CC_MSVC) block, so MSVC can't be the problem. NAN and > INFINITY are c99, which I'm not sure we can assume. Then again, if not > MSVC, what compiler is the probl

Re: [Mesa-dev] [PATCH 4/5] egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context

2012-08-01 Thread Matt Turner
On Wed, Aug 1, 2012 at 5:21 PM, Ian Romanick wrote: > diff --git a/src/egl/main/eglmisc.c b/src/egl/main/eglmisc.c > index 9d534f0..54e5727 100644 > --- a/src/egl/main/eglmisc.c > +++ b/src/egl/main/eglmisc.c > @@ -107,9 +107,8 @@ _eglUpdateExtensionsString(_EGLDisplay *dpy) > _EGL_CHECK_EXTEN

[Mesa-dev] [PATCH 1/5] dri2: Fix bug in attribute handling for non-desktop OpenGL contexts

2012-08-01 Thread Ian Romanick
From: Ian Romanick Previously an error would be generated if any attributes were specified when creating a non-desktop OpenGL context. This was a mistake, and it will prevent old drivers from working with new EGL libraries that add support for the createContextAttribs interface. Instead, match

[Mesa-dev] [PATCH 3/5] egl_dri2: Refactor dereference of dri2_ctx_shared

2012-08-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick Cc: Kristian Høgsberg Cc: Matt Turner --- src/egl/drivers/dri2/egl_dri2.c | 11 +-- 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 480268f..90956a1

[Mesa-dev] [PATCH 4/5] egl: Replace KHR_surfaceless_* extensions with KHR_surfaceless_context

2012-08-01 Thread Ian Romanick
From: Ian Romanick KHR extension name is reserved for Khronos ratified extensions, and there is no such thing as EGL_KHR_surfaceless_{gles1,gles2,opengl}. Replace these three extensions with EGL_KHR_surfaceless_context since that extension actually exists. Signed-off-by: Ian Romanick Cc: Krist

[Mesa-dev] [PATCH 2/5] egl_dri2: Remove swrast version >= 2 checks

2012-08-01 Thread Ian Romanick
From: Ian Romanick Since support for swrast version 2 was added (f55d027a), it has also been required. In swrast_driver_extensions, version 2 is set for __DRI_SWRAST extension. Remove the spurious version checks sprinked through the code. Signed-off-by: Ian Romanick Cc: Kristian Høgsberg Cc:

[Mesa-dev] [PATCH 5/5] egl: Import eglext.h version 14

2012-08-01 Thread Ian Romanick
From: Ian Romanick This is necessary for EGL_KHR_create_context work (including writing piglit tests). Signed-off-by: Ian Romanick Cc: Matt Turner --- include/EGL/eglext.h | 157 +- 1 files changed, 143 insertions(+), 14 deletions(-) diff --gi

[Mesa-dev] [PATCH] r600g: atomize sampler state

2012-08-01 Thread j . glisse
From: Jerome Glisse Use atom for sampler state. Does not provide new functionality or fix any bug. Just a step toward full atom base r600g. Signed-off-by: Jerome Glisse --- src/gallium/drivers/r600/evergreen_hw_context.c | 117 - src/gallium/drivers/r600/evergreen_state.c |

[Mesa-dev] r600g atomizing

2012-08-01 Thread j . glisse
This patch atomize the sampler state. No regression on evergreen, can't really check r6xx/r7xx as they all lockup for me with mesa master and 3.5 Plan is to convert everything to atom and then predefine atom emission order. Cheers, Jerome ___ mesa-dev

[Mesa-dev] [PATCH 7/7] Make shared-glapi the default

2012-08-01 Thread Ian Romanick
From: Ian Romanick You can't practically have desktop OpenGL and OpenGL ES on the same system without this. The benefits of not having it (e.g., a more compact dispatch table) are irrelevant. Signed-off-by: Ian Romanick --- configure.ac |4 ++-- 1 files changed, 2 insertions(+), 2 deletio

[Mesa-dev] [PATCH 6/7] mesa/test: Fix trivial typos in src/mapi/glapi tests

2012-08-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/tests/check_table.cpp |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mapi/glapi/tests/check_table.cpp b/src/mapi/glapi/tests/check_table.cpp index fa1aeb1..dcd6382 100644 --- a/src/mapi/glapi

[Mesa-dev] [PATCH 5/7] mesa/tests: Add tests for the generated shared-glapi dispatch table

2012-08-01 Thread Ian Romanick
From: Ian Romanick These are largely based on the src/mapi/glapi/tests. However, shared-glapi provides less external visibility into the dispatch table, so there is less to test. Also, shared-glapi does not implement _glapi_get_proc_name, so that test was removed. Signed-off-by: Ian Romanick

[Mesa-dev] [PATCH 3/7] glx: Don't use glapitable.h at all

2012-08-01 Thread Ian Romanick
From: Ian Romanick When --enable-shared-glapi is used, all non-ABI entries in the table are lies. Avoiding the use of glapitable.h avoids the lies. The only entries used in this code are entries that are ABI. For these, the ABI offset can be used directly. Since this code is in src/glx, it ca

[Mesa-dev] [PATCH 4/7] glapi: Prevent accidental use of lies w/shared-glapi

2012-08-01 Thread Ian Romanick
From: Ian Romanick Signed-off-by: Ian Romanick --- src/mapi/glapi/gen/gl_table.py |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/gen/gl_table.py b/src/mapi/glapi/gen/gl_table.py index 7f3b915..a0ae4c3 100644 --- a/src/mapi/glapi/gen/gl_table.py +++

[Mesa-dev] [PATCH 1/7] mesa/tests: Don't build glapi tests with shared-glapi

2012-08-01 Thread Ian Romanick
From: Ian Romanick This fixes 'make check' on with --enable-shared-glapi. This test cannot work in that environment. Signed-off-by: Ian Romanick --- src/mapi/glapi/tests/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/src/mapi/glapi/tests/Makefile.am b/sr

Re: [Mesa-dev] [PATCH v2 00/21] ARB_sampler_object and minor fixes

2012-08-01 Thread Eric Anholt
Pauli Nieminen writes: > I updated patches based on review comments and run piglit for swrast. There > is also new patch to fix sampler object binding to update shared state in > share group. > > Too bad swrast fails randomly all tests that use front buffer because tests > aren't waiting for map

Re: [Mesa-dev] [PATCH 5/8] build: Fix out-of-tree generation of builtin_function.cpp

2012-08-01 Thread Kenneth Graunke
On 08/01/2012 03:02 PM, Matt Turner wrote: > --- > I'm unsure about removing 'builtin/profiles/* ...' but they caused > the build to fail if they were there. > > src/glsl/Makefile.am |4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/glsl/Makefile.am b/src/glsl/

Re: [Mesa-dev] [PATCH 6/8] build: Fix autogen.sh to allow out-of-tree builds

2012-08-01 Thread Matt Turner
On Wed, Aug 1, 2012 at 3:48 PM, Kenneth Graunke wrote: > On 08/01/2012 03:02 PM, Matt Turner wrote: >> --- >> Still some buggy areas, including Gallium and GLES. >> >> autogen.sh | 12 +++- >> 1 files changed, 3 insertions(+), 9 deletions(-) >> >> diff --git a/autogen.sh b/autogen.sh >>

Re: [Mesa-dev] [PATCH 6/8] build: Fix autogen.sh to allow out-of-tree builds

2012-08-01 Thread Kenneth Graunke
On 08/01/2012 03:02 PM, Matt Turner wrote: > --- > Still some buggy areas, including Gallium and GLES. > > autogen.sh | 12 +++- > 1 files changed, 3 insertions(+), 9 deletions(-) > > diff --git a/autogen.sh b/autogen.sh > index b5f6ec4..3e6e500 100755 > --- a/autogen.sh > +++ b/autoge

[Mesa-dev] [PATCH 8/8] build: Use MKDIR_P in src/mesa/Makefile.am

2012-08-01 Thread Matt Turner
--- src/mesa/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 20814c0..f1cd6d6 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -85,11 +85,11 @@ main/api_exec_es2.c: main/APIspec.xml main/es_gen

[Mesa-dev] [PATCH 7/8] build: Use AM_V_GEN in src/mesa/Makefile.am

2012-08-01 Thread Matt Turner
--- src/mesa/Makefile.am |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 1049ad4..20814c0 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -77,20 +77,20 @@ main/api_exec_es2_remap_helper.h: $(GLAPI)/g

[Mesa-dev] [PATCH 6/8] build: Fix autogen.sh to allow out-of-tree builds

2012-08-01 Thread Matt Turner
--- Still some buggy areas, including Gallium and GLES. autogen.sh | 12 +++- 1 files changed, 3 insertions(+), 9 deletions(-) diff --git a/autogen.sh b/autogen.sh index b5f6ec4..3e6e500 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,19 +1,13 @@ #! /bin/sh -srcdir=`dirname "$0"` +sr

[Mesa-dev] [PATCH 5/8] build: Fix out-of-tree generation of builtin_function.cpp

2012-08-01 Thread Matt Turner
--- I'm unsure about removing 'builtin/profiles/* ...' but they caused the build to fail if they were there. src/glsl/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index 0ab6672..c8c8f1c 100644 --- a/src/glsl/Ma

[Mesa-dev] [PATCH 4/8] build: Fix gtest out-of-tree build

2012-08-01 Thread Matt Turner
Introduced by 3d000e7dd. --- src/gtest/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtest/Makefile.am b/src/gtest/Makefile.am index 3824d71..7defa34 100644 --- a/src/gtest/Makefile.am +++ b/src/gtest/Makefile.am @@ -19,8 +19,8 @@ # FROM, OUT OF OR IN

[Mesa-dev] [PATCH 3/8] build: Fix out-of-tree generation of api_exec_es{1, 2}.c

2012-08-01 Thread Matt Turner
--- src/mesa/Makefile.am |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 85cdc1a..1049ad4 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -77,11 +77,11 @@ main/api_exec_es2_remap_helper.h: $(GLAPI)/gl_an

[Mesa-dev] [PATCH 2/8] build/sources.mak: Add src/glsl/glcpp to INCLUDE_DIRS

2012-08-01 Thread Matt Turner
Fixes problem where libdricore's of-out-tree build couldn't find glcpp.h. --- src/mesa/sources.mak |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index be7e13d..30e2219 100644 --- a/src/mesa/sources.mak +++ b/src/mesa/sources.ma

[Mesa-dev] [PATCH 1/8] build/sources.mak: Remove unused GLSL_LIBS

2012-08-01 Thread Matt Turner
--- src/mesa/sources.mak |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) diff --git a/src/mesa/sources.mak b/src/mesa/sources.mak index 74744c4..be7e13d 100644 --- a/src/mesa/sources.mak +++ b/src/mesa/sources.mak @@ -372,12 +372,6 @@ MESA_GALLIUM_OBJECTS = \ COMMON_DRIVER_OBJECT

[Mesa-dev] Out-of-tree build fixes

2012-08-01 Thread Matt Turner
This series, on top of RAOF's 7 patch series allows basic out-of-tree builds to work. Patches 1, 7, and 8 are really just a few trivial changes, not related to out-of-tree builds. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.fre

Re: [Mesa-dev] [PATCH] gallium/util: Use GCC built-in functions for NaN and infinity.

2012-08-01 Thread Matt Turner
On Tue, Jul 31, 2012 at 1:16 AM, Philipp Klaus Krause wrote: > This one doesn't make sense to me: For __GNUC__ it uses > implementation-defined non-standard stuff. For other compilers it > divides by zero, which is undefined behaviour. Why not use standard > macros NAN and INFINITY from math.h? Th

Re: [Mesa-dev] [PATCH] build: fix location of generated files in src/mesa (v4)

2012-08-01 Thread Kenneth Graunke
On 08/01/2012 02:19 PM, Matt Turner wrote: > From: Christopher James Halse Rogers > > Also fix include paths for the generated headers. > > v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from > top_builddir/top_srcdir rather than the ambiguous TOP. > v3: Add both top_builddir a

[Mesa-dev] [PATCH 6/6] radeonsi: initial VDPAU target

2012-08-01 Thread Christian König
Windowed speed is of course way to slow, but fullscreen works like a charm now. Signed-off-by: Christian König --- configure.ac|2 +- src/gallium/targets/vdpau-radeonsi/Makefile | 30 +++ src/gallium/targets/vdpau-radeonsi/target.c |

[Mesa-dev] [PATCH 5/6] radeonsi: fix TEX writemask

2012-08-01 Thread Christian König
Using the writemask in the sampler results in packet VGPRS. For now just sample all components and let llvm chose the right one. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/galliu

[Mesa-dev] [PATCH 4/6] radeonsi: fix shader param and color count

2012-08-01 Thread Christian König
Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c b/src/gallium/drivers/radeonsi/radeonsi_shader.c index 81b44a7..522016e 100644 --- a/

[Mesa-dev] [PATCH 1/6] radeonsi: disable tiling until we fixed all bugs

2012-08-01 Thread Christian König
Currently there are more important things to worry about. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/r600_texture.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/radeonsi/r600_texture.c b/src/gallium/drivers/radeonsi/r600_texture.c index e3424

[Mesa-dev] [PATCH 3/6] radeon/llvm: fix fp immediates on SI

2012-08-01 Thread Christian König
I don't know if this is a good idea, but it fixes the problem at hand. Signed-off-by: Christian König --- src/gallium/drivers/radeon/SICodeEmitter.cpp | 27 +++--- 1 file changed, 20 insertions(+), 7 deletions(-) diff --git a/src/gallium/drivers/radeon/SICodeEmitter.cpp b

[Mesa-dev] [PATCH 2/6] radeonsi: fix texture loads from sampler > 0

2012-08-01 Thread Christian König
The backend is multiplying the offset by the numbers of elements anyway, so doing it twice just makes everything crash. Signed-off-by: Christian König --- src/gallium/drivers/radeonsi/radeonsi_shader.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers

Re: [Mesa-dev] [PATCH] build: fix location of generated files in src/mesa (v4)

2012-08-01 Thread Chad Versace
Daniel, This patch touches your Android makefile fixes. Could you verify that it doesn't break the Android build? -Chad On 08/01/2012 02:19 PM, Matt Turner wrote: > From: Christopher James Halse Rogers > > Also fix include paths for the generated headers. > > v2: Switch to using self-explanat

[Mesa-dev] [PATCH] build: fix location of generated files in src/mesa (v4)

2012-08-01 Thread Matt Turner
From: Christopher James Halse Rogers Also fix include paths for the generated headers. v2: Switch to using self-explanatory BUILDDIR/SRCDIR defined from top_builddir/top_srcdir rather than the ambiguous TOP. v3: Add both top_builddir and top_srcdir to include flags for mesa asm. These re

[Mesa-dev] [PATCH 2/2] r600g: Fix instruction group merge when there are predicated insts.

2012-08-01 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_asm.c | 18 ++ 1 file changed, 18 insertions(+) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 0f28824..b0194bf 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm

[Mesa-dev] [PATCH 1/2] radeon/llvm: PS/PS are not set if PRED_SEL* does not match

2012-08-01 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_asm.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 0cca829..0f28824 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_a

[Mesa-dev] [PATCH] r600g: Add support for predicates

2012-08-01 Thread Vincent Lejeune
--- src/gallium/drivers/r600/r600_asm.c| 12 +++- src/gallium/drivers/r600/r600_asm.h| 4 +++- src/gallium/drivers/r600/r600_shader.c | 8 +--- src/gallium/drivers/r600/r700_asm.c| 5 +++-- 4 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/gallium/driv

Re: [Mesa-dev] Down to 1 single WebGL 1.0.1 test failure with Intel driver

2012-08-01 Thread Benoit Jacob
- Original Message - > On 1 August 2012 12:10, Benoit Jacob < bja...@mozilla.com > wrote: > > - Original Message - > > > > On 08/01/2012 11:23 AM, Benoit Jacob wrote: > > > > > Hi, > > > > > > > > > > We're now at the finish line of passing WebGL 1.0.1 test on > > > > real >

Re: [Mesa-dev] Down to 1 single WebGL 1.0.1 test failure with Intel driver

2012-08-01 Thread Paul Berry
On 1 August 2012 12:10, Benoit Jacob wrote: > > > - Original Message - > > On 08/01/2012 11:23 AM, Benoit Jacob wrote: > > > Hi, > > > > > > We're now at the finish line of passing WebGL 1.0.1 test on real > > > drivers. > > > > > > We landed a work-around for the glLinkProgram issue, as

Re: [Mesa-dev] Down to 1 single WebGL 1.0.1 test failure with Intel driver

2012-08-01 Thread Benoit Jacob
- Original Message - > On 08/01/2012 11:23 AM, Benoit Jacob wrote: > > Hi, > > > > We're now at the finish line of passing WebGL 1.0.1 test on real > > drivers. > > > > We landed a work-around for the glLinkProgram issue, as it was > > happening on many drivers across many OSes. > > >

Re: [Mesa-dev] Down to 1 single WebGL 1.0.1 test failure with Intel driver

2012-08-01 Thread Kenneth Graunke
On 08/01/2012 11:23 AM, Benoit Jacob wrote: > Hi, > > We're now at the finish line of passing WebGL 1.0.1 test on real > drivers. > > We landed a work-around for the glLinkProgram issue, as it was > happening on many drivers across many OSes. > > Now the very last conformance failure on the Inte

Re: [Mesa-dev] [PATCH] linux: Default to dri not xlib on all arches

2012-08-01 Thread Adam Jackson
On 8/1/12 11:52 AM, Matt Turner wrote: On Wed, Aug 1, 2012 at 8:45 AM, Adam Jackson wrote: Even on s390{,x} where there's no video card, you still want this so GLX protocol works. Yes, please. Too many bad defaults in configure.ac. My alpha with an R350 thanks you. Reviewed-by: Matt Turner

[Mesa-dev] Down to 1 single WebGL 1.0.1 test failure with Intel driver

2012-08-01 Thread Benoit Jacob
Hi, We're now at the finish line of passing WebGL 1.0.1 test on real drivers. We landed a work-around for the glLinkProgram issue, as it was happening on many drivers across many OSes. Now the very last conformance failure on the Intel driver / Mesa 8.0.2 is the one in this test page, http

Re: [Mesa-dev] Mesa (master): linux: Default to dri not xlib on all arches

2012-08-01 Thread Adam Jackson
On 8/1/12 1:01 PM, Jose Fonseca wrote: I think that there's one ';;' too many. This is from my build daemon: checking for posix_memalign... yes ./configure: line 18498: syntax error near unexpected token `;;' ./configure: line 18498: `;;' There was, yes, sorry. Matt fixed it in

Re: [Mesa-dev] [PATCH] Add support for OES_standard_derivatives in GLSL ES

2012-08-01 Thread Kenneth Graunke
On 08/01/2012 10:02 AM, Tomeu Vizoso wrote: > On Mon, Jul 23, 2012 at 4:30 PM, Tomeu Vizoso wrote: >> On Mon, Jul 16, 2012 at 8:45 PM, Tomeu Vizoso wrote: >>> Previously, we advertised the extension but the builtin functions >>> were enabled only for GLSL and not for ES. >>> >>> Bugzilla: https:/

[Mesa-dev] [Bug 53053] ./configure: line 18498: syntax error near unexpected token `; ; '

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53053 Matt Turner changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

Re: [Mesa-dev] [PATCH 1/3] meta: Implement sensible behavior for BlitFramebuffer with sRGB.

2012-08-01 Thread Ian Romanick
On 08/01/2012 03:16 AM, Christoph Bumiller wrote: On 01.08.2012 11:59, Christoph Bumiller wrote: On 01.08.2012 07:52, Kenneth Graunke wrote: On 07/31/2012 06:04 PM, Eric Anholt wrote: Prior to GL 4.2 spec, there was no guidance on how to implement BlitFramebuffer for sRGB. Mesa chose to imple

Re: [Mesa-dev] [PATCH] Add support for OES_standard_derivatives in GLSL ES

2012-08-01 Thread Tomeu Vizoso
On Mon, Jul 23, 2012 at 4:30 PM, Tomeu Vizoso wrote: > On Mon, Jul 16, 2012 at 8:45 PM, Tomeu Vizoso wrote: >> Previously, we advertised the extension but the builtin functions >> were enabled only for GLSL and not for ES. >> >> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=52003 >> >> S

[Mesa-dev] [Bug 53053] New: ./configure: line 18498: syntax error near unexpected token `; ; '

2012-08-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=53053 Bug #: 53053 Summary: ./configure: line 18498: syntax error near unexpected token `;;' Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64)

Re: [Mesa-dev] Mesa (master): linux: Default to dri not xlib on all arches

2012-08-01 Thread Jose Fonseca
I think that there's one ';;' too many. This is from my build daemon: checking for posix_memalign... yes ./configure: line 18498: syntax error near unexpected token `;;' ./configure: line 18498: `;;' Jose - Original Message - > Module: Mesa > Branch: master > Commit: 33ef67ab2

Re: [Mesa-dev] [PATCH] mesa: fix default_access_mode() result for ES2

2012-08-01 Thread Ian Romanick
On 08/01/2012 09:51 AM, Brian Paul wrote: The GL_OES_mapbuffer extension is supported by OpenGL ES 1 and ES 2 so return GL_MAP_WRITE_BIT for both ES versions, not just ES 1. Yes, but keep ?:. Reviewed-by: Ian Romanick --- src/mesa/main/bufferobj.c |6 -- 1 files changed, 4 insert

[Mesa-dev] [PATCH] mesa: fix default_access_mode() result for ES2

2012-08-01 Thread Brian Paul
The GL_OES_mapbuffer extension is supported by OpenGL ES 1 and ES 2 so return GL_MAP_WRITE_BIT for both ES versions, not just ES 1. --- src/mesa/main/bufferobj.c |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c inde

Re: [Mesa-dev] [PATCH 1/2] i965/msaa: Treat GL_SAMPLES=1 as equivalent to GL_SAMPLES=0.

2012-08-01 Thread Paul Berry
On 1 August 2012 08:18, Ian Romanick wrote: > On 07/27/2012 10:35 AM, Paul Berry wrote: > >> EXT_framebuffer_multisample is a required subpart of >> ARB_framebuffer_object, which means that we must support it even on >> platforms that don't support MSAA. Fortunately >> EXT_framebuffer_multisampl

Re: [Mesa-dev] [PATCH 3/3] configure.ac: Don't duplicate CFLAGS

2012-08-01 Thread Adam Jackson
On 8/1/12 11:54 AM, Matt Turner wrote: These assignments caused CFLAGS specified on the configure like to appear twice in the final CFLAGS. Removing them makes the behavior reasonable -- USER_CFLAGS are appended at the end of CFLAGS, allowing the builder to override flags added by configure.ac li

[Mesa-dev] [PATCH 3/3] configure.ac: Don't duplicate CFLAGS

2012-08-01 Thread Matt Turner
These assignments caused CFLAGS specified on the configure like to appear twice in the final CFLAGS. Removing them makes the behavior reasonable -- USER_CFLAGS are appended at the end of CFLAGS, allowing the builder to override flags added by configure.ac like -fno-strict-aliasing. --- configure.a

[Mesa-dev] [PATCH 2/3] configure.ac: Remove contractions to stop breaking syntax highlighting

2012-08-01 Thread Matt Turner
--- configure.ac |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index 4673ff7..975c215 100644 --- a/configure.ac +++ b/configure.ac @@ -284,11 +284,11 @@ dnl explicitly requested. If both disabled, set to static since shared dnl was ex

[Mesa-dev] [PATCH 1/3] configure.ac: remove remnants of ppc asm support

2012-08-01 Thread Matt Turner
Missed by d387899388bd7090bda50593e35f8ed3cb730c47. --- configure.ac |7 --- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/configure.ac b/configure.ac index b01b192..4673ff7 100644 --- a/configure.ac +++ b/configure.ac @@ -470,13 +470,6 @@ if test "x$enable_asm" = xyes; th

Re: [Mesa-dev] [PATCH] linux: Default to dri not xlib on all arches

2012-08-01 Thread Matt Turner
On Wed, Aug 1, 2012 at 8:45 AM, Adam Jackson wrote: > Even on s390{,x} where there's no video card, you still want this so GLX > protocol works. > > Signed-off-by: Adam Jackson > --- > configure.ac |4 +--- > 1 files changed, 1 insertions(+), 3 deletions(-) > > diff --git a/configure.ac b/co

[Mesa-dev] [PATCH] linux: Default to dri not xlib on all arches

2012-08-01 Thread Adam Jackson
Even on s390{,x} where there's no video card, you still want this so GLX protocol works. Signed-off-by: Adam Jackson --- configure.ac |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index b01b192..258c8ba 100644 --- a/configure.ac +++ b/con

Re: [Mesa-dev] [PATCH 1/2] i965/msaa: Treat GL_SAMPLES=1 as equivalent to GL_SAMPLES=0.

2012-08-01 Thread Ian Romanick
On 07/27/2012 10:35 AM, Paul Berry wrote: EXT_framebuffer_multisample is a required subpart of ARB_framebuffer_object, which means that we must support it even on platforms that don't support MSAA. Fortunately EXT_framebuffer_multisample allows for this by allowing GL_MAX_SAMPLES to be set to 1.

Re: [Mesa-dev] [PATCH 15/22] mesa: Add support for glUniformBlockBinding() in display lists.

2012-08-01 Thread Brian Paul
On 07/31/2012 04:01 PM, Eric Anholt wrote: Fixes piglit GL_ARB_uniform_buffer_object/dlist. --- src/mesa/main/dlist.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 510fd1e..e3dc9c0 100644 --- a/src/mesa/ma

Re: [Mesa-dev] [PATCH] egl: update eglext.h to revision 18699

2012-08-01 Thread Matt Turner
On Wed, Aug 1, 2012 at 7:41 AM, Ian Romanick wrote: > On 07/31/2012 03:46 PM, Matt Turner wrote: >> Useful for EGL_KHR_create_context. > > I have a similar patch one on of my branches. One comment below... Okay. If you want to commit yours (and maybe update egl.h? It seemed like a significant di

Re: [Mesa-dev] [PATCH] egl: update eglext.h to revision 18699

2012-08-01 Thread Ian Romanick
On 07/31/2012 03:46 PM, Matt Turner wrote: Useful for EGL_KHR_create_context. I have a similar patch one on of my branches. One comment below... --- include/EGL/eglext.h | 157 +- 1 files changed, 143 insertions(+), 14 deletions(-) diff --

Re: [Mesa-dev] [PATCH] scons: Add support for Intel Compiler.

2012-08-01 Thread Brian Paul
On 08/01/2012 12:05 AM, Vinson Lee wrote: The patch makes the SCons build with Intel Compiler successful. Signed-off-by: Vinson Lee --- scons/gallium.py |6 ++ src/gallium/winsys/svga/drm/SConscript |2 +- 2 files changed, 7 insertions(+), 1 deletion(-) dif

Re: [Mesa-dev] some radeon/r200 cleanup/fixes

2012-08-01 Thread Roland Scheidegger
Thanks for testing, I pushed those. Roland Am 30.07.2012 11:06, schrieb Barto: > I did the tests in piglit (glean tests ) with my radeon 9000 ( rv250 ), > > all is Ok, I have the same results with Roland's patches and without > Roland's patches, > > I see no regressions, these patches for the r

Re: [Mesa-dev] [PATCH 1/3] meta: Implement sensible behavior for BlitFramebuffer with sRGB.

2012-08-01 Thread Henri Verbeet
On 1 August 2012 03:04, Eric Anholt wrote: > Prior to GL 4.2 spec, there was no guidance on how to implement > BlitFramebuffer for sRGB. Mesa chose to implement skipping decode and encode, > providing a reasonable behavior for sRGB -> sRGB or RGB -> RGB, but providing > something absurd for mixin

Re: [Mesa-dev] [PATCH 1/3] meta: Implement sensible behavior for BlitFramebuffer with sRGB.

2012-08-01 Thread Christoph Bumiller
On 01.08.2012 11:59, Christoph Bumiller wrote: > On 01.08.2012 07:52, Kenneth Graunke wrote: >> On 07/31/2012 06:04 PM, Eric Anholt wrote: >>> Prior to GL 4.2 spec, there was no guidance on how to implement >>> BlitFramebuffer for sRGB. Mesa chose to implement skipping decode and >>> encode, >>>

Re: [Mesa-dev] [PATCH 1/3] meta: Implement sensible behavior for BlitFramebuffer with sRGB.

2012-08-01 Thread Christoph Bumiller
On 01.08.2012 07:52, Kenneth Graunke wrote: > On 07/31/2012 06:04 PM, Eric Anholt wrote: >> Prior to GL 4.2 spec, there was no guidance on how to implement >> BlitFramebuffer for sRGB. Mesa chose to implement skipping decode and >> encode, >> providing a reasonable behavior for sRGB -> sRGB or RG

Re: [Mesa-dev] [PATCH 17/22] i965: Bind UBOs as surfaces like we do for pull constants.

2012-08-01 Thread Kenneth Graunke
On 07/31/2012 03:01 PM, Eric Anholt wrote: > --- > src/mesa/drivers/dri/i965/brw_context.h | 22 +++- > src/mesa/drivers/dri/i965/brw_state.h|2 + > src/mesa/drivers/dri/i965/brw_state_upload.c |4 ++ > src/mesa/drivers/dri/i965/brw_vs.c |2

Re: [Mesa-dev] [PATCH 03/22] glsl: Add a "ubo_load" expression type for fetches from UBOs.

2012-08-01 Thread Kenneth Graunke
On 07/31/2012 03:01 PM, Eric Anholt wrote: > Drivers will probably want to be able to take UBO references in a > shader like: > > uniform ubo1 { > float a; > float b; > float c; > float d; > } > > void main()

[Mesa-dev] [PATCH] scons: Add support for Intel Compiler.

2012-08-01 Thread Vinson Lee
The patch makes the SCons build with Intel Compiler successful. Signed-off-by: Vinson Lee --- scons/gallium.py |6 ++ src/gallium/winsys/svga/drm/SConscript |2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/scons/gallium.py b/scons/gallium.py

Re: [Mesa-dev] [PATCH 1/3] meta: Implement sensible behavior for BlitFramebuffer with sRGB.

2012-08-01 Thread Kenneth Graunke
On 07/31/2012 06:04 PM, Eric Anholt wrote: > Prior to GL 4.2 spec, there was no guidance on how to implement > BlitFramebuffer for sRGB. Mesa chose to implement skipping decode and encode, > providing a reasonable behavior for sRGB -> sRGB or RGB -> RGB, but providing > something absurd for mixing