[Mesa-dev] [Bug 66806] [softpipe] glxgears floating point exception

2013-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66806 --- Comment #6 from Vinson Lee --- Program received signal SIGFPE, Arithmetic exception. 0x74d4b21f in micro_mul (dst=0x7fffd270, src0=0x7fffd250, src1=0x7fffd260) at tgsi/tgsi_exec.c:983 983 dst->f[0] = src0->f[0]

Re: [Mesa-dev] [PATCH V3 0/5] Interpolation fixes for Gen4/5

2013-07-22 Thread Kenneth Graunke
On 07/14/2013 02:39 AM, Chris Forbes wrote: This series adds support for GLSL 1.30 / EXT_gpu_shader4's 'flat' and 'noperspective' varying interpolation qualifiers on Gen4/5. Based on Olivier Galibert's series from July 2012, with some simplifications (that series contained a number of fixes for

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/2] mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile

2013-07-22 Thread Kenneth Graunke
On 07/22/2013 03:58 PM, Marek Olšák wrote: There are a couple of reasons why this was missed: So, I wrote nearly this exact patch in November: http://lists.freedesktop.org/archives/mesa-dev/2012-November/030209.html And it was rejected, which explains my skepticism. 1) The depth texture mode

Re: [Mesa-dev] Geometry shader update, and a course correction

2013-07-22 Thread Kenneth Graunke
On 07/22/2013 10:42 AM, Paul Berry wrote: [snip] I don't mind if someone wants to do some research in the background on questions 1 and 2 above, but IMHO we can safely proceed with this plan even without that information. In all likelihood, the only thing we're going to learn by answering questi

Re: [Mesa-dev] [PATCH] docs: Add items for GL4.4

2013-07-22 Thread Kenneth Graunke
On 07/22/2013 02:18 PM, Chris Forbes wrote: Signed-off-by: Chris Forbes --- docs/GL3.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/docs/GL3.txt b/docs/GL3.txt index f2152a3..64986ea 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -156,5 +156,19 @@ ARB_texture_view

[Mesa-dev] [Bug 66806] [softpipe] glxgears floating point exception

2013-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=66806 --- Comment #5 from Roland Scheidegger --- Vinson, since I can't reproduce this here could you do a "info registers mxcsr"? I'm curious what the exception mask actually is. Also, what are the src0->f[0] and src1->f[0] values? -- You are receivi

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/2] mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile

2013-07-22 Thread Marek Olšák
There are a couple of reasons why this was missed: 1) The depth texture mode doesn't exist in the core profile, so the core spec doesn't and cannot specify what the default should be, so that's why nobody updated it. However the 4.1 core spec says: "3.8.9 Depth Component Textures Depth textures a

Re: [Mesa-dev] Direct3D 9 state tracker

2013-07-22 Thread Dave Airlie
On Tue, Jul 23, 2013 at 8:21 AM, Marek Olšák wrote: > I think this is radically different from d3d1x, as it already can be > used to play games from Blizzard, Bethesda, and other companies > according to Christoph. I don't think this is much about what's best > for Wine, because Wine has to work o

Re: [Mesa-dev] Direct3D 9 state tracker

2013-07-22 Thread Marek Olšák
I think this is radically different from d3d1x, as it already can be used to play games from Blizzard, Bethesda, and other companies according to Christoph. I don't think this is much about what's best for Wine, because Wine has to work on multiple operating systems/drivers anyway. I think this is

Re: [Mesa-dev] Geometry shader update, and a course correction

2013-07-22 Thread Chad Versace
On 07/22/2013 10:42 AM, Paul Berry wrote: On 21 July 2013 23:14, Ian Romanick wrote: On 07/19/2013 11:48 AM, Paul Berry wrote: Just going for 3.2 and punting on the extension for now seems like the right way to go, but I also don't want to paint ourselves into a "we have to rearchitect the

Re: [Mesa-dev] [PATCH] mesa: fix rgtc snorm decoding

2013-07-22 Thread Roland Scheidegger
Am 22.07.2013 22:52, schrieb Matt Turner: > On Mon, Jul 22, 2013 at 12:22 PM, wrote: >> From: Roland Scheidegger >> >> The codeword must be unsigned (otherwise will shift in 1's from above when >> merging low/high parts so some texels decode wrong). >> This also affects gallium's util/u_format_r

[Mesa-dev] [Bug 67127] Intel Compiler SCons build src/mesa/state_tracker/st_manager.c:(.text+0xd4b): undefined reference to `_glapi_check_multithread'

2013-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=67127 --- Comment #2 from Vinson Lee --- A clean build still repoduces the build error. $ icc --version icc (ICC) 13.1.0 20130121 Copyright (C) 1985-2013 Intel Corporation. All rights reserved. $ icpc --version icpc (ICC) 13.1.0 20130121 Copyright (

Re: [Mesa-dev] clover: kernel argument improvements

2013-07-22 Thread Francisco Jerez
Tom Stellard writes: > On Sun, Jul 21, 2013 at 07:46:36PM +0200, Francisco Jerez wrote: >> Tom Stellard writes: >> >> > Hi, >> > >> > This series improves clover's kernel argument handling by allowing drivers >> > to >> > specify an alignment for the input buffer and also by sign/zero extendin

[Mesa-dev] [PATCH] docs: Add items for GL4.4

2013-07-22 Thread Chris Forbes
Signed-off-by: Chris Forbes --- docs/GL3.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/docs/GL3.txt b/docs/GL3.txt index f2152a3..64986ea 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -156,5 +156,19 @@ ARB_texture_view not started

Re: [Mesa-dev] [PATCH] mesa: fix rgtc snorm decoding

2013-07-22 Thread Matt Turner
On Mon, Jul 22, 2013 at 12:22 PM, wrote: > From: Roland Scheidegger > > The codeword must be unsigned (otherwise will shift in 1's from above when > merging low/high parts so some texels decode wrong). > This also affects gallium's util/u_format_rgtc. > --- Write a piglit test for this too? ___

Re: [Mesa-dev] [Mesa-stable] [PATCH 1/2] mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile

2013-07-22 Thread Kenneth Graunke
On 07/22/2013 10:37 AM, Ian Romanick wrote: Crap. I thought we had already done this. Do we have a piglit test for this? I'm just curious how we missed it... Either way, both patches are Reviewed-by: Ian Romanick I'm very skeptical of these patches, having looked at it a bunch - I'll try

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

2013-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63404 Joe Konno changed: What|Removed |Added Status|RESOLVED|VERIFIED --- Comment #11 from Joe Konno ---

[Mesa-dev] [PATCH] mesa: fix rgtc snorm decoding

2013-07-22 Thread sroland
From: Roland Scheidegger The codeword must be unsigned (otherwise will shift in 1's from above when merging low/high parts so some texels decode wrong). This also affects gallium's util/u_format_rgtc. --- src/mesa/main/texcompress_rgtc_tmp.h |6 +++--- 1 file changed, 3 insertions(+), 3 dele

Re: [Mesa-dev] Direct3D 9 state tracker

2013-07-22 Thread Henri Verbeet
On 22 July 2013 18:48, Stefan Dösinger wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Am 2013-07-22 15:39, schrieb Jose Fonseca: >> It seems to me that this would be more useful if the state tracker >> targeted not the D3D9 API, but the WDDM D3D9 DDI [2]. Targeting >> the DDI would

Re: [Mesa-dev] Geometry shader update, and a course correction

2013-07-22 Thread Alex Deucher
On Mon, Jul 22, 2013 at 1:42 PM, Paul Berry wrote: > On 21 July 2013 23:14, Ian Romanick wrote: >> >> On 07/19/2013 11:48 AM, Paul Berry wrote: >>> >>> (TL;DR: geometry shaders are humming along, but because of a hitch I've >>> run into, I'm going to change gears and implement GLSL 1.50-style >>>

Re: [Mesa-dev] Geometry shader update, and a course correction

2013-07-22 Thread Paul Berry
On 21 July 2013 23:14, Ian Romanick wrote: > On 07/19/2013 11:48 AM, Paul Berry wrote: > >> (TL;DR: geometry shaders are humming along, but because of a hitch I've >> run into, I'm going to change gears and implement GLSL 1.50-style >> geometry shaders first rather than ARB_geometry_shader4 funct

Re: [Mesa-dev] [PATCH 1/2] mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile

2013-07-22 Thread Ian Romanick
Crap. I thought we had already done this. Do we have a piglit test for this? I'm just curious how we missed it... Either way, both patches are Reviewed-by: Ian Romanick On 07/20/2013 11:19 AM, Marek Olšák wrote: Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/drivers/dri/i915/intel_t

Re: [Mesa-dev] [PATCH 13/15] mesa, glsl, st/dri: add a new driconf option force_glsl_version for Unigine

2013-07-22 Thread Ian Romanick
On 07/19/2013 08:18 AM, Marek Olšák wrote: See documentation in mtypes.h. --- src/gallium/include/state_tracker/st_api.h | 5 ++-- .../state_trackers/dri/common/dri_context.c| 10 --- src/gallium/state_trackers/dri/common/dri_screen.c | 3 +- src/gallium/state_trackers/

Re: [Mesa-dev] [PATCH 01/15] docs/GL3: clarify core vs compatibility extension support

2013-07-22 Thread Ian Romanick
Other than the comment I made on patch 13, patches 1, 6, 11, 12, and 13 are Reviewed-by: Ian Romanick On 07/19/2013 08:18 AM, Marek Olšák wrote: --- docs/GL3.txt | 8 1 file changed, 8 insertions(+) diff --git a/docs/GL3.txt b/docs/GL3.txt index f2152a3..1af8c98 100644 --- a/docs/

Re: [Mesa-dev] [PATCH 1/2] mesa: default DEPTH_TEXTURE_MODE should be RED in the core profile

2013-07-22 Thread Brian Paul
On 07/20/2013 12:19 PM, Marek Olšák wrote: Cc: mesa-sta...@lists.freedesktop.org --- src/mesa/drivers/dri/i915/intel_tex.c | 2 +- src/mesa/drivers/dri/i965/intel_tex.c | 2 +- src/mesa/drivers/dri/nouveau/nouveau_texture.c | 2 +- src/mesa/drivers/dri/r200/r200_tex.c

Re: [Mesa-dev] Direct3D 9 state tracker

2013-07-22 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Am 2013-07-22 15:39, schrieb Jose Fonseca: > It seems to me that this would be more useful if the state tracker > targeted not the D3D9 API, but the WDDM D3D9 DDI [2]. Targeting > the DDI would allow, e.g., to share more code with rest of WINE > (the

Re: [Mesa-dev] [PATCH 2/2] glsl/gsraytrace: Use EXT_transform_feedback instead of, NV.

2013-07-22 Thread Brian Paul
On Wed, Jun 12, 2013 at 9:34 AM, Fabian Bieler wrote: > NV_transform_feedback is currently not supported by mesa (and I'm > somewhat doubtful it will be implemented in the foreseeable future). > > Note that with this patch the demo doesn't work anymore with the nvidia > binary driver. > I just r

Re: [Mesa-dev] [PATCH 2/2] glsl/gsraytrace: Use EXT_transform_feedback instead of, NV.

2013-07-22 Thread Marek Olšák
We should use the GL 3.0 functions for transform feedback. That way we don't have to rely on what extensions are exposed, as EXT_transform_feedback is part of the GL spec anyway. Exposing the extensions incorporated into the GL spec is optional and NVIDIA obviously decided not to do so in this case

Re: [Mesa-dev] clover: kernel argument improvements

2013-07-22 Thread Tom Stellard
On Sun, Jul 21, 2013 at 07:46:36PM +0200, Francisco Jerez wrote: > Tom Stellard writes: > > > Hi, > > > > This series improves clover's kernel argument handling by allowing drivers > > to > > specify an alignment for the input buffer and also by sign/zero extending > > the > > arguments when re

Re: [Mesa-dev] [PATCH 01/15] docs/GL3: clarify core vs compatibility extension support

2013-07-22 Thread Brian Paul
On 07/19/2013 09:18 AM, Marek Olšák wrote: --- docs/GL3.txt | 8 1 file changed, 8 insertions(+) diff --git a/docs/GL3.txt b/docs/GL3.txt index f2152a3..1af8c98 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -7,6 +7,14 @@ infrastructure is complete but it may be the case that few (i

Re: [Mesa-dev] Direct3D 9 state tracker

2013-07-22 Thread Jose Fonseca
- Original Message - > So, about two months ago I had the insane idea to pick up Joakim > Sindholt's Direct3D 9 state tracker that he'd started about 3 years ago > with the goal to make it run StarCraft 2 so I could finally play at a > reasonable frame rate ... > > With help from Joakim an

[Mesa-dev] [PATCH 1/2] clover: Added missing address space checking of kernel parameters

2013-07-22 Thread Jonathan Charest
To have non-static buffers in local memory, it is necessary to pass them as arguments to the kernel. This was almost supported but the address space mapping was missing to perform the check (thanks to tstellar for pointing me in the right direction). --- .../state_trackers/clover/llvm/invocation.

[Mesa-dev] [PATCH 2/2] Added missing address space checking of kernel parameters

2013-07-22 Thread Jonathan Charest
To have non-static buffers in local memory, it is necessary to pass them as arguments to the kernel. For r600, the correct lds size must be set to the SQ_LDS_ALLOC register. The correct size is the clover size plus the size reported by the compiler. --- src/gallium/drivers/r600/evergreen_compute

Re: [Mesa-dev] [PATCH] gallivm: Remove dead code in lp_build_compare_ext.

2013-07-22 Thread Jose Fonseca
Looks OK to me. Jose - Original Message - > There are earlier returns for PIPE_FUNC_NEVER and PIPE_FUNC_ALWAYS. The > switch value of 'func' cannot be either of those values. > > Fixes "Logically dead code" defects reported by Coverity. > > Signed-off-by: Vinson Lee > --- > src/galliu

Re: [Mesa-dev] Trying MSAAx2 (r300g) on RS690/AMD Radeon X1200 128MB

2013-07-22 Thread Marek Olšák
Set this environment variable: RADEON_DEBUG=nocmask and please try again. You can also press 'a' in glxgears to stop the animation. Marek On Mon, Jul 22, 2013 at 5:14 AM, Bryan Quigley wrote: > Hi Marek, > > The lockup is gone! (Tested on Xorg-edgers PPA built June 21). > Although there is no

[Mesa-dev] [Bug 63435] [Regression since 9.0] Flickering in EGL OpenGL full-screen window with swap interval 1

2013-07-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=63435 --- Comment #8 from Sjoerd Simons --- I just checked mesa-dev for the patch Eric mentioned he was planning to send, but couldn't find it (it is a monday morning so i might have missed it)? Doesn't look like a fix hit mesa master either ;/ -- Yo