Re: [Mesa-dev] Recent master build failure (upgrade gl2ext.h / glDrawBuffersNV fallout)

2012-07-11 Thread Jeremy Huddleston Sequoia
Tested-by: Jeremy Huddleston Sequoia I tried applying that change to current master (a0698b000b693fc1345fadd6d418dfd8d7548e44), and it didn't work at first, but after a make clean it did. It looks like the Makefile dependencies were insufficient to propagate this change properly. On the fail

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Olivier Galibert
On Tue, Jul 10, 2012 at 03:51:22PM +0200, Marek Ol??ák wrote: > I just wanted to tell you Stephane's change cannot work and it even > has no effect at the moment. The native integer support is global in > core Mesa. It's because integer uniforms are converted to floats based > on the global NativeI

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Olivier Galibert
On Tue, Jul 10, 2012 at 09:19:05AM -0700, Stéphane Marchesin wrote: > There is also option 3): revert the two patches causing the regression. And then you'll have this problem again as soon as you want llvmpipe to reach GL 3.00+/GLSL 1.30+. So why not find a definitive solution now? Previous cod

Re: [Mesa-dev] [PATCH v2 7/8] egl: Add EGL_WAYLAND_PLANE_WL attribute

2012-07-11 Thread Gwenole Beauchesne
Hi, 2012/7/9 Kristian Høgsberg : > + switch (buffer->format) { > + case WL_DRM_FORMAT_ARGB: > + case WL_DRM_FORMAT_XRGB: > + if (plane > 0) { > + _eglError(EGL_BAD_PARAMETER, "dri2_create_image_wayland_wl_buffer"); > + return NULL; > + } > + width = bu

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Marek Olšák
On Wed, Jul 11, 2012 at 11:04 AM, Olivier Galibert wrote: > On Tue, Jul 10, 2012 at 03:51:22PM +0200, Marek Ol??ák wrote: >> I just wanted to tell you Stephane's change cannot work and it even >> has no effect at the moment. The native integer support is global in >> core Mesa. It's because intege

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Jose Fonseca
- Original Message - > > > - Original Message - > > On Tue, Jul 10, 2012 at 3:30 PM, Jose Fonseca > > wrote: > > > Yep. The interfaces are busted. > > > > > > Without native integers we get > > > > > >DCL SV[0], INSTANCEID > > >... > > >ARL ADDR[0].x, SV[0]. > >

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Olivier Galibert
On Wed, Jul 11, 2012 at 12:51:32PM +0200, Marek Ol??ák wrote: > Dude, you should really learn GLSL. The idea to emulate integers is > even older than the GLSL itself. It first appeared in HLSL and NVIDIA > Cg on hardware that wasn't even GL2-capable. I'm learning 3.30+, which is what I consider us

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Marek Olšák
On Wed, Jul 11, 2012 at 1:09 PM, Jose Fonseca wrote: > > > - Original Message - >> >> >> - Original Message - >> > On Tue, Jul 10, 2012 at 3:30 PM, Jose Fonseca >> > wrote: >> > > Yep. The interfaces are busted. >> > > >> > > Without native integers we get >> > > >> > >DCL SV[

[Mesa-dev] [Bug 51972] Compilation error on x86-64 with --enable-32-bit option

2012-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51972 --- Comment #1 from Michel Dänzer 2012-07-11 13:13:29 PDT --- I can't reproduce this. Please attach the resulting config.log, or at least the parts pertaining to expat.h. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=ema

Re: [Mesa-dev] [PATCH v2 7/8] egl: Add EGL_WAYLAND_PLANE_WL attribute

2012-07-11 Thread Kristian Høgsberg
On Wed, Jul 11, 2012 at 5:27 AM, Gwenole Beauchesne wrote: > Hi, > > 2012/7/9 Kristian Høgsberg : > >> + switch (buffer->format) { >> + case WL_DRM_FORMAT_ARGB: >> + case WL_DRM_FORMAT_XRGB: >> + if (plane > 0) { >> + _eglError(EGL_BAD_PARAMETER, >> "dri2_create_image_w

Re: [Mesa-dev] Recent master build failure (upgrade gl2ext.h / glDrawBuffersNV fallout)

2012-07-11 Thread Kristian Høgsberg
Thanks for testing. Yeah, I found that I had to make clean in src/mapi/glapi and src/mapi/gen at least to test the changes I made. I'll push this today. Kristian On Wed, Jul 11, 2012 at 3:21 AM, Jeremy Huddleston Sequoia wrote: > Tested-by: Jeremy Huddleston Sequoia > > I tried applying that c

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Olivier Galibert
On Wed, Jul 11, 2012 at 02:19:02PM +0200, Marek Ol??ák wrote: > On Wed, Jul 11, 2012 at 1:09 PM, Jose Fonseca wrote: > > My current plan is to: > > - make it clear that INSTANCEID/VERTEXID always means integer > > - require PIPE_SHADER_CAP_INTEGERS to be advertise in the vertex shader > > stage i

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Jose Fonseca
- Original Message - > On Wed, Jul 11, 2012 at 1:09 PM, Jose Fonseca > wrote: > > > > > > - Original Message - > >> > >> > >> - Original Message - > >> > On Tue, Jul 10, 2012 at 3:30 PM, Jose Fonseca > >> > > >> > wrote: > >> > > Yep. The interfaces are busted. > >> > >

Re: [Mesa-dev] Mesa (master): docs: Update GL3.txt.

2012-07-11 Thread Eric Anholt
Bryan Cain writes: > On 07/11/2012 12:24 AM, Eric Anholt wrote: >> Kenneth Graunke writes: >>> inverse() has been done for a while. >> Does the inverse() builtin constant expression handling work for >> you? It doesn't here. >> >>> None of us know what "highp change" means; >> GLSL 1.40 spec: "

Re: [Mesa-dev] __DRIimage sub-image v2 series

2012-07-11 Thread Ander Conselvan de Oliveira
On 07/10/2012 12:03 AM, Kristian Høgsberg wrote: Here's the patch series with Erics suggestion and comments incorporated, and I've also added support for the packed YUYV format in this version. The changes since last series boils down to: - Use __DRI_IMAGE_FORMAT_NONE when we create a

Re: [Mesa-dev] [PATCH 3/3 v2] glx/dri2: Add support for GLX_ARB_create_context_robustness

2012-07-11 Thread Eric Anholt
Ian Romanick writes: > From: Ian Romanick > @@ -979,6 +990,11 @@ dri2BindExtensions(struct dri2_screen *psc, const > __DRIextension **extensions) > >if (((strcmp(extensions[i]->name, __DRI2_THROTTLE) == 0))) >psc->throttle = (__DRI2throttleExtension *) extensions[i]; > + > +

Re: [Mesa-dev] [PATCH 9/9] Don't explicitly link libOsmesa with libmesa's dependency libglapi

2012-07-11 Thread Eric Anholt
Jon TURNEY writes: > On 09/07/2012 17:36, Eric Anholt wrote: >>> We must either: >>> (i) Not link libmesa with libglapi, and link anything that uses libmesa with >>> libglapi as well, or >>> (ii) Link libmesa with libglapi, and not link anything that uses libmesa >>> with >>> libglapi >>> >>> I

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Marek Olšák
On Wed, Jul 11, 2012 at 4:23 PM, Jose Fonseca wrote: > > When NativeIntegers is FALSE, Mesa generates this VS: > > DCL SV[0], INSTANCEID > ... > ARL ADDR[0].x, SV[0]. > > If INSTANCEID is an integer this is wrong, as it is reading a float where > there's an integer. (e.g., for INSTANCEI

Re: [Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Eric Anholt
Jon TURNEY writes: > +libglapi_la_CPPFLAGS = \ > +$(DEFINES) \ > + -I$(top_srcdir)/include \ > + -I$(top_srcdir)/src/mapi \ > + -I$(top_srcdir)/src/mesa > + > +if HAVE_X86_ASM > +GLAPI_ASM_SOURCES = $(X86_API) > +endif > +if HAVE_X86_64_ASM > +GLAPI_ASM_SOURCES = $(X86_64_API)

Re: [Mesa-dev] [PATCH 0/9] Automake continued (v2)

2012-07-11 Thread Eric Anholt
Jon TURNEY writes: > Updated to address various comments: > [1/9] libOsmesa links with libaries in the builddir, not the srcdir > [2/9] libglsl use AM_V_GEN to silence generated code rules and add > BUILT_SOURCES to CLEANFILES > [4/9] Remove stray -static from flags for libmesa and libmesagalli

Re: [Mesa-dev] [PATCH] configure.ac: Add --with-(gl|glu|osmesa)-lib-name options

2012-07-11 Thread Eric Anholt
Brad King writes: > On 07/09/2012 04:57 PM, Brad King wrote: >> Running "git bisect" points to commit 2d4b77c7 (automake: >> Convert src/mesa/drivers/x11/Makefile, 2012-06-12). The change >> made by the commit does not obviously drop use of GL_LIB. > > Upon closer inspection it *does* obviously

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Jose Fonseca
- Original Message - > On Wed, Jul 11, 2012 at 4:23 PM, Jose Fonseca > wrote: > > > > When NativeIntegers is FALSE, Mesa generates this VS: > > > > DCL SV[0], INSTANCEID > > ... > > ARL ADDR[0].x, SV[0]. > > > > If INSTANCEID is an integer this is wrong, as it is reading a floa

[Mesa-dev] [Bug 51972] Compilation error on x86-64 with --enable-32-bit option

2012-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51972 --- Comment #2 from virgile.bes...@free.fr 2012-07-11 16:00:24 PDT --- Created attachment 64118 --> https://bugs.freedesktop.org/attachment.cgi?id=64118 config.log -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email

[Mesa-dev] [PATCH] automake: Honor GL_LIB for mangled/custom lib names

2012-07-11 Thread Brad King
Commit 2d4b77c7 (automake: Convert src/mesa/drivers/x11/Makefile to automake, 2012-06-12) dropped the old Makefile, which used GL_LIB, and replaced it with a Makefile.am hard-coding the name "GL". This broke handling of --enable-mangling and --with-gl-lib-name options which depend on GL_LIB to spe

Re: [Mesa-dev] [PATCH 4/5] i965: Add a lowering pass to convert TXD to TXL by computing the LOD.

2012-07-11 Thread Eric Anholt
Kenneth Graunke writes: > Intel hardware doesn't natively support textureGrad with shadow > comparisons. So we need to generate code to handle it somehow. > > Based on the equations of page 205 of the OpenGL 3.0 specification, > it's possible to compute the LOD value that would be selected given

Re: [Mesa-dev] [PATCH 5/8] i965/msaa: Set SURFACE_STATE properly when CMS MSAA is in use.

2012-07-11 Thread Chad Versace
On 07/06/2012 03:29 PM, Paul Berry wrote: > When a buffer using Gen7's CMS MSAA layout is bound to a texture or a > render target, the SURFACE_STATE structure needs to point to the MCS > buffer and to indicate its pitch. This patch updates the functions > that emit SURFACE_STATE to handle CMS layo

Re: [Mesa-dev] __DRIimage sub-image v2 series

2012-07-11 Thread Kristian Høgsberg
On Wed, Jul 11, 2012 at 10:44 AM, Ander Conselvan de Oliveira wrote: > On 07/10/2012 12:03 AM, Kristian Høgsberg wrote: >> >> Here's the patch series with Erics suggestion and comments incorporated, >> and I've also added support for the packed YUYV format in this version. >> >> The changes since

Re: [Mesa-dev] [PATCH 6/8] i965/msaa: Add CMS-related sampler messages to brw_defines.h.

2012-07-11 Thread Chad Versace
On 07/06/2012 03:29 PM, Paul Berry wrote: > --- > src/mesa/drivers/dri/i965/brw_defines.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_defines.h > b/src/mesa/drivers/dri/i965/brw_defines.h > index 3234b0e..73ade0a 100644 > --- a/src

Re: [Mesa-dev] [PATCH 5/8] i965/msaa: Set SURFACE_STATE properly when CMS MSAA is in use.

2012-07-11 Thread Paul Berry
On 11 July 2012 09:50, Chad Versace wrote: > On 07/06/2012 03:29 PM, Paul Berry wrote: > > When a buffer using Gen7's CMS MSAA layout is bound to a texture or a > > render target, the SURFACE_STATE structure needs to point to the MCS > > buffer and to indicate its pitch. This patch updates the f

Re: [Mesa-dev] [PATCH 7/8] i965/msaa: Add CMS support to blorp.

2012-07-11 Thread Chad Versace
On 07/06/2012 03:29 PM, Paul Berry wrote: > This patch updates the blorp engine to properly handle the case where > the surface being textured from uses Gen7's CMS MSAA layout. The > following changes were necessary: > > - Before reading color values from the surface, we need to read from > the

Re: [Mesa-dev] [PATCH 8/8] i965/msaa: Enable CMS layout on Gen7 for the formats that support it.

2012-07-11 Thread Chad Versace
On 07/06/2012 03:29 PM, Paul Berry wrote: > --- > src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 19 ++- > 1 files changed, 18 insertions(+), 1 deletions(-) Reviewed-by: Chad Versace ___ mesa-dev mailing list mesa-dev@lists.freed

Re: [Mesa-dev] [PATCH 7/8] i965/msaa: Add CMS support to blorp.

2012-07-11 Thread Paul Berry
On 11 July 2012 11:01, Chad Versace wrote: > On 07/06/2012 03:29 PM, Paul Berry wrote: > > This patch updates the blorp engine to properly handle the case where > > the surface being textured from uses Gen7's CMS MSAA layout. The > > following changes were necessary: > > > > - Before reading col

Re: [Mesa-dev] [PATCH 5/8] i965/msaa: Set SURFACE_STATE properly when CMS MSAA is in use.

2012-07-11 Thread Chad Versace
On 07/11/2012 10:31 AM, Paul Berry wrote: > On 11 July 2012 09:50, Chad Versace > wrote: > > + > > + /* The upper 20 bits of surface state DWORD 6 are the upper 20 bits > of the > > +* GPU address of the MCS buffer; the lower 12 bits contain

Re: [Mesa-dev] [PATCH 2/9] automake: convert libglsl

2012-07-11 Thread Jon TURNEY
On 10/07/2012 23:34, Matt Turner wrote: >> +glsl_lexer.cpp: glsl_lexer.ll >> + $(AM_V_GEN) $(LEX) --nounistd -o$@ $< >> + >> +glsl_parser.cpp: glsl_parser.yy >> + $(AM_V_GEN) $(YACC) -v -o "$@" -p "_mesa_glsl_" >> --defines=glsl_parser.h $< >> + >> +$(GLSL_SRCDIR)/glcpp/glcpp-lex.c: $

[Mesa-dev] [PATCH 2/9] automake: convert libglsl

2012-07-11 Thread Jon TURNEY
v2: Use AM_V_GEN to silence generated code rules. Add BUILT_SOURCES to CLEANFILES v3: - Fix an accidental // in a path - Use automake make rules for lex/yacc rather than writing our own - Update .gitignore appropriately - Build a libglcpp convenience library rather than awkwardly including the fil

Re: [Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Jon TURNEY
On 11/07/2012 16:20, Eric Anholt wrote: > s/libglapi_la_CPPFLAGS/AM_CPPFLAGS/g may get you prettier build output > (at least with CFLAGS, it prepends the lib name to the .o files, which > affects build logs). Thanks, that is a lot nicer :-) >> +noinst_LTLIBRARIES = libglapi.la >> + >> +libglapi_l

[Mesa-dev] [PATCH 8/9] automake: convert libglapi

2012-07-11 Thread Jon TURNEY
* "configure substitutions are not allowed in _SOURCES variables" in automake, so remove the AC_SUBST'ed GLAPI_ASM_SOURCES and instead use some AM_CONDITIONALS to choose which asm sources are used * Change GLAPI_LIB to point to the .la file in other Makefile.am files, and make a link to the .a fi

Re: [Mesa-dev] [PATCH 0/9] Automake continued (v2)

2012-07-11 Thread Jon TURNEY
On 11/07/2012 16:21, Eric Anholt wrote: > Jon TURNEY writes: > >> Updated to address various comments: >> [1/9] libOsmesa links with libaries in the builddir, not the srcdir >> [2/9] libglsl use AM_V_GEN to silence generated code rules and add >> BUILT_SOURCES to CLEANFILES >> [4/9] Remove stra

Re: [Mesa-dev] [PATCH 13/22] r600g: move CB_TARGET_MASK setup into new cb_misc_state

2012-07-11 Thread Tom Stellard
On Mon, Jul 09, 2012 at 09:15:46PM +0200, Marek Olšák wrote: > to remove some overhead from draw_vbo. This is a derived state. > > BTW, I've got no idea how compute interacts with 3D here, but it should > use cb_misc_state, so that 3D and compute don't conflict. The compute changes look fine to m

Re: [Mesa-dev] [PATCH] automake: Honor GL_LIB for mangled/custom lib names

2012-07-11 Thread Dan Nicholson
On 7/11/12, Brad King wrote: > Commit 2d4b77c7 (automake: Convert src/mesa/drivers/x11/Makefile to > automake, 2012-06-12) dropped the old Makefile, which used GL_LIB, and > replaced it with a Makefile.am hard-coding the name "GL". This broke > handling of --enable-mangling and --with-gl-lib-name

[Mesa-dev] [PATCH v2 00/12] Improve integer texture support & add i965 texture_rgb10_a2ui support

2012-07-11 Thread Jordan Justen
Some test results on i965 -- piglit quick fbo_integer_readpixels_sint_uint: fail => pass oglconform int-textures basic.clamping.int: fail => pass oglconform packed-px-uint: skip => 74 of 89 passing v2: * Add glformats.c/glformats.h * Move integer texture clamping fixes from ReadPixels to CopyTex

[Mesa-dev] [PATCH v2 01/12] mesa: add glformats integer type/format detection routines

2012-07-11 Thread Jordan Justen
_mesa_is_integer_format is moved to formats.c and renamed as _mesa_is_enum_format_integer. _mesa_is_format_unsigned, _mesa_is_type_integer, _mesa_is_type_unsigned, and _mesa_is_enum_format_or_type_integer are added. Signed-off-by: Jordan Justen --- src/mesa/main/drawpix.c |

[Mesa-dev] [PATCH v2 02/12] mesa pack: use _mesa_problem instead of assert

2012-07-11 Thread Jordan Justen
If the pack type is not supported, use _mesa_problem rather than asserting. Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/pack.c | 17 ++--- src/mesa/main/pack_tmp.h |9 - 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/

[Mesa-dev] [PATCH v2 03/12] mesa unpack: use _mesa_problem rather than assert

2012-07-11 Thread Jordan Justen
If the unpack functions is not available, use _mesa_problem rather than asserting. Signed-off-by: Jordan Justen --- src/mesa/main/format_unpack.c |5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index c42bac1..66b6471 10064

[Mesa-dev] [PATCH v2 04/12] mesa formats: unpack ARGB8888/XRGB8888

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/format_unpack.c | 34 ++ 1 file changed, 34 insertions(+) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index 66b6471..8fd61ff 100644 --- a/src/mesa/main/format_

[Mesa-dev] [PATCH v2 05/12] mesa pack: handle uint and int clamping properly

2012-07-11 Thread Jordan Justen
Rename _mesa_pack_rgba_span_int to _mesa_pack_rgba_span_from_uints. Add _mesa_pack_rgba_span_from_ints. These separate routines allow the integer clamping to be handled properly for signed versus unsigned integers. Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/pack.c

[Mesa-dev] [PATCH v2 06/12] mesa pack: handle packed integer formats with clamping

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/pack.c | 549 +- 1 file changed, 547 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/pack.c b/src/mesa/main/pack.c index 51b8e00..2691082 100644 --- a/src/mesa/main/pack.c +++ b/src/mesa/main

[Mesa-dev] [PATCH v2 07/12] ReadPixels: handle signed/unsigned integer clamping

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/main/readpix.c | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/readpix.c b/src/mesa/main/readpix.c index 784aaad..4fa816f 100644 --- a/src/mesa/main/readpix.c +++ b/src/mesa/main/readpix.c @@ -321,6 +321,

[Mesa-dev] [PATCH v2 08/12] mesa GetTexImage: handle signed/unsigned integer clamping

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/texgetimage.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index 5d2f4da..06d4464 100644 --- a/src/mesa/main/texgetimage.c +++ b

[Mesa-dev] [PATCH v2 09/12] mesa texstore: handle signed/unsigned integer clamping

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/texstore.c | 95 -- 1 file changed, 75 insertions(+), 20 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index 1ced8aa..a9eab18 100644 --- a/src/mes

[Mesa-dev] [PATCH v2 10/12] meta: allow CopyTexSubImage on integer formats

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen --- src/mesa/drivers/common/meta.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index cf2d053..f8d835c 100644 --- a/src/mesa/drivers/common/meta.c +++ b/src/me

[Mesa-dev] [PATCH v2 11/12] mesa formats: add MESA_FORMAT_ABGR2101010_UINT

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- src/mesa/main/format_pack.c | 28 + src/mesa/main/format_unpack.c | 34 + src/mesa/main/formats.c | 15 + src/mesa/main/formats.h |1 + src/mesa/main/texformat.c |

[Mesa-dev] [PATCH v2 12/12] i965: add ARB_texture_rgb10_a2ui support

2012-07-11 Thread Jordan Justen
Signed-off-by: Jordan Justen Reviewed-by: Brian Paul --- docs/GL3.txt |2 +- src/mesa/drivers/dri/i965/brw_wm_surface_state.c |1 + src/mesa/drivers/dri/intel/intel_extensions.c|1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a

Re: [Mesa-dev] [PATCH 7/8] i965/msaa: Add CMS support to blorp.

2012-07-11 Thread Paul Berry
On 11 July 2012 11:16, Paul Berry wrote: > On 11 July 2012 11:01, Chad Versace wrote: > >> On 07/06/2012 03:29 PM, Paul Berry wrote: >> > This patch updates the blorp engine to properly handle the case where >> > the surface being textured from uses Gen7's CMS MSAA layout. The >> > following ch

Re: [Mesa-dev] Mesa (master): draw: fix flat shading and screen-space linear interpolation in clipper

2012-07-11 Thread Marek Olšák
On Wed, Jul 11, 2012 at 5:26 PM, Jose Fonseca wrote: > > > - Original Message - >> On Wed, Jul 11, 2012 at 4:23 PM, Jose Fonseca >> wrote: >> > >> > When NativeIntegers is FALSE, Mesa generates this VS: >> > >> > DCL SV[0], INSTANCEID >> > ... >> > ARL ADDR[0].x, SV[0]. >> > >>

Re: [Mesa-dev] [PATCH 00/10] ARB_transform_feedback3 & ARB_transform_feedback_instanced

2012-07-11 Thread Ian Romanick
On 07/10/2012 07:49 AM, Marek Olšák wrote: Hi, I plan to push this series in two days if there's no other feedback. The architecture looks okay. I haven't had a chance to review it in depth. Call it Acked-by: Ian Romanick Marek On Thu, Jul 5, 2012 at 1:20 PM, Marek Olšák wrote: Hi e

[Mesa-dev] [Bug 51997] New: make distclean producing errors

2012-07-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=51997 Bug #: 51997 Summary: make distclean producing errors Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Sev

Re: [Mesa-dev] [PATCH 00/11] Add YUYV format support of dri image

2012-07-11 Thread Zhao, Halley
Hi Ian: There is no other comments for these patches, could you help me commit it to git tree? Thanks. > -Original Message- > From: Zhao, Halley > Sent: Monday, July 09, 2012 1:55 PM > To: mesa-dev@lists.freedesktop.org > Cc: Zhao, Halley > Subject: [PATCH 00/11] Add YUYV format support

Re: [Mesa-dev] Mesa (master): docs: Update GL3.txt.

2012-07-11 Thread Bryan Cain
On 07/11/2012 12:24 AM, Eric Anholt wrote: > Kenneth Graunke writes: >> inverse() has been done for a while. > Does the inverse() builtin constant expression handling work for > you? It doesn't here. > >> None of us know what "highp change" means; > GLSL 1.40 spec: "Make the default precision qua