Re: [Mesa-dev] [PATCH] vl: Fix off-by-one error in device_name_length allocation.

2013-02-22 Thread Michel Dänzer
On Fre, 2013-02-22 at 07:44 +0100, Vinson Lee wrote: Fixes out-of-bounds write reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org --- src/gallium/auxiliary/vl/vl_winsys_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH] llvmpipe/build: add DLOPEN_LIBS and PTHREAD_LIBS to the lp_test_* targets

2013-02-22 Thread Andreas Boll
Fixes undefined symbols. NOTE: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61052 Tested-by: Vinson Lee v...@freedesktop.org --- src/gallium/drivers/llvmpipe/Makefile.am | 17 - 1 file changed, 12 insertions(+), 5 deletions(-)

Re: [Mesa-dev] [PATCH] llvmpipe/build: add DLOPEN_LIBS and PTHREAD_LIBS to the lp_test_* targets

2013-02-22 Thread Jose Fonseca
- Original Message - Fixes undefined symbols. NOTE: This is a candidate for the 9.1 branch. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=61052 Tested-by: Vinson Lee v...@freedesktop.org --- src/gallium/drivers/llvmpipe/Makefile.am | 17 - 1 file

[Mesa-dev] [Bug 61200] insufficient linking of libxatracker.so

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61200 Andreas Boll andreas.boll@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH] vl: Fix off-by-one error in device_name_length allocation.

2013-02-22 Thread Christian König
Am 22.02.2013 07:44, schrieb Vinson Lee: Fixes out-of-bounds write reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/auxiliary/vl/vl_winsys_dri.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [Mesa-dev] [PATCH 1/2] st/vdpau: Fix memory leak in vlVdpOutputSurfaceCreate.

2013-02-22 Thread Christian König
Am 22.02.2013 07:25, schrieb Vinson Lee: Fixes resource leak defect reported by Coverity. Signed-off-by: Vinson Lee v...@freedesktop.org Reviewed-by: Christian König christian.koe...@amd.com --- src/gallium/state_trackers/vdpau/output.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [Mesa-dev] r600g: status of my work on the shader optimization

2013-02-22 Thread Andy Furniss
Vadim Girlin wrote: On 02/19/2013 08:39 PM, Andy Furniss wrote: Vadim Girlin wrote: Could you please test glxgears and other simple mesa demos? It's easier to spot the problems with small apps that don't use a lot of complex shaders. If some of them don't work correctly, please send me the

[Mesa-dev] [Bug 59187] [Steam] Implement GLSL 1.30 (for older chipsets than SandyBridge)

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59187 --- Comment #7 from christopher.alder...@hotmail.com --- Just to nudge things, is anybody working on this/know of anybody working on this? If I had the know-how, I'd have a shot, but this is outside the scope of my abilities. -- You are

Re: [Mesa-dev] Performance difference between driver egl_glx and egl_gallium

2013-02-22 Thread Yannick Meyer
2013/2/22 Michel Dänzer mic...@daenzer.net On Don, 2013-02-21 at 16:41 +0100, Yannick Meyer wrote: Hi all, I am currently wondering why I have a big difference in performance between 2 Mesa drivers: egl_glx and egl_gallium. I have already posted a mesasge 2 weeks ago on the mesa user

[Mesa-dev] [Bug 61091] u_blitter only works on drivers that ignore pipe_sampler_state.normalized_coords

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61091 José Fonseca jfons...@vmware.com changed: What|Removed |Added Severity|normal |blocker

[Mesa-dev] [Bug 12817] Xorg 7.3 crashes due to Mesa/GL problems

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=12817 --- Comment #1 from Niclas Zeising zeising+freedesk...@daemonic.se --- This bug can probably be closed, since FreeBSD 6.4 is obsoleted, and xorg is updated to xserver 1.7.7 and Mesa/GL 7.6.1 -- You are receiving this mail because: You are the

[Mesa-dev] [Bug 12817] Xorg 7.3 crashes due to Mesa/GL problems

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=12817 --- Comment #2 from Niclas Zeising zeising+freedesk...@daemonic.se --- (In reply to comment #1) This bug can probably be closed, since FreeBSD 6.4 is obsoleted, and xorg is ^^^ That should read

[Mesa-dev] [Bug 59187] [Steam] Implement GLSL 1.30 (for older chipsets than SandyBridge)

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59187 --- Comment #8 from Paul Berry stereotype...@gmail.com --- (In reply to comment #6) This isn't only an IronLake-issue. This issue is related to any chipsets older then SandyBridge. Just a side note to anyone who decides to work on this bug;

[Mesa-dev] [Bug 61282] New: build failure since 413941e1, glDiscardFramebufferEXT undeclared

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61282 Priority: medium Bug ID: 61282 Assignee: mesa-dev@lists.freedesktop.org Summary: build failure since 413941e1, glDiscardFramebufferEXT undeclared Severity: normal

[Mesa-dev] [Bug 61282] build failure since 413941e1, glDiscardFramebufferEXT undeclared

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61282 Brad King brad.k...@kitware.com changed: What|Removed |Added CC||hob...@ohiou.edu --

Re: [Mesa-dev] [PATCH] st/mesa: check for dummy programs in destroy_program_variants()

2013-02-22 Thread Andreas Boll
Now the Unexpected program target 0x0 in destroy_program_variants_cb() errors don't occur anymore. Tested with TF2 Tested-by: Andreas Boll andreas.boll@gmail.com 2013/2/20 Brian Paul bri...@vmware.com: When we destroy an ARB vp/fp whose ID was gen'd but not otherwise used we get a pointer

[Mesa-dev] [PATCH] tgsi: Improve execution debugging.

2013-02-22 Thread jfonseca
From: José Fonseca jfons...@vmware.com - zero temps/outputs instead of copying (otherwise we won't be able to see the temps/outputs assignements for small shaders where nothing changes across big areas - also show the inputs (as it's often impossible to infer from the rest) ---

Re: [Mesa-dev] [PATCH] tgsi: Improve execution debugging.

2013-02-22 Thread Brian Paul
On 02/22/2013 08:35 AM, jfons...@vmware.com wrote: From: José Fonsecajfons...@vmware.com - zero temps/outputs instead of copying (otherwise we won't be able to see the temps/outputs assignements for small shaders where nothing changes across big areas - also show the inputs (as it's

[Mesa-dev] [PATCH 3/4] R600/SI: Initial support for LDS/GDS instructions

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com --- lib/Target/R600/SIInstrFormats.td | 24 lib/Target/R600/SIInstrInfo.td| 22 ++ lib/Target/R600/SIInstructions.td | 4 3 files changed, 50

[Mesa-dev] [PATCH 2/4] R600/SI: Handle VGPR256 in copyPhysReg

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com --- lib/Target/R600/SIInstrInfo.cpp | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/lib/Target/R600/SIInstrInfo.cpp b/lib/Target/R600/SIInstrInfo.cpp

[Mesa-dev] [PATCH 1/4] R600/SI: Add intrinsics for texture sampling with user derivatives

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com --- lib/Target/R600/SIInstructions.td | 7 ++- lib/Target/R600/SIIntrinsics.td | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/Target/R600/SIInstructions.td

[Mesa-dev] [PATCH 4/4] R600/SI: Support AMDGPU.ddx/y intrinsics

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Use LDS for calculating the deltas between neighbouring pixels. Not sure the sign of the delta is correct for both dimensions (the sign doesn't seem to matter for the relevant piglit tests), but it'll be easy to fix that up if not. Signed-off-by: Michel

[Mesa-dev] [PATCH 1/3] radeonsi: Refactor packing of texture coordinates

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com The number of coordinates to pack will be useful for other address parameters as well. Signed-off-by: Michel Dänzer michel.daen...@amd.com --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 54 +++--- 1 file changed, 32

[Mesa-dev] [PATCH 2/3] radeonsi: Handle TGSI_OPCODE_TXD

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/radeonsi_shader.c

[Mesa-dev] [PATCH 3/3] radeonsi: Handle TGSI_OPCODE_DDX/Y

2013-02-22 Thread Michel Dänzer
From: Michel Dänzer michel.daen...@amd.com 15 more little piglits. Signed-off-by: Michel Dänzer michel.daen...@amd.com --- src/gallium/drivers/radeonsi/radeonsi_shader.c | 34 ++ src/gallium/drivers/radeonsi/radeonsi_shader.h | 1 +

Re: [Mesa-dev] [PATCH 1/3] radeonsi: Refactor packing of texture coordinates

2013-02-22 Thread Christian König
Am 22.02.2013 17:02, schrieb Michel Dänzer: From: Michel Dänzer michel.daen...@amd.com The number of coordinates to pack will be useful for other address parameters as well. Signed-off-by: Michel Dänzer michel.daen...@amd.com Very nice, for this series: Reviewed-by: Christian König

Re: [Mesa-dev] [PATCH] llvmpipe: Fix rendering into PIPE_FORMAT_X8B8G8R8_UNORM.

2013-02-22 Thread Jose Fonseca
Roland found a better fix. Please ignore. Jose - Original Message - From: José Fonseca jose.r.fons...@gmail.com Weird format, which Mesa state tracker recently started using. Fixes segfault in ./bin/texture-packed-formats -auto because swizzle[foo] was 0xff for padding

[Mesa-dev] [Bug 57563] Crash in debug_backtrace_capture (src/gallium/auxiliary/util/u_debug_stack.c) when running mesa-demos using drm backend

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=57563 José Fonseca jfons...@vmware.com changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [PATCH] r600g: workaround hyperz lockup on evergreen

2013-02-22 Thread j . glisse
From: Jerome Glisse jgli...@redhat.com This work around disable hyperz if write to zbuffer is disabled. Somehow using hyperz when not writting to the zbuffer trigger GPU lockup. See : https://bugs.freedesktop.org/show_bug.cgi?id=60848 Candidate for 9.1 Signed-off-by: Jerome Glisse

Re: [Mesa-dev] [PATCH 4/4] R600/SI: Support AMDGPU.ddx/y intrinsics

2013-02-22 Thread Tom Stellard
This patch has my r-b, but I think we need a better solution for representing inline constants. See my comment below. On Fri, Feb 22, 2013 at 05:02:13PM +0100, Michel Dänzer wrote: From: Michel Dänzer michel.daen...@amd.com Use LDS for calculating the deltas between neighbouring pixels. Not

Re: [Mesa-dev] [PATCH 1/4] R600/SI: Add intrinsics for texture sampling with user derivatives

2013-02-22 Thread Tom Stellard
On Fri, Feb 22, 2013 at 05:02:10PM +0100, Michel Dänzer wrote: From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com Reviewed-by: Tom Stellard thomas.stell...@amd.com --- lib/Target/R600/SIInstructions.td | 7 ++-

Re: [Mesa-dev] [PATCH 2/4] R600/SI: Handle VGPR256 in copyPhysReg

2013-02-22 Thread Tom Stellard
On Fri, Feb 22, 2013 at 05:02:11PM +0100, Michel Dänzer wrote: From: Michel Dänzer michel.daen...@amd.com Signed-off-by: Michel Dänzer michel.daen...@amd.com Reviewed-by: Tom Stellard thomas.stell...@amd.com --- lib/Target/R600/SIInstrInfo.cpp | 28 +++- 1 file

Re: [Mesa-dev] [PATCH 1/3] radeonsi: Refactor packing of texture coordinates

2013-02-22 Thread Tom Stellard
On Fri, Feb 22, 2013 at 05:02:37PM +0100, Michel Dänzer wrote: From: Michel Dänzer michel.daen...@amd.com The number of coordinates to pack will be useful for other address parameters as well. Signed-off-by: Michel Dänzer michel.daen...@amd.com These patches depend on LLVM changes, and I

Re: [Mesa-dev] [PATCH] r600g: workaround hyperz lockup on evergreen

2013-02-22 Thread Alex Deucher
On Fri, Feb 22, 2013 at 11:20 AM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com This work around disable hyperz if write to zbuffer is disabled. Somehow using hyperz when not writting to the zbuffer trigger GPU lockup. See :

Re: [Mesa-dev] [PATCH 4/4] R600/SI: Support AMDGPU.ddx/y intrinsics

2013-02-22 Thread Michel Dänzer
On Fre, 2013-02-22 at 17:44 +0100, Tom Stellard wrote: This patch has my r-b, [...] Thanks. + // Get this thread's ID + BuildMI(BB, I, BB.findDebugLoc(I), TII-get(AMDGPU::V_MBCNT_LO_U32_B32_e64), mbcnt_lo) + .addImm(0x) + .addImm(0x80) // Inline constant

Re: [Mesa-dev] [PATCH 4/4] R600/SI: Support AMDGPU.ddx/y intrinsics

2013-02-22 Thread Paul Berry
On 22 February 2013 08:02, Michel Dänzer mic...@daenzer.net wrote: From: Michel Dänzer michel.daen...@amd.com Use LDS for calculating the deltas between neighbouring pixels. Not sure the sign of the delta is correct for both dimensions (the sign doesn't seem to matter for the relevant

Re: [Mesa-dev] [RFC] New EGL extension: EGL_EXT_platform_display

2013-02-22 Thread Eric Anholt
Chad Versace chad.vers...@linux.intel.com writes: On 02/20/2013 05:44 PM, Eric Anholt wrote: Chad Versace chad.vers...@linux.intel.com writes: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm seeking feedback on an EGL extension that I'm drafting. The ideas have already been discussed

[Mesa-dev] [PATCH] clover: Fix build with LLVM 3.3 v2

2013-02-22 Thread Tom Stellard
From: Tom Stellard thomas.stell...@amd.com v2: - Fix order that the clang libraries are passed to the linker to avoid missing symbol errors. --- .../state_trackers/clover/llvm/invocation.cpp | 47 --- src/gallium/targets/opencl/Makefile.am |2 +- 2

Re: [Mesa-dev] [PATCH] clover: Fix build with LLVM 3.3

2013-02-22 Thread Tom Stellard
On Thu, Feb 21, 2013 at 08:25:20AM -0600, Aaron Watry wrote: Hi Tom, Mesa+Clover does indeed build against master llvm/clang, but I'm having trouble building against it when I try to do a clean build of Piglit. Error received: [ 18%] Built target piglitutil_cl Linking C executable

[Mesa-dev] [Bug 61299] New: LLVM 3.2 fails to link with Mesa 9.0.2 on Windows; missing link libraries

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61299 Priority: medium Bug ID: 61299 Assignee: mesa-dev@lists.freedesktop.org Summary: LLVM 3.2 fails to link with Mesa 9.0.2 on Windows; missing link libraries Severity: normal

Re: [Mesa-dev] [PATCH 4/4] R600/SI: Support AMDGPU.ddx/y intrinsics

2013-02-22 Thread Michel Dänzer
On Fre, 2013-02-22 at 09:05 -0800, Paul Berry wrote: On 22 February 2013 08:02, Michel Dänzer mic...@daenzer.net wrote: From: Michel Dänzer michel.daen...@amd.com Use LDS for calculating the deltas between neighbouring pixels. Not sure the sign of

[Mesa-dev] [PATCH] llvmpipe: support GL_ARB_texture_buffer_object/GL_ARB_texture_buffer_range

2013-02-22 Thread sroland
From: Roland Scheidegger srol...@vmware.com This also fixes not honoring first/last_layer view parameters for array textures, plus not honoring last_level view parameter for all textures (neither is really used by OpenGL). This mostly passes piglit arb_texture_buffer_object tests (it needs,

[Mesa-dev] [PATCH 0/4] Fix issue with overriding GL to 3.2 and GLSL to 1.50

2013-02-22 Thread Jordan Justen
Using MESA_GL_VERSION_OVERRIDE=3.2 and MESA_GLSL_VERSION_OVERRIDE=150 currently fails with piglit's shader_runner. For a GLSL 1.50 test, shader_runner wants to create a 3.2 core profile for a 1.50 test, but that was not working. Also, the compiler would assert during initialization if the version

[Mesa-dev] [PATCH 2/4] mesa version: add _mesa_get_gl_version_override

2013-02-22 Thread Jordan Justen
This will allow other code to get access to the override version before a context is available. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- src/mesa/main/version.c | 94 +-- src/mesa/main/version.h |3 ++ 2 files changed, 70

[Mesa-dev] [PATCH 3/4] intel: update max versions based on MESA_GL_VERSION_OVERRIDE

2013-02-22 Thread Jordan Justen
If the override is version is = 3.1, then update the max_gl_core_version. Otherwise, update max_gl_compat_version. Signed-off-by: Jordan Justen jordan.l.jus...@intel.com --- src/mesa/drivers/dri/intel/intel_screen.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[Mesa-dev] [PATCH 1/4] glsl: allow GLSL compiler version to be overridden to 1.50

2013-02-22 Thread Jordan Justen
Although GLSL 1.50 compiler support is not available, this change will allow MESA_GLSL_VERSION_OVERRIDE=150 to be used while 1.50 support is being developed. Since no drivers claim 1.50 GLSL support, this change should only impact Mesa when MESA_GLSL_VERSION_OVERRIDE=150 is set. Signed-off-by:

[Mesa-dev] [PATCH] r600g: r6xx deadlock workaround (v2)

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Write to a CB register between draws. May fix: https://bugs.freedesktop.org/show_bug.cgi?id=50655 https://bugs.freedesktop.org/show_bug.cgi?id=47116 v2: flush along with workaround. Note: this is a candidate for the 9.1 branch. Signed-off-by: Alex

[Mesa-dev] [PATCH 0/4] r6xx flushing rework and enable CP DMA

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com This patch set cleans up the flushing on r6xx in what seems to be a logical manner. The last patch enables CP DMA on r6xx. No piglit regressions on RS780 which I was testing on. Alex Deucher (4): r600g: add missing emit_flush for

[Mesa-dev] [PATCH 1/4] r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com We set the cp_coher_cntl bits but never emit them. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600_hw_context.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[Mesa-dev] [PATCH 3/4] r600g: set additional cp_coher_cntl bits for 6xx/7xx flush (v2)

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com I don't see why we shouldn't be setting these bits on 6xx/7xx as well. They shouldn't hurt anything and we may be missing synchronizations with certain blocks by not setting them. The ddx already sets cp_coher_cntl in a similar manner. v2: adjust

Re: [Mesa-dev] [PATCH] meta: Allocate texture before initializing texture coordinates

2013-02-22 Thread Chad Versace
On 02/19/2013 04:15 PM, Anuj Phogat wrote: On Fri, Feb 15, 2013 at 11:20 AM, Anuj Phogat anuj.pho...@gmail.com wrote: tex-Sright and tex-Ttop are initialized during texture allocation. This fixes depth buffer blitting failures in khronos conformance tests when run on desktop GL 3.0. Note:

Re: [Mesa-dev] [PATCH] clover: Fix build with LLVM 3.3

2013-02-22 Thread Aaron Watry
On Fri, Feb 22, 2013 at 12:21 PM, Tom Stellard t...@stellard.net wrote: On Thu, Feb 21, 2013 at 08:25:20AM -0600, Aaron Watry wrote: Hi Tom, Mesa+Clover does indeed build against master llvm/clang, but I'm having trouble building against it when I try to do a clean build of Piglit.

[Mesa-dev] [PATCH 2/2] intel: Use the new ctx local variable I just added some more.

2013-02-22 Thread Eric Anholt
--- src/mesa/drivers/dri/intel/intel_context.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c index 488cf9b..82b00bd 100644 --- a/src/mesa/drivers/dri/intel/intel_context.c +++

[Mesa-dev] [PATCH 1/2] i965: Make sRGB-capable framebuffers by default.

2013-02-22 Thread Eric Anholt
The GLX extension lets you expose visuals that explicitly guarantee you that the GL_FRAMEBUFFER_SRGB_CAPABLE flag will be set, but we can set the flag even while the visual doesn't provide the guarantee. This appears to be consistent with other implementations, as we've seen several apps now that

[Mesa-dev] [Bug 61282] build failure since 413941e1, glDiscardFramebufferEXT undeclared

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61282 Jon TURNEY jon.tur...@dronecode.org.uk changed: What|Removed |Added CC|

[Mesa-dev] [Bug 12817] Xorg 7.3 crashes due to Mesa/GL problems

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=12817 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH] meta: Allocate texture before initializing texture coordinates

2013-02-22 Thread Ian Romanick
On 02/15/2013 11:20 AM, Anuj Phogat wrote: tex-Sright and tex-Ttop are initialized during texture allocation. This fixes depth buffer blitting failures in khronos conformance tests when run on desktop GL 3.0. Note: This is a candidate for stable branches. Signed-off-by: Anuj Phogat

[Mesa-dev] [Bug 61282] build failure since 413941e1, glDiscardFramebufferEXT undeclared

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61282 Ian Romanick i...@freedesktop.org changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |lem...@gmail.com

Re: [Mesa-dev] [PATCH] meta: Allocate texture before initializing texture coordinates

2013-02-22 Thread Patrick Baggett
On Fri, Feb 22, 2013 at 2:23 PM, Ian Romanick i...@freedesktop.org wrote: On 02/15/2013 11:20 AM, Anuj Phogat wrote: tex-Sright and tex-Ttop are initialized during texture allocation. This fixes depth buffer blitting failures in khronos conformance tests when run on desktop GL 3.0. Note:

[Mesa-dev] [Bug 61199] mapi/glapi/glprocs.h:2573:5: error: ‘glDiscardFramebufferEXT’ undeclared here (not in a function)

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61199 Tapani Pälli lem...@gmail.com changed: What|Removed |Added CC||brad.k...@kitware.com

[Mesa-dev] [PATCH] configure: Fix build with automake 1.11

2013-02-22 Thread Lauri Kasanen
Commit 86d30dea3c13d29ef8d39bc18db63a0441051975 broke building with older automake versions with this error: Makefile:769: *** Recursive variable am__v_YACC_ references itself (eventually). Stop. This patch fixes it. Fix stolen from xorg-macros. -- This is a candidate for the 9.1 branch,

Re: [Mesa-dev] [PATCH] i965: Avoid segfault in gen6_upload_state

2013-02-22 Thread Ian Romanick
On 02/20/2013 05:34 PM, Eric Anholt wrote: Ian Romanick i...@freedesktop.org writes: On 02/19/2013 04:27 PM, Carl Worth wrote: This fixes a bug introduced in commit 258453716f001eab1288d99765213 and triggered whenever rb is NULL. Fixes bug #59445: [SNB/IVB/HSW Bisected]Oglc

Re: [Mesa-dev] [PATCH] i965/gen[45]: Do point coord logic whenever gl_PointCoord is asked for.

2013-02-22 Thread Ian Romanick
On 02/21/2013 08:48 AM, Eric Anholt wrote: Ian Romanick i...@freedesktop.org writes: On 02/15/2013 10:46 PM, Eric Anholt wrote: The desktop spec asks for gl_PointCoord to be defined only when GL_POINT_SPRITE is enabled, and it's undefined otherwise (why?!). The ES spec doesn't have

Re: [Mesa-dev] A few fixes for the preprocessor for GLSL 1.30

2013-02-22 Thread Carl Worth
Ian Romanick i...@freedesktop.org writes: Though, it turns out that this deviates from what C99 specifies. Specifically, the ISO/IEC 9899:TC2 Committee Draft dated May 6, 2005 says: After all replacements due to macro expansion and the defined unary operator have been performed,

Re: [Mesa-dev] [PATCH 0/4] r6xx flushing rework and enable CP DMA

2013-02-22 Thread Jerome Glisse
On Fri, Feb 22, 2013 at 2:38 PM, alexdeuc...@gmail.com wrote: From: Alex Deucher alexander.deuc...@amd.com This patch set cleans up the flushing on r6xx in what seems to be a logical manner. The last patch enables CP DMA on r6xx. No piglit regressions on RS780 which I was testing on.

Re: [Mesa-dev] [PATCH] configure: Fix build with automake 1.11

2013-02-22 Thread Matt Turner
On Fri, Feb 22, 2013 at 12:25 PM, Lauri Kasanen c...@gmx.com wrote: Commit 86d30dea3c13d29ef8d39bc18db63a0441051975 broke building with older automake versions with this error: Makefile:769: *** Recursive variable am__v_YACC_ references itself (eventually). Stop. This patch fixes it. Fix

Re: [Mesa-dev] [PATCH 1/2] i965: Make sRGB-capable framebuffers by default.

2013-02-22 Thread Ian Romanick
On 02/22/2013 12:00 PM, Eric Anholt wrote: The GLX extension lets you expose visuals that explicitly guarantee you that the GL_FRAMEBUFFER_SRGB_CAPABLE flag will be set, but we can set the flag even while the visual doesn't provide the guarantee. This appears to be consistent with other

[Mesa-dev] [Bug 61199] mapi/glapi/glprocs.h:2573:5: error: ‘glDiscardFramebufferEXT’ undeclared here (not in a function)

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61199 --- Comment #6 from Brad King brad.k...@kitware.com --- Comment on attachment 75234 -- https://bugs.freedesktop.org/attachment.cgi?id=75234 fix without typos included Review of attachment 75234:

Re: [Mesa-dev] [PATCH 1/2] mesa: Fix setup of ctx-Point.PointSprite for GLES2.

2013-02-22 Thread Ian Romanick
On 02/20/2013 04:58 PM, Eric Anholt wrote: The recent change for GL core broke the older setup, which broke gl_PointCoord on pre-gen6 (where gl_PointCoord is undefined if point sprites are disabled). Fixes the new piglit GLES-2.0/glsl-fs-pointcoord test. Bugzilla:

Re: [Mesa-dev] A few fixes for the preprocessor for GLSL 1.30

2013-02-22 Thread Kenneth Graunke
On 02/22/2013 01:14 PM, Carl Worth wrote: Ian Romanick i...@freedesktop.org writes: Though, it turns out that this deviates from what C99 specifies. Specifically, the ISO/IEC 9899:TC2 Committee Draft dated May 6, 2005 says: After all replacements due to macro expansion and the defined

[Mesa-dev] [Bug 61312] New: Assertion failure: freeing bad or corrupted memory in st_translate_mesa_program

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61312 Priority: medium Bug ID: 61312 Assignee: mesa-dev@lists.freedesktop.org Summary: Assertion failure: freeing bad or corrupted memory in st_translate_mesa_program Severity:

[Mesa-dev] [Bug 61312] Assertion failure: freeing bad or corrupted memory in st_translate_mesa_program

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61312 --- Comment #1 from Keith Kriewall keith.kriew...@attachmate.com --- Created attachment 75375 -- https://bugs.freedesktop.org/attachment.cgi?id=75375action=edit Trace of GL calls made by dinospin In case it helps, I'm attaching a JOGL trace of

[Mesa-dev] [Bug 29044] GLSL compiler tracker

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=29044 Bug 29044 depends on bug 28138, which changed state. Bug 28138 Summary: [G45] Regnum Online, sparkling in in-game rendering https://bugs.freedesktop.org/show_bug.cgi?id=28138 What|Removed |Added

Re: [Mesa-dev] [PATCH] meta: Allocate texture before initializing texture coordinates

2013-02-22 Thread Anuj Phogat
On Fri, Feb 22, 2013 at 12:28 PM, Patrick Baggett baggett.patr...@gmail.com wrote: On Fri, Feb 22, 2013 at 2:23 PM, Ian Romanick i...@freedesktop.org wrote: On 02/15/2013 11:20 AM, Anuj Phogat wrote: tex-Sright and tex-Ttop are initialized during texture allocation. This fixes depth buffer

Re: [Mesa-dev] [PATCH] r600g: workaround hyperz lockup on evergreen

2013-02-22 Thread Marek Olšák
This looks good. One minor nit: zwritemask should be in r600_db_misc_state instead of r600_context. Marek On Fri, Feb 22, 2013 at 5:20 PM, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com This work around disable hyperz if write to zbuffer is disabled. Somehow using hyperz

[Mesa-dev] [PATCH 1/6] r600g: add PS_PARTIAL_FLUSH flag

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com PS_PARTIAL flushes seems to be required in certain cases to prevent hangs, especially on r6xx. Note: this is a candidate for the 9.1 branch. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600.h|1

[Mesa-dev] [PATCH 2/6] r600g: r6xx deadlock workaround (v6)

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=50655 https://bugs.freedesktop.org/show_bug.cgi?id=47116 v2: flush along with workaround. v3: just need a flush v4: try WAIT_UNTIL v5: switch to PS partial flush v6: rework patch Note: this is a

[Mesa-dev] [PATCH 3/6] r600g: emit a ps partial flush after CP DMA

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com May fix: https://bugs.freedesktop.org/show_bug.cgi?id=58042 Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600_hw_context.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[Mesa-dev] [PATCH 4/6] r600g: synchronize streamout buffers on r6xx too (v3)

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com Streamout buffers need to be synchronized on r6xx as well. v2: Add DEST flush as well. v3: drop DEST flush Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600_hw_context.c |2 +- 1 files changed, 1

[Mesa-dev] [PATCH 5/6] r600g: add missing emit_flush for R600_CONTEXT_FLUSH_AND_INV case

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com We set the cp_coher_cntl bits but never emit them. Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600_hw_context.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git

[Mesa-dev] [PATCH 6/6] r600g: enable CP DMA on r6xx (v3)

2013-02-22 Thread alexdeucher
From: Alex Deucher alexander.deuc...@amd.com With the previous flushing changes this seems to work reliably now. v2: add R600_CONTEXT_FLUSH_AND_INV v3: just enable CP DMA Signed-off-by: Alex Deucher alexander.deuc...@amd.com --- src/gallium/drivers/r600/r600_blit.c |3 +--

[Mesa-dev] [Bug 61318] New: Can't compile GLU 32bit on 64bit

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61318 Priority: medium Bug ID: 61318 Assignee: mesa-dev@lists.freedesktop.org Summary: Can't compile GLU 32bit on 64bit Severity: critical Classification: Unclassified OS: All

[Mesa-dev] [Bug 38086] Mesa 7.11-devel implementation error: Unexpected program target in destroy_program_variants_cb()

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=38086 Brian Paul bri...@vmware.com changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [PATCH] draw: make sure pipeline is revalidated when sampler views or samplers change.

2013-02-22 Thread sroland
From: Roland Scheidegger srol...@vmware.com Since with llvm execution parts of sampler view and sampler state is baked into the shader, we need to revalidate otherwise the wrong shader might get used. (Not completely sure but I think this would not be required for non-llvm case, along with

[Mesa-dev] Multiple 'OPTION ARB_precision_hint_*' lines in ARB FP shaders

2013-02-22 Thread Jonathan Hamilton
Hi all, I have an issue where an ARBfp shader does the following: !!ARBfp1.0 OPTION ARB_precision_hint_fastest; OPTION ARB_precision_hint_fastest; This is then being rejected by the mesa parser. The spec I found at http://oss.sgi.com/projects/ogl-sample/registry/ARB/fragment_program.txt says

[Mesa-dev] [Bug 61318] Can't compile GLU 32bit on 64bit

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61318 Matt Turner matts...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 61318] Can't compile GLU 32bit on 64bit

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61318 --- Comment #2 from Matt Turner matts...@gmail.com --- I built with both CFLAGS=-m32 CXXFLAGS=-m32 ./autogen.sh --prefix=/usr --libdir=/usr/lib32 --build=x86_64-pc-linux-gnu --host=i686-pc-linux-gnu and CFLAGS=-m32 CXXFLAGS=-m32 ./autogen.sh

Re: [Mesa-dev] [PATCH] i965: Avoid segfault in gen6_upload_state

2013-02-22 Thread Carl Worth
Ian Romanick i...@freedesktop.org writes: Also, the correct way to say this is: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59445 Thanks. I missed that on this patch, but will get it right in the future. ctx-DrawBuffer-Visual doesn't know about your alpha bits when you have MRT

Re: [Mesa-dev] [PATCH] i965: Avoid segfault in gen6_upload_state

2013-02-22 Thread Ian Romanick
On 02/22/2013 05:15 PM, Carl Worth wrote: Ian Romanick i...@freedesktop.org writes: Also, the correct way to say this is: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59445 Thanks. I missed that on this patch, but will get it right in the future. ctx-DrawBuffer-Visual doesn't

Re: [Mesa-dev] [PATCH] i965: Avoid segfault in gen6_upload_state

2013-02-22 Thread Ian Romanick
On 02/22/2013 05:20 PM, Ian Romanick wrote: On 02/22/2013 05:15 PM, Carl Worth wrote: Ian Romanick i...@freedesktop.org writes: Also, the correct way to say this is: Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59445 Thanks. I missed that on this patch, but will get it right in

[Mesa-dev] Mesa 9.1 release

2013-02-22 Thread Ian Romanick
Mesa 9.1 has been released! Mesa 9.1 is a feature release that includes many updates and enhancements. The full list is available in the release notes file in docs/relnotes-9.1.html. The tag in the GIT repository for Mesa 9.1 is 'mesa-9.1'. Mesa 9.1 is available for download at

Re: [Mesa-dev] Multiple 'OPTION ARB_precision_hint_*' lines in ARB FP shaders

2013-02-22 Thread Ian Romanick
On 02/22/2013 04:44 PM, Jonathan Hamilton wrote: Hi all, I have an issue where an ARBfp shader does the following: !!ARBfp1.0 OPTION ARB_precision_hint_fastest; OPTION ARB_precision_hint_fastest; This is then being rejected by the mesa parser. The spec I found at

[Mesa-dev] [Bug 61199] mapi/glapi/glprocs.h:2573:5: error: ‘glDiscardFramebufferEXT’ undeclared here (not in a function)

2013-02-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61199 --- Comment #7 from Tapani Pälli lem...@gmail.com --- someone please commit the fix -- You are receiving this mail because: You are the assignee for the bug. ___ mesa-dev mailing list

[Mesa-dev] [PATCH 01/14] mesa: Remove extra #define MAXSTRING duplicating MAX_DEBUG_MESSAGE_LENGTH.

2013-02-22 Thread Eric Anholt
--- src/mesa/main/errors.c | 29 ++--- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 0c5e36d..761b555 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -38,8 +38,6 @@ #include

[Mesa-dev] [PATCH 02/14] mesa: Replace open-coded _mesa_lookup_enum_by_nr().

2013-02-22 Thread Eric Anholt
--- src/mesa/main/errors.c | 38 +++--- 1 file changed, 3 insertions(+), 35 deletions(-) diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 761b555..987cddb 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -29,7 +29,7 @@

[Mesa-dev] [PATCH 04/14] mesa: Fix _mesa_problem() on context destroy after application debug output

2013-02-22 Thread Eric Anholt
This was apparently not noticed because we don't have any testing of application-generated debug output. However, as I'm changing the GL-generated debug output to use the same path as application/middleware-generated debug output, this obviously became an issue. --- src/mesa/main/errors.c |6

[Mesa-dev] [PATCH 03/14] mesa: Move debug type/severity enums to mesa core.

2013-02-22 Thread Eric Anholt
These will get reused by new ARB_debug_output messages in drivers/core, instead of having the caller pass GL enums and have us immediately switch-statement those into enums. Add source enums will be handled in the next commit, because the way different sources are handled at the moment is pretty

[Mesa-dev] [PATCH 07/14] intel: Hook up the WARN_ONCE macro to GL_ARB_debug_output.

2013-02-22 Thread Eric Anholt
--- src/mesa/drivers/dri/i965/brw_wm_surface_state.c |1 + src/mesa/drivers/dri/intel/intel_context.h |5 + 2 files changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c index 587ad05..623b99a

[Mesa-dev] [PATCH 06/14] mesa: Add support for GL_ARB_debug_output with dynamic ID allocation.

2013-02-22 Thread Eric Anholt
We can emit messages now without always having to use the same ID for each, or having a giant table of all possible errors in mtypes.h. --- src/mesa/main/errors.c | 54 +--- src/mesa/main/errors.h | 10 - 2 files changed, 60 insertions(+), 4

[Mesa-dev] [PATCH 08/14] intel: Finish renaming fallback_debug() to perf_debug().

2013-02-22 Thread Eric Anholt
They're about to change to handle GL_ARB_debug_output, so just make one function. --- src/mesa/drivers/dri/intel/intel_context.h |5 - src/mesa/drivers/dri/intel/intel_mipmap_tree.c |4 ++-- src/mesa/drivers/dri/intel/intel_pixel_copy.c | 18 +-

  1   2   >