[Mesa-dev] [PATCH] i965: Fix warnings introduced in commit e24ef5ab.

2014-07-05 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 c0756ad..4a3111a 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_surfa

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

2014-07-05 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 repo except for the i

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 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 at the samp

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 wrote: > On Sat, Jul 5, 2014 at 6:22 PM, Marek Olšák wrote: >> There is this vague statement in the sample shading spec: >> >>

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 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 mentioned in the

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 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 at the samp

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 t

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 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 Reviewed-by: Ilia Mirkin > --- > src/gallium/drivers/nouveau/nvc0/

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 > ARB_samp

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 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 3.2/g

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

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

[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 #79740.

[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 changed: What|Removed |Added Blocks||79706 -- You are receiving this mail becau

[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 changed: What|Removed |Added Depends on||77161 -- You are receiving this mail becau

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 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 test: > spec/!Ope

[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 changed: What|Removed |Added Keywords||bisected, have-backtrace -- You are receiv

[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 changed: What|Removed |Added Depends on||80835 -- You are receiving this mail becau

[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 changed: What|Removed |Added Blocks||79706 -- You are receiving this mail becau

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 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 > extension. At the end o

[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 --- src/gallium/auxiliary

[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 --- 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 e38744a..258b755 100644 --- a/src/ga

[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 --- 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 --- a/src/gallium/include/pipe/p_defines.h +++ b/src/gallium/inclu

[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 --- 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 ++- src/gallium/drivers/f

[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 --- 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 a/src/gallium/drivers/nouveau/nvc0/nvc0_query.c b/src/gallium/drive

[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 --- src/gallium/include/pipe/p_defines.h | 7 +++ src/gallium/include/pipe/p_screen.h | 11 +++ 2 files changed, 18 insertions(+) diff --git a/src/gallium/include/pipe/p_def

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

2014-07-05 Thread Samuel Pitoiset
From: Christoph Bumiller 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 Signed-off-by: Samuel Pitoiset ---

[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 --- 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 +++- 3 files change

[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 --- src/gallium/include/pipe/p_defines.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gallium/include/pipe/p_defines.h b/src/gallium/include/pipe/p_defines.h index c34c3c0..a

[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 f

[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 --- 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 a/src/gallium/drivers/nou

[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 --- src/gallium/drivers/nouveau/nvc0/nvc0_query.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium

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

2014-07-05 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- 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 --- a/src/mesa/state_tracker/st_extensions.c +++ b/src/mesa/

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 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 message, (that it should

[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 --- 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 windows, and I have no pro

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 wrote: > On Fri, 04 Jul 2014 08:45:00 +0100 > Steven Newbury 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: >> >

[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 binaries

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 > --- > 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 action-if-not-given > > Sig

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 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 Newbury > > > >