Re: [Mesa-dev] [PATCH 1/2] mesa: add missing error check for linear blit of integer colors

2012-01-07 Thread Kenneth Graunke
On 01/07/2012 01:13 PM, Brian Paul wrote: On 01/06/2012 05:36 PM, Eric Anholt wrote: On Fri, 6 Jan 2012 15:34:47 -0700, Brian Paul wrote: --- src/mesa/main/fbobject.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobj

Re: [Mesa-dev] [PATCH] intel: fix mapping of malloc'd renderbuffers

2012-01-07 Thread Eric Anholt
On Sat, 7 Jan 2012 15:08:19 -0700, Brian Paul wrote: > This fixes accum buffer operations. The accumulation buffer is the > only malloc-based renderbuffer for the intel drivers. > --- > src/mesa/drivers/dri/intel/intel_fbo.c | 13 + > 1 files changed, 13 insertions(+), 0 deletions

Re: [Mesa-dev] [PATCH] i965: Actually enable SIMD16 dispatch on Ivybridge.

2012-01-07 Thread Eric Anholt
On Sat, 7 Jan 2012 22:24:42 -0800, Kenneth Graunke wrote: > Commit acf82657f4d607e4477f03752613d42f239e4bd3 supposedly enabled > SIMD16 dispatch, but neglected to set the "16 Pixel Dispatch Enable" > bit, so nothing actually got enabled. > > Furthermore, it neglected to set up the Dispatch GRF

[Mesa-dev] [PATCH] i965: Actually enable SIMD16 dispatch on Ivybridge.

2012-01-07 Thread Kenneth Graunke
Commit acf82657f4d607e4477f03752613d42f239e4bd3 supposedly enabled SIMD16 dispatch, but neglected to set the "16 Pixel Dispatch Enable" bit, so nothing actually got enabled. Furthermore, it neglected to set up the Dispatch GRF Start Register for kernel 2, which is the SIMD16 program. Increases pe

Re: [Mesa-dev] [PATCH] r600g: add support for virtual address space on cayman v8

2012-01-07 Thread Marek Olšák
On Fri, Jan 6, 2012 at 4:42 PM, wrote: > diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c > b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c > index ccf9c4f..8ef0c18 100644 > --- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c > +++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c > @@ -

[Mesa-dev] [PATCH] intel: fix mapping of malloc'd renderbuffers

2012-01-07 Thread Brian Paul
This fixes accum buffer operations. The accumulation buffer is the only malloc-based renderbuffer for the intel drivers. --- src/mesa/drivers/dri/intel/intel_fbo.c | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/m

[Mesa-dev] [PATCH 3/3] glsl_to_tgsi: Use mesa register allocator

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 189 +++- 1 files changed, 101 insertions(+), 88 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index ab93a65..7a7 100644 --- a/src/mesa/state_tracker/

[Mesa-dev] [PATCH 2/3] glsl_to_tgsi: Use a separate visitor to handle dereferences.

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 375 +++- 1 files changed, 262 insertions(+), 113 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 2825180..ab93a65 100644 --- a/src/mesa/state_tracker

[Mesa-dev] [PATCH 1/3] glsl_to_tgsi: Create a new variable_store class replacing variables field in glsl_to_tgsi_visitor

2012-01-07 Thread Vincent Lejeune
v2: - Replaces next_temp* with num_temps* - Uses assert(0 & ...) to crashes in retrieve_anonymous_temp --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 420 +--- 1 files changed, 313 insertions(+), 107 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.c

[Mesa-dev] [PATCH 3/3] swrast: convert blit_linear() to Map/UnmapRenderbuffer()

2012-01-07 Thread Brian Paul
--- src/mesa/swrast/s_blit.c | 183 +++-- 1 files changed, 158 insertions(+), 25 deletions(-) diff --git a/src/mesa/swrast/s_blit.c b/src/mesa/swrast/s_blit.c index 1063024..34317cc 100644 --- a/src/mesa/swrast/s_blit.c +++ b/src/mesa/swrast/s_blit.c @@ -4

[Mesa-dev] [PATCH 2/3] mesa: add _mesa_unpack_ubyte_rgba_row() function

2012-01-07 Thread Brian Paul
--- src/mesa/main/format_unpack.c | 499 + src/mesa/main/format_unpack.h |3 + 2 files changed, 502 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c index c723e89..a7308a1 100644 --- a/src/mesa/ma

[Mesa-dev] [PATCH 1/3] mesa: rename _mesa_unpack_int_rgba_row() to _mesa_unpack_uint_rgba_row()

2012-01-07 Thread Brian Paul
Since it returns uint values, not int. --- src/mesa/main/format_unpack.c |4 ++-- src/mesa/main/format_unpack.h |4 ++-- src/mesa/main/readpix.c |2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mesa/main/format_unpack.c b/src/mesa/main/format_unpack.c ind

Re: [Mesa-dev] [PATCH 1/2] mesa: add missing error check for linear blit of integer colors

2012-01-07 Thread Brian Paul
On 01/06/2012 05:36 PM, Eric Anholt wrote: On Fri, 6 Jan 2012 15:34:47 -0700, Brian Paul wrote: --- src/mesa/main/fbobject.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 912170a..aa35ba7 100644

[Mesa-dev] [Bug 44564] New: Fix build with LLVM -DLLVM_TARGETS_TO_BUILD=`native`

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44564 Bug #: 44564 Summary: Fix build with LLVM -DLLVM_TARGETS_TO_BUILD=`native` Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Stat

Re: [Mesa-dev] softpipe GL3 status

2012-01-07 Thread Brian Paul
On 01/07/2012 01:44 AM, Dave Airlie wrote: Let's add new opcodes for things like this. I'll add IABS. cube shadow sampling, some reason ends up getting info from the fallback texture Something in Gallium is probably deciding that GL_DEPTH_COMPONENT is invalid for a cubemap and marking it

Re: [Mesa-dev] [PATCH] gallium: add an IABS opcode to TGSI

2012-01-07 Thread Brian Paul
On 01/07/2012 09:45 AM, Bryan Cain wrote: This is a necessary operation that is missing from TGSI. --- src/gallium/auxiliary/tgsi/tgsi_exec.c |4 src/gallium/auxiliary/tgsi/tgsi_info.c |1 + src/gallium/docs/source/tgsi.rst | 13 + src/gallium/inc

[Mesa-dev] [Bug 44561] Piglit: spec/glsl-1.10/execution/interpolation/interpolation-none-gl_*-vertex fail

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44561 Vinson Lee changed: What|Removed |Added CC||airl...@freedesktop.org --- Comment #1 from

Re: [Mesa-dev] [PATCH 1/3] glsl_to_tgsi: Create a new variable_store class replacing variables field in glsl_to_tgsi_visitor

2012-01-07 Thread Bryan Cain
This is good work. I just have a few suggested changes. On 01/07/2012 12:26 PM, Vincent Lejeune wrote: > --- > src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 414 > +--- > 1 files changed, 309 insertions(+), 105 deletions(-) > > diff --git a/src/mesa/state_tracker/st_glsl

[Mesa-dev] [Bug 44519] SIGABRT src/gallium/tests/unit/translate_test.c:250

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44519 Vinson Lee changed: What|Removed |Added CC||mar...@gmail.com --- Comment #1 from Vinson

[Mesa-dev] [PATCH 1/3] glsl_to_tgsi: Create a new variable_store class replacing variables field in glsl_to_tgsi_visitor

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 414 +--- 1 files changed, 309 insertions(+), 105 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index cecceca..17ae525 100644 --- a/src/mesa/state_tracker

[Mesa-dev] [PATCH 1/3] glsl_to_tgsi: Create a new variable_store class replacing variables field in glsl_to_tgsi_visitor

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 414 +--- 1 files changed, 309 insertions(+), 105 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index cecceca..17ae525 100644 --- a/src/mesa/state_tracker

[Mesa-dev] [Bug 44561] New: Piglit: spec/glsl-1.10/execution/interpolation/interpolation-none-gl_*-vertex fail

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44561 Bug #: 44561 Summary: Piglit: spec/glsl-1.10/execution/interpolation/interpolation-n one-gl_*-vertex fail Classification: Unclassified Product: Mesa Version:

[Mesa-dev] [PATCH 3/3] glsl_to_tgsi: Use mesa register allocator

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 189 +++- 1 files changed, 101 insertions(+), 88 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index e17adb4..0625d25 100644 --- a/src/mesa/state_tracker/

[Mesa-dev] [PATCH 2/3] glsl_to_tgsi: Use a separate visitor to handle dereferences.

2012-01-07 Thread Vincent Lejeune
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 381 +++ 1 files changed, 268 insertions(+), 113 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 17ae525..e17adb4 100644 --- a/src/mesa/state_tracker/

Re: [Mesa-dev] softpipe GL3 status

2012-01-07 Thread Bryan Cain
On 01/07/2012 02:44 AM, Dave Airlie wrote: >> Let's add new opcodes for things like this. > I'll add IABS. I sent a patch to the mailing list that adds IABS about an hour ago, before reading this message. Bryan ___ mesa-dev mailing list mesa-dev@lists.

[Mesa-dev] [PATCH] gallium: add an IABS opcode to TGSI

2012-01-07 Thread Bryan Cain
This is a necessary operation that is missing from TGSI. --- src/gallium/auxiliary/tgsi/tgsi_exec.c |4 src/gallium/auxiliary/tgsi/tgsi_info.c |1 + src/gallium/docs/source/tgsi.rst | 13 + src/gallium/include/pipe/p_shader_tokens.h |3 ++- 4 files

[Mesa-dev] [Bug 44558] Consolidate / cleanup env variables

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44558 Nirbheek Chauhan changed: What|Removed |Added CC||nirbh...@gentoo.org -- Configure bug

[Mesa-dev] [Bug 44558] New: Consolidate / cleanup env variables

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44558 Bug #: 44558 Summary: Consolidate / cleanup env variables Classification: Unclassified Product: Mesa Version: git Platform: All OS/Version: All Status: NEW S

[Mesa-dev] [Bug 44557] New: [regression] Trine: Segfault on launch

2012-01-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=44557 Bug #: 44557 Summary: [regression] Trine: Segfault on launch Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW

Re: [Mesa-dev] softpipe GL3 status

2012-01-07 Thread Dave Airlie
> > Let's add new opcodes for things like this. I'll add IABS. >>> cube shadow sampling, some reason ends up getting info from the >>> fallback texture >> >> >> Something in Gallium is probably deciding that GL_DEPTH_COMPONENT is >> invalid for a cubemap and marking it as incomplete. > > > Hmmm,