[Mesa-dev] [PATCH 2/2] nvc0/ir: fill offset in properly for TXD

2014-07-05 Thread Ilia Mirkin
Apparently TXD wants its offset differently than TEX, accepting it in the upper bits of the layer index. Unclear what happens when this is combined with indirect sampler indexing. Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- .../nouveau/codegen/nv50_ir_lowering_nvc0.cpp | 47

[Mesa-dev] [PATCH 1/2] nvc0/ir: use manual TXD when offsets are involved

2014-07-05 Thread Ilia Mirkin
Something about how we're implementing offsets for TXD is wrong, just flip to the generic quadop-based implementation in that case. This is the minimal fix appropriate for backporting. Signed-off-by: Ilia Mirkin imir...@alum.mit.edu Cc: mesa-sta...@lists.freedesktop.org ---

Re: [Mesa-dev] [PATCH demos 0/3] demos release plan and glxinfo: Print more limits

2014-07-05 Thread Pekka Paalanen
On Fri, 04 Jul 2014 08:45:00 +0100 Steven Newbury st...@snewbury.org.uk wrote: On Fri, 2014-07-04 at 03:40 -0400, Ilia Mirkin wrote: On Fri, Jul 4, 2014 at 3:37 AM, Steven Newbury wrote: On Thu, 2014-07-03 at 10:47 +0200, Andreas Boll wrote: 2014-07-03 7:39 GMT+02:00 Steven

Re: [Mesa-dev] [PATCH demos 1/2] demos: Fix make distcheck

2014-07-05 Thread Julien Cristau
On Fri, Jul 4, 2014 at 11:10:22 +0200, Andreas Boll wrote: Signed-off-by: Andreas Boll andreas.boll@gmail.com --- src/xdemos/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) On Fri, Jul 4, 2014 at 11:10:23 +0200, Andreas Boll wrote: Matches behavior with

[Mesa-dev] [ANNOUNCE] mesa-demos 8.2.0

2014-07-05 Thread Andreas Boll
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This new mesa-demos release fixes the build issue against mesa 10.2 (Bug #78101) and picks up the latest glxinfo changes. For the misc changes see below. Andreas. Andreas Boll (6): cmake: bump version to 8.1.0 demos: add missing

Re: [Mesa-dev] [PATCH demos 0/3] demos release plan and glxinfo: Print more limits

2014-07-05 Thread Emil Velikov
On 5 July 2014 08:53, Pekka Paalanen ppaala...@gmail.com wrote: On Fri, 04 Jul 2014 08:45:00 +0100 Steven Newbury st...@snewbury.org.uk wrote: On Fri, 2014-07-04 at 03:40 -0400, Ilia Mirkin wrote: On Fri, Jul 4, 2014 at 3:37 AM, Steven Newbury wrote: On Thu, 2014-07-03 at 10:47 +0200,

[Mesa-dev] [Bug 80933] Fullscreen OpenGL programs (e.g. games) crash if focus lost then regained, something to do with automatic compositing suspension

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80933 --- Comment #1 from almos aaalmo...@gmail.com --- I believe this has nothing to do with Mesa, because all commenters on github use closed (nvidia and amd) drivers. BTW I'm using Mesa 10.1.4 with KDE4, compositing is disabled for fullscreen

Re: [Mesa-dev] [PATCH 1/1] gallivm, llvmpipe: Handle MSAA textures in emit_fetch_texels in a preliminary fashion to prevent a crash in a Piglit test.

2014-07-05 Thread Carl Worth
Darius Goad alegen...@gmail.com writes: src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c | 2 ++ 1 file changed, 2 insertions(+) Hi Darius, Welcome to the mesa development community! I hope you'll have a lot of fun here. I know that someone on IRC gave you some feedback on your commit

[Mesa-dev] [PATCH 05/11] nvc0: implement pipe_context::get_driver_query_group_info

2014-07-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 52 ++ src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 1 + src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 3 ++ 3 files changed, 56 insertions(+) diff --git

[Mesa-dev] [PATCH 01/11] nvc0: allocate more space before a counter is configured

2014-07-05 Thread Samuel Pitoiset
On nvc0, a counter can up to 6 sources instead of only one for nve4+. This fixes a crash when a counter uses more than one source. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)

[Mesa-dev] [PATCH 11/11] [RFC] mesa/st: enable GL_AMD_performance_monitor

2014-07-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/mesa/state_tracker/st_extensions.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_extensions.c b/src/mesa/state_tracker/st_extensions.c index 4207cb6..25042fb 100644 ---

[Mesa-dev] [PATCH 06/11] gallium: add new counter types to pipe_driver_query_info

2014-07-05 Thread Samuel Pitoiset
This will be used by GL_AMD_performance_monitor. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/auxiliary/hud/hud_driver_query.c | 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 25 + src/gallium/include/pipe/p_defines.h | 12

[Mesa-dev] [PATCH 07/11] gallium: Add a f32 field to pipe_query_result

2014-07-05 Thread Samuel Pitoiset
This will be used for the GL_FLOAT counter type of AMD_performance_monitor. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/include/pipe/p_defines.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/include/pipe/p_defines.h

[Mesa-dev] [PATCH 09/11] nvc0: make begin_query return false when all MP counters are used

2014-07-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/gallium/drivers/nouveau/nvc0/nvc0_query.c b/src/gallium/drivers/nouveau/nvc0/nvc0_query.c index

[Mesa-dev] [PATCH 03/11] gallium: add a group_id field to pipe_driver_query_info

2014-07-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/include/pipe/p_defines.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index 8f20974..e8a6f1a 100644 ---

[Mesa-dev] [PATCH 08/11] gallium: make pipe_context::begin_query return a boolean

2014-07-05 Thread Samuel Pitoiset
This can be used to check if a query is unable to start. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/freedreno/freedreno_query.c| 4 ++-- src/gallium/drivers/freedreno/freedreno_query.h| 2 +- src/gallium/drivers/freedreno/freedreno_query_hw.c | 3

[Mesa-dev] [PATCH 04/11] nvc0: use of pipe_driver_query_info::group_id

2014-07-05 Thread Samuel Pitoiset
This adds two groups of queries. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 4 src/gallium/drivers/nouveau/nvc0/nvc0_screen.h | 5 + 2 files changed, 9 insertions(+) diff --git

[Mesa-dev] [PATCH 02/11] gallium: add pipe_context::get_driver_query_group_info

2014-07-05 Thread Samuel Pitoiset
This will be used to sort counters per group for GL_AMD_performance_monitor. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com --- src/gallium/include/pipe/p_defines.h | 7 +++ src/gallium/include/pipe/p_screen.h | 11 +++ 2 files changed, 18 insertions(+) diff --git

[Mesa-dev] [PATCH 10/11] [RFC] mesa/st: implement GL_AMD_performance_monitor

2014-07-05 Thread Samuel Pitoiset
From: Christoph Bumiller e0425...@student.tuwien.ac.at This is based on the original patch of Christoph Bumiller. (source: http://people.freedesktop.org/~chrisbmr/perfmon.diff) V2: (Samuel Pitoiset) - Fix compilation - Improve the original code - Rewrite some parts of the original code

[Mesa-dev] GL_AMD_performance_monitor for Nouveau

2014-07-05 Thread Samuel Pitoiset
Hi, As part of my Google Summer of Code 2014, I implemented GL_AMD_performance_monitor for Nouveau using the state tracker of Gallium. Currently, only MP counters for NVC0+ (fermi) are exposed through this extension. At the end of my project, graphics counters for NV50 (tesla) will be available

[Mesa-dev] [PATCH v2] gallivm, llvmpipe: Handle MSAA textures in emit_fetch_texels.

2014-07-05 Thread Darius Goad
This support is preliminary due to the fact that MSAA is not actually implemented. More complete support would most likely involve a rework of the Mesa architecture to support it. However, this patch does fix the piglit test: spec/!OpenGL 3.2/glsl-resource-not-bound 2DMS ---

Re: [Mesa-dev] GL_AMD_performance_monitor for Nouveau

2014-07-05 Thread Ilia Mirkin
On Sat, Jul 5, 2014 at 2:49 PM, Samuel Pitoiset samuel.pitoi...@gmail.com wrote: Hi, As part of my Google Summer of Code 2014, I implemented GL_AMD_performance_monitor for Nouveau using the state tracker of Gallium. Currently, only MP counters for NVC0+ (fermi) are exposed through this

[Mesa-dev] [Bug 80835] [llvmpipe] piglit fs-struct-pad regression

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80835 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Blocks||79706 -- You are

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Depends on||80835 -- You are

[Mesa-dev] [Bug 80835] [llvmpipe] piglit fs-struct-pad regression

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80835 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Keywords||bisected,

Re: [Mesa-dev] [PATCH v2] gallivm, llvmpipe: Handle MSAA textures in emit_fetch_texels.

2014-07-05 Thread Vinson Lee
On Sat, Jul 5, 2014 at 9:55 AM, Darius Goad alegen...@gmail.com wrote: This support is preliminary due to the fact that MSAA is not actually implemented. More complete support would most likely involve a rework of the Mesa architecture to support it. However, this patch does fix the piglit

[Mesa-dev] [Bug 79706] [TRACKER] Mesa regression tracker

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Depends on||77161 -- You are

[Mesa-dev] [Bug 77161] [softpipe] piglit fbo-generatemipmap-cubemap S3TC_DXT1 regression

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77161 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Blocks||79706 -- You are

[Mesa-dev] [PATCH v3] gallivm, llvmpipe: Handle MSAA textures in emit_fetch_texels.

2014-07-05 Thread Darius Goad
This support is preliminary due to the fact that MSAA is not actually implemented. More complete support would most likely involve a rework of the Mesa architecture to support it. However, this patch does fix the piglit test: spec/!OpenGL 3.2/glsl-resource-not-bound 2DMS It also fixes Bug

[Mesa-dev] [Bug 69101] prime: black window

2014-07-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=69101 Dmitry Derevyanko nrn...@gmail.com changed: What|Removed |Added CC||nrn...@gmail.com --

Re: [Mesa-dev] [PATCH v3] gallivm, llvmpipe: Handle MSAA textures in emit_fetch_texels.

2014-07-05 Thread Roland Scheidegger
Am 05.07.2014 20:03, schrieb Darius Goad: This support is preliminary due to the fact that MSAA is not actually implemented. More complete support would most likely involve a rework of the Mesa architecture to support it. However, this patch does fix the piglit test: spec/!OpenGL

Re: [Mesa-dev] [PATCH 1/3] gallium: switch dedicated centroid field to interpolation location

2014-07-05 Thread Roland Scheidegger
Am 05.07.2014 06:07, schrieb Ilia Mirkin: The new location field can be either center, centroid, or sample, which indicates the location that the shader should interpolate at. Looks good though maybe it should be mentioned in the interpolator section in tgsi.rst (yeah centroid wasn't neither).

Re: [Mesa-dev] [PATCH 2/3] mesa/st: add per sample shading state to fp key and set interpolation

2014-07-05 Thread Roland Scheidegger
Looks good to me. It is unfortunate I guess that shaders may need recompilation just because the inputs are interpolated differently but I don't see a easy way out there. Roland Am 05.07.2014 06:07, schrieb Ilia Mirkin: This enables a gallium driver not to care about the semantics of

Re: [Mesa-dev] [PATCH 01/11] nvc0: allocate more space before a counter is configured

2014-07-05 Thread Ilia Mirkin
On Sat, Jul 5, 2014 at 2:49 PM, Samuel Pitoiset samuel.pitoi...@gmail.com wrote: On nvc0, a counter can up to 6 sources instead of only one for nve4+. This fixes a crash when a counter uses more than one source. Signed-off-by: Samuel Pitoiset samuel.pitoi...@gmail.com Reviewed-by: Ilia

Re: [Mesa-dev] [PATCH 2/3] mesa/st: add per sample shading state to fp key and set interpolation

2014-07-05 Thread Marek Olšák
There is this vague statement in the sample shading spec: When the sample shading fraction is 1.0, a separate set of colors and other associated data are evaluated for each sample, each set of values are evaluated at the sample location. I thought it was about interpolation, meaning

Re: [Mesa-dev] [PATCH 2/3] mesa/st: add per sample shading state to fp key and set interpolation

2014-07-05 Thread Ilia Mirkin
On Sat, Jul 5, 2014 at 6:22 PM, Marek Olšák mar...@gmail.com wrote: There is this vague statement in the sample shading spec: When the sample shading fraction is 1.0, a separate set of colors and other associated data are evaluated for each sample, each set of values are evaluated

Re: [Mesa-dev] [PATCH 1/3] gallium: switch dedicated centroid field to interpolation location

2014-07-05 Thread Marek Olšák
On Sat, Jul 5, 2014 at 11:20 PM, Roland Scheidegger srol...@vmware.com wrote: Am 05.07.2014 06:07, schrieb Ilia Mirkin: The new location field can be either center, centroid, or sample, which indicates the location that the shader should interpolate at. Looks good though maybe it should be

Re: [Mesa-dev] [PATCH 2/3] mesa/st: add per sample shading state to fp key and set interpolation

2014-07-05 Thread Marek Olšák
What you say makes sense. I'm just asking what that sentence in the spec means if it isn't about interpolation. :) Marek On Sun, Jul 6, 2014 at 12:40 AM, Ilia Mirkin imir...@alum.mit.edu wrote: On Sat, Jul 5, 2014 at 6:22 PM, Marek Olšák mar...@gmail.com wrote: There is this vague statement in

Re: [Mesa-dev] [PATCH 2/3] mesa/st: add per sample shading state to fp key and set interpolation

2014-07-05 Thread Ilia Mirkin
On Sat, Jul 5, 2014 at 6:22 PM, Marek Olšák mar...@gmail.com wrote: There is this vague statement in the sample shading spec: When the sample shading fraction is 1.0, a separate set of colors and other associated data are evaluated for each sample, each set of values are evaluated

[Mesa-dev] [PATCH] gallium: add INTERP_* opcodes to support interpolateAt*

2014-07-05 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin imir...@alum.mit.edu --- There's an accompanying patch based on ChrisF's unpublished series to add interpolateAt* to mesa core that makes use of them, and a further couple of patches which inmplement this on nvc0. With all that, nvc0 passes all the piglits in ChrisF's