Re: [Mesa-dev] renaming i965g

2013-04-18 Thread Chia-I Wu
On Thu, Apr 18, 2013 at 11:36 PM, Eric Anholt wrote: > Chia-I Wu writes: > >> Hi list, >> >> Per the discussion, i965g is confusing and misleading. Instead of >> preventing the confusions via >> >> --with-gallium-drivers=i965g-unofficial or >> --with-gallium-drivers=experimental-i965g, >> >>

[Mesa-dev] [PATCH 5/5] gallivm: implement switch opcode

2013-04-18 Thread sroland
From: Roland Scheidegger Should be able to handle all things which make this tricky to implement. Fallthroughs, including most notably into/out of default, should be handled correctly but are quite a mess. If we see largely unoptimized switches in the wild should probably think about some "real"

[Mesa-dev] [PATCH 4/5] gallivm: use uint build context for mask instead of float

2013-04-18 Thread sroland
From: Roland Scheidegger Unsurprisingly noone was using it except for grabbing builder. --- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c b/src/gallium/auxiliary/gallivm/lp_b

[Mesa-dev] [PATCH 3/5] gallivm/tgsi: fix up breakc

2013-04-18 Thread sroland
From: Roland Scheidegger It seems there was a typo in gallivm breakc handling (I am actually still not sure it is really needed but otherwise that statement really should go away). Also fix the wrong src argument type, even though they weren't really used. --- src/gallium/auxiliary/gallivm/lp_bl

[Mesa-dev] [PATCH 2/5] gallium: document breakc and switch/case/default/endswitch

2013-04-18 Thread sroland
From: Roland Scheidegger docs were missing, especially the opcode-from-hell switch however is anything but obvious. --- src/gallium/docs/source/tgsi.rst | 57 ++ 1 file changed, 51 insertions(+), 6 deletions(-) diff --git a/src/gallium/docs/source/tgsi.rst

[Mesa-dev] [PATCH 1/5] gallivm: increase nesting limit to 66

2013-04-18 Thread sroland
From: Roland Scheidegger This is still not really correct, since at least for sm 4.0 the nesting limit is 64 per subroutine, and subroutine nesting itself has a limit of 32, so since we have a flat stack we'd need 32*64. But this should probably be better fixed with per-subroutine stacks, since o

[Mesa-dev] [PATCH 1/2] util/prim: fix decomposed counts for adjacency primitives

2013-04-18 Thread Zack Rusin
Signed-off-by: Zack Rusin --- src/gallium/auxiliary/util/u_prim.h |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/gallium/auxiliary/util/u_prim.h b/src/gallium/auxiliary/util/u_prim.h index 99bb66c..507d12e 100644 --- a/src/gallium/auxiliary/util/u_prim.h +++

[Mesa-dev] [PATCH 2/2] draw: implement primitive assembler

2013-04-18 Thread Zack Rusin
Input assembler needs to be able to decompose adjacency primitives into something that can be understood by the rest of the pipeline. The specs say that the adjacency primitives are *only* visible in the geometry shader, for everything else they need to be decomposed. Which in most of the cases is

Re: [Mesa-dev] [PATCH 1/2] mesa: Make a Mesa core function for sRGB render encoding handling.

2013-04-18 Thread Brian Paul
On 04/18/2013 03:25 PM, Eric Anholt wrote: --- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 27 +-- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 29 ++--- src/mesa/main/blend.c |8 ++ src/mesa/main/blend.h

[Mesa-dev] [PATCH 1/2] mesa: Make a Mesa core function for sRGB render encoding handling.

2013-04-18 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 27 +-- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 29 ++--- src/mesa/main/blend.c |8 ++ src/mesa/main/blend.h |4 +++ 4 files c

[Mesa-dev] [PATCH 2/2] i965: Implement color clears using a simple shader in blorp.

2013-04-18 Thread Eric Anholt
The upside is less CPU overhead in fiddling with GL error handling, the ability to use the constant color write message in most cases, and no GLSL clear shaders appearing in MESA_GLSL=dump output. The downside is more batch flushing and a total recompute of GL state at the end of blorp. However, i

[Mesa-dev] [Bug 61455] Feature request: implement wglMakeContextCurrentARB in Gallium

2013-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61455 --- Comment #6 from Keith Kriewall --- Is there an ETA for this feature? -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.

[Mesa-dev] [Bug 63404] [wayland egl] intel_do_flush_locked failed: invalid argument, crash

2013-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63404 Joe Konno changed: What|Removed |Added CC||conselv...@gmail.com --- Comment #4 from Joe

Re: [Mesa-dev] [PATCH] gallium: handle drirc disable_glsl_line_continuations option

2013-04-18 Thread Alex Deucher
On Tue, Apr 16, 2013 at 12:40 AM, Vadim Girlin wrote: > Signed-off-by: Vadim Girlin Should probably be marked for the 9.1 branch as well. Reviewed-by: Alex Deucher > --- > src/gallium/include/state_tracker/st_api.h | 1 + > src/gallium/state_trackers/dri/common/dri_context.c | 2 ++

Re: [Mesa-dev] [PATCH] llvmpipe: Take in consideration all current constant buffers when mapping.

2013-04-18 Thread Zack Rusin
Looks good to me. Reviewed-by: Zack Rusin - Original Message - > From: José Fonseca > > --- > src/gallium/drivers/llvmpipe/lp_texture.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c > b/src/gallium/dri

Re: [Mesa-dev] [PATCH] llvmpipe: Take in consideration all current constant buffers when mapping.

2013-04-18 Thread Roland Scheidegger
Am 18.04.2013 20:06, schrieb jfons...@vmware.com: > From: José Fonseca > > --- > src/gallium/drivers/llvmpipe/lp_texture.c | 12 +--- > 1 file changed, 9 insertions(+), 3 deletions(-) > > diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c > b/src/gallium/drivers/llvmpipe/lp_textu

[Mesa-dev] [PATCH] llvmpipe: Take in consideration all current constant buffers when mapping.

2013-04-18 Thread jfonseca
From: José Fonseca --- src/gallium/drivers/llvmpipe/lp_texture.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/llvmpipe/lp_texture.c b/src/gallium/drivers/llvmpipe/lp_texture.c index 99bd6d3..0804619 100644 --- a/src/gallium/drivers/llvmp

Re: [Mesa-dev] [PATCH] configure.ac: Remove gallium-g3dvl flag.

2013-04-18 Thread Christian König
Am 18.04.2013 18:42, schrieb Matt Turner: It's next to useless, since it just allows you to turn off VDPAU and XvMC with a single switch. Just check whether Gallium drivers are enabled instead. I was nearly there to do so when I enabled the switch by default, but didn't dared. Good to see yo

[Mesa-dev] [PATCH] configure.ac: Remove gallium-g3dvl flag.

2013-04-18 Thread Matt Turner
It's next to useless, since it just allows you to turn off VDPAU and XvMC with a single switch. Just check whether Gallium drivers are enabled instead. --- configure.ac | 17 + 1 files changed, 1 insertions(+), 16 deletions(-) diff --git a/configure.ac b/configure.ac index 70c59

Re: [Mesa-dev] [PATCH v2] mesa: fix type comparison errors in sub-texture error checking code

2013-04-18 Thread Ian Romanick
On 04/17/2013 11:21 PM, Tapani Pälli wrote: patch fixes a crash that happens if glTexSubImage2D is called with a negative xoffset. NOTE: This is a candidate for stable branches. Signed-off-by: Tapani Pälli Reviewed-by: Ian Romanick --- v2: corrected xoffset cast to happen before sign + a

Re: [Mesa-dev] [PATCH] mesa: enable GL_ARB_texture_float if TEXTURE_FLOAT_ENABLED is defined

2013-04-18 Thread Eric Anholt
Brian Paul writes: > Per message on mesa-users list, this wasn't working before. > > Note: This is a candidate for the stable branches. Reviewed-by: Eric Anholt pgps1iNcN6V02.pgp Description: PGP signature ___ mesa-dev mailing list mesa-dev@lists.fr

Re: [Mesa-dev] i915c vs i915g piglit run

2013-04-18 Thread Eric Anholt
Dave Airlie writes: > Hi, > > I put a 3Ghz Core2 Q35 box i found in the office to good use (so much > nicer than a pineview atom). > > http://people.freedesktop.org/~airlied/piglit/i915c/ > > is a full run with i915c forced to advertise GL2.0 using the stub > occlusion query hack in drirc, and i9

[Mesa-dev] [PATCH 5/5] i915: Add support for GL_EXT_texture_sRGB and GL_EXT_texture_sRGB_decode.

2013-04-18 Thread Eric Anholt
This brings the driver up to GL 2.1. --- src/mesa/drivers/dri/i915/i915_context.c |2 ++ src/mesa/drivers/dri/i915/i915_texstate.c | 11 +++ src/mesa/drivers/dri/intel/intel_extensions.c |4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/mesa/dr

[Mesa-dev] [PATCH 4/5] i915: Always enable GL 2.0 support.

2013-04-18 Thread Eric Anholt
There's no point in shipping a non-GL2 driver today. --- src/mesa/drivers/dri/intel/intel_extensions.c |8 ++-- src/mesa/drivers/dri/intel/intel_screen.c | 27 +++-- 2 files changed, 5 insertions(+), 30 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_e

[Mesa-dev] [PATCH 1/5] i915g: Update to the current list of pipe caps.

2013-04-18 Thread Eric Anholt
--- src/gallium/drivers/i915/i915_screen.c | 12 1 file changed, 12 insertions(+) diff --git a/src/gallium/drivers/i915/i915_screen.c b/src/gallium/drivers/i915/i915_screen.c index 54b2154..a878e4d 100644 --- a/src/gallium/drivers/i915/i915_screen.c +++ b/src/gallium/drivers/i915/

[Mesa-dev] [PATCH 3/5] i915: Correctly set the OQ counter bits.

2013-04-18 Thread Eric Anholt
While we may provide the extension, we need to tell applications that they can't actually use it: An implementation can either set QUERY_COUNTER_BITS_ARB to the value 0, or to some number greater than or equal to n. If an implementation returns 0 for QUERY_COUN

[Mesa-dev] [PATCH 2/5] i915g: Respect (empty on my system) LLVM_LDFLAGS.

2013-04-18 Thread Eric Anholt
--- src/gallium/targets/dri-i915/Makefile.am |1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/targets/dri-i915/Makefile.am b/src/gallium/targets/dri-i915/Makefile.am index f4f9030..8aa25fe 100644 --- a/src/gallium/targets/dri-i915/Makefile.am +++ b/src/gallium/targets/dri-i915/M

Re: [Mesa-dev] renaming i965g

2013-04-18 Thread Eric Anholt
Chia-I Wu writes: > Hi list, > > Per the discussion, i965g is confusing and misleading. Instead of > preventing the confusions via > > --with-gallium-drivers=i965g-unofficial or > --with-gallium-drivers=experimental-i965g, > > which kind of makes i965g a second-class citizen, I think it is b

[Mesa-dev] [PATCH] mesa: enable GL_ARB_texture_float if TEXTURE_FLOAT_ENABLED is defined

2013-04-18 Thread Brian Paul
Per message on mesa-users list, this wasn't working before. Note: This is a candidate for the stable branches. --- src/mesa/main/extensions.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 9c2fcab..64473b9

Re: [Mesa-dev] [PATCH v2] mesa: fix type comparison errors in sub-texture error checking code

2013-04-18 Thread Brian Paul
On 04/18/2013 12:21 AM, Tapani Pälli wrote: patch fixes a crash that happens if glTexSubImage2D is called with a negative xoffset. NOTE: This is a candidate for stable branches. Signed-off-by: Tapani Pälli --- v2: corrected xoffset cast to happen before sign + added more checks src/mesa/mai

Re: [Mesa-dev] [PATCH 3/3] llvmpipe: Support half integer pixel center fs coord.

2013-04-18 Thread Roland Scheidegger
Series looks good to me. I guess you've tested it both with 4 and 8-wide vectors? At least now only have 2 different cases to worry about in the interpolation code :-). Reviewed-by: Roland Scheidegger Am 18.04.2013 12:40, schrieb jfons...@vmware.com: > From: José Fonseca > > Tested with graw/f

[Mesa-dev] [PATCH 3/3] llvmpipe: Support half integer pixel center fs coord.

2013-04-18 Thread jfonseca
From: José Fonseca Tested with graw/fs-fragcoord 2/3, and piglit glsl-arb-fragment-coord-conventions. --- src/gallium/drivers/llvmpipe/lp_bld_interp.c | 25 +++-- src/gallium/drivers/llvmpipe/lp_bld_interp.h |3 +++ src/gallium/drivers/llvmpipe/lp_screen.c |2 +-

[Mesa-dev] [PATCH 2/3] llvmpipe: Remove the static interpolation.

2013-04-18 Thread jfonseca
From: José Fonseca No longer used. If we ever want the old behavior we can run a loop unroller pass. --- src/gallium/drivers/llvmpipe/lp_bld_interp.c | 92 ++-- src/gallium/drivers/llvmpipe/lp_bld_interp.h | 14 -- src/gallium/drivers/llvmpipe/lp_state_fs.c | 297 +---

[Mesa-dev] [PATCH 1/3] gallivm: Drop pos arg from lp_build_tgsi_soa.

2013-04-18 Thread jfonseca
From: José Fonseca Never used. --- src/gallium/auxiliary/draw/draw_llvm.c |2 -- src/gallium/auxiliary/gallivm/lp_bld_tgsi.h |2 -- src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c |2 -- src/gallium/drivers/llvmpipe/lp_state_fs.c |4 ++-- 4 files changed, 2 inse

Re: [Mesa-dev] [PATCH] autoconf: enable detection of vdpau and xvmc by default

2013-04-18 Thread Christian König
Am 18.04.2013 03:07, schrieb Emil Velikov: On 18/04/13 01:55, Emil Velikov wrote: On 18/04/13 01:21, Paul Berry wrote: On 12 April 2013 01:26, Christian König wrote: From: Christian König Since we now have UVD support we should enable them by default. Signed-off-by: Christian König Tho

[Mesa-dev] [Bug 63645] g3dvl should be disabled when not building gallium drivers

2013-04-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63645 Andreas Boll changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [PATCH 3/3] mesa: add usage examples to get-pick-list and shortlog scripts

2013-04-18 Thread Andreas Boll
--- bin/get-pick-list.sh |6 ++ bin/shortlog_mesa.sh |6 ++ 2 files changed, 12 insertions(+) diff --git a/bin/get-pick-list.sh b/bin/get-pick-list.sh index d3ac511..d2b76e7 100755 --- a/bin/get-pick-list.sh +++ b/bin/get-pick-list.sh @@ -1,6 +1,12 @@ #!/bin/sh # Script for ge

[Mesa-dev] [PATCH 2/3] docs: add info about bugzilla_mesa.sh script

2013-04-18 Thread Andreas Boll
--- docs/devinfo.html |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devinfo.html b/docs/devinfo.html index 7176824..f5eb4d4 100644 --- a/docs/devinfo.html +++ b/docs/devinfo.html @@ -206,8 +206,8 @@ branch is relevant. Create a docs/relnotes/x.y.z.html file.

[Mesa-dev] [PATCH 1/3 v2] mesa: Add a script to generate the list of fixed bugs

2013-04-18 Thread Andreas Boll
This list appears in the fixed bugs section of the release notes. v2: Add usage examples NOTE: This is a candidate for the stable branches. --- bin/bugzilla_mesa.sh | 52 ++ 1 file changed, 52 insertions(+) create mode 100755 bin/bugzilla_mesa.s