[Mesa-dev] [PATCH] glsl: Fix clang mismatched-tags warnings with glsl_type.

2014-06-15 Thread Vinson Lee
Fix clang mismatched-tags warnings introduced with commit 4f5445a45d3ed02e00a061b10c943c0b079c6020. ./glsl_symbol_table.h:37:1: warning: class 'glsl_type' was previously declared as a struct [-Wmismatched-tags] class glsl_type; ^ ./glsl_types.h:86:8: note: previous use is here struct glsl_type {

Re: [Mesa-dev] [PATCH] glsl: Fix clang mismatched-tags warnings with glsl_type.

2014-06-15 Thread Matt Turner
I just wrote the same patch tonight. :) Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 75661] st_glsl_to_tgsi.cpp:637:get_opcode: Assertion `src0.type != GLSL_TYPE_STRUCT' failed.

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

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

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

Re: [Mesa-dev] [PATCH] glsl: Fix clang mismatched-tags warnings with glsl_type.

2014-06-15 Thread Thomas Helland
Ooops. My bad. Thanks for fixing this. LGTM Reading up on this warning it seems name mangling is pretty messed up with MSVC. I'll get a MSVC build system set up to make sure my future work extraneous includes does not introduce issues with MSVC. 2014-06-15 9:38 GMT+02:00 Matt Turner

Re: [Mesa-dev] [PATCH] clover: Cache serialized binaries

2014-06-15 Thread Francisco Jerez
Tom Stellard thomas.stell...@amd.com writes: We were serializing the binaries once when clGetProgramInfo was called with CL_PROGRAM_BINARY_SIZES and then again when it was called with CL_PROGRAM_BINARIES. This was slowing down some OpenCV tests which were building binary kernel caches.

Re: [Mesa-dev] [PATCH] i965/vec4: unit test for copy propagation and writemask

2014-06-15 Thread Eric Anholt
Chia-I Wu olva...@gmail.com writes: This unit test demonstrates a subtle bug fixed by 4ddf51db6af36736d5d42c1043eeea86e47459ce. Reviewed-by: Eric Anholt e...@anholt.net pgp_vjrlXGJiT.pgp Description: PGP signature ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH] glsl: Fix clang mismatched-tags warnings with glsl_type.

2014-06-15 Thread Matt Turner
On Sun, Jun 15, 2014 at 3:58 AM, Thomas Helland thomashellan...@gmail.com wrote: Ooops. My bad. Thanks for fixing this. LGTM Reading up on this warning it seems name mangling is pretty messed up with MSVC. I'll get a MSVC build system set up to make sure my future work extraneous includes

[Mesa-dev] [PATCH 01/13] glsl: Remove 'struct' from ir_variable declaration.

2014-06-15 Thread Matt Turner
--- src/glsl/opt_dead_builtin_varyings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/opt_dead_builtin_varyings.cpp b/src/glsl/opt_dead_builtin_varyings.cpp index 6612592..50c8aa7 100644 --- a/src/glsl/opt_dead_builtin_varyings.cpp +++

[Mesa-dev] [PATCH 03/13] egl: Remove unused variable dri_driver_path.

2014-06-15 Thread Matt Turner
--- src/egl/drivers/dri2/egl_dri2.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index eb6abfd..cc7531c 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -304,8 +304,6 @@ const

[Mesa-dev] [PATCH 02/13] swrast: Remove unused solve_plane_recip().

2014-06-15 Thread Matt Turner
Unused since commit 9e8a961d. --- src/mesa/swrast/s_aatriangle.c | 14 -- 1 file changed, 14 deletions(-) diff --git a/src/mesa/swrast/s_aatriangle.c b/src/mesa/swrast/s_aatriangle.c index d670d31..2192827 100644 --- a/src/mesa/swrast/s_aatriangle.c +++

[Mesa-dev] [PATCH 04/13] mesa: Mark default case unreachable to silence warning.

2014-06-15 Thread Matt Turner
Warned about 'coord' being undefined in the default case, which is unreachable. --- src/mesa/drivers/common/meta.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/common/meta.c b/src/mesa/drivers/common/meta.c index cab0dd8..dc9cce5 100644 --- a/src/mesa/drivers/common/meta.c

[Mesa-dev] [PATCH 05/13] mesa: Remove unused extra_EXT_texture_integer.

2014-06-15 Thread Matt Turner
Unused since commit b6475f94. --- src/mesa/main/get.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 9b56edb..74ef1c9 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -278,11 +278,6 @@ static const int extra_flush_current[] = {

[Mesa-dev] [PATCH 06/13] mesa: Remove unused functions from perfomance query code.

2014-06-15 Thread Matt Turner
Perhaps useful for debugging? Never used otherwise. Added by commit 8cf5bdad. --- src/mesa/main/performance_monitor.c | 13 - 1 file changed, 13 deletions(-) diff --git a/src/mesa/main/performance_monitor.c b/src/mesa/main/performance_monitor.c index 9d1a6b4..c26eda4 100644 ---

[Mesa-dev] [PATCH 10/13] i965/blorp: Mark branch unreachable to silence uninitialized var warning.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp index 064a5fb..17d9325 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp +++

[Mesa-dev] [PATCH 08/13] i965: Mark backend_instruction and bblock_t as structs.

2014-06-15 Thread Matt Turner
They have to be marked as structs for C code elsewhere. bblock_t is already defined as a struct, and all of backend_instruction's fields are public anyway. --- src/mesa/drivers/dri/i965/brw_fs.h | 2 +- src/mesa/drivers/dri/i965/brw_shader.h | 2 +- 2 files changed, 2 insertions(+), 2

[Mesa-dev] [PATCH 07/13] i965: Use standard SSE intrinsics instead of gcc built-ins.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/intel_tex_subimage.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c b/src/mesa/drivers/dri/i965/intel_tex_subimage.c index 5d79750..fe909e4 100644 ---

[Mesa-dev] [PATCH 11/13] i965/blorp: Remove unused 'brw' member.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_blorp_clear.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp b/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp index 17d9325..5efdf71 100644 --- a/src/mesa/drivers/dri/i965/brw_blorp_clear.cpp +++

[Mesa-dev] [PATCH 12/13] i965/disasm: Mark three_source_reg_encoding[] static.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_disasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i965/brw_disasm.c b/src/mesa/drivers/dri/i965/brw_disasm.c index 99052f8..c10a12f 100644 --- a/src/mesa/drivers/dri/i965/brw_disasm.c +++

[Mesa-dev] [PATCH 09/13] i965: Silence warning about unused brw in release builds.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_eu_emit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/i965/brw_eu_emit.c index c18b783..daf4eb1 100644 --- a/src/mesa/drivers/dri/i965/brw_eu_emit.c +++

[Mesa-dev] [PATCH 13/13] i965/vec4/gs: Silence warning about unused 'success' in release build.

2014-06-15 Thread Matt Turner
--- src/mesa/drivers/dri/i965/brw_vec4_gs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/drivers/dri/i965/brw_vec4_gs.c b/src/mesa/drivers/dri/i965/brw_vec4_gs.c index b48c420..4b1ba36 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_gs.c +++

[Mesa-dev] [PATCH v2 1/3] nvc0: implement multiple viewports/scissors, enable ARB_viewport_array

2014-06-15 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de --- src/gallium/drivers/nouveau/nvc0/nvc0_context.h| 7 +- src/gallium/drivers/nouveau/nvc0/nvc0_program.c| 2 +- src/gallium/drivers/nouveau/nvc0/nvc0_screen.c | 20 ++--

[Mesa-dev] [PATCH v2 2/3] docs: update GL3.txt, relnotes: mark GL_ARB_viewport_array as done for nvc0

2014-06-15 Thread Tobias Klausmann
Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de --- docs/GL3.txt| 2 +- docs/relnotes/10.3.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index f5f940c..a392b92 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@

[Mesa-dev] [PATCH v2 0/3] ARB_viewport_array for nvc0

2014-06-15 Thread Tobias Klausmann
This patch-series implements the ARB_viewport_array for nvc0 and does a little house-cleanig afterwords. V2: Add Release-Notes, mark this in GL3 as done for nvc0 Don't mark the scissors dirty when we don't need to do that Tobias Klausmann (3): nvc0: implement multiple viewports/scissors,

[Mesa-dev] [PATCH v2 3/3] nv50/ir: Remove NV50_SEMANTIC_VIEWPORTINDEX

2014-06-15 Thread Tobias Klausmann
Use TGSI_SEMANTIC_VIEWPORT_INDEX for the last consumer. Signed-off-by: Tobias Klausmann tobias.johannes.klausm...@mni.thm.de --- src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h| 1 - src/gallium/drivers/nouveau/codegen/nv50_ir_target_nv50.cpp | 2 +- 2 files changed, 1 insertion(+),

Re: [Mesa-dev] [PATCH 05/13] mesa: Remove unused extra_EXT_texture_integer.

2014-06-15 Thread Marek Olšák
Reviewed-by: Marek Olšák marek.ol...@amd.com Marek On Sun, Jun 15, 2014 at 7:17 PM, Matt Turner matts...@gmail.com wrote: Unused since commit b6475f94. --- src/mesa/main/get.c | 5 - 1 file changed, 5 deletions(-) diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index

Re: [Mesa-dev] [PATCH 07/13] i965: Use standard SSE intrinsics instead of gcc built-ins.

2014-06-15 Thread Frank Henigman
On Sun, Jun 15, 2014 at 1:18 PM, Matt Turner matts...@gmail.com wrote: --- src/mesa/drivers/dri/i965/intel_tex_subimage.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_tex_subimage.c

Re: [Mesa-dev] [PATCH v2 1/3] nvc0: implement multiple viewports/scissors, enable ARB_viewport_array

2014-06-15 Thread Ilia Mirkin
I've made a few small fixes to this -- you forget to set the scissors/viewports dirty to ~0 on context switch, and also marking the first scissor dirty after a 3d blit (which I was forgetting to do on nv50 as well... oops). I'll push this out shortly with my modifications. Thanks for the

Re: [Mesa-dev] [PATCH] i965/Gen7: Fix HiZ ops for MSAA depth

2014-06-15 Thread Chris Forbes
Ping. This has been broken for ages, and at least tesseract is carrying hacks to work around it (extra color buffer containing depth values, in their g-buffer). Getting rid of that wins us about 15%. -- Chris On Sat, Feb 8, 2014 at 3:54 PM, Chris Forbes chr...@ijw.co.nz wrote: Previously, we

[Mesa-dev] [Bug 80069] New: rendering problems: black areas in KDE desktop. [mesa 10.2.1 (not with 10.1.4)]

2014-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80069 Priority: medium Bug ID: 80069 Assignee: mesa-dev@lists.freedesktop.org Summary: rendering problems: black areas in KDE desktop. [mesa 10.2.1 (not with 10.1.4)] Severity:

[Mesa-dev] [Bug 80069] rendering problems: black areas in KDE desktop. [mesa 10.2.1 (not with 10.1.4)]

2014-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80069 CarlEitsger 4607vrfcr84spd21...@weg-werf-email.de changed: What|Removed |Added Hardware|Other |x86

[Mesa-dev] [Bug 80069] rendering problems: black areas in KDE desktop. [mesa 10.2.1 (not with 10.1.4)]

2014-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80069 --- Comment #1 from CarlEitsger 4607vrfcr84spd21...@weg-werf-email.de --- Created attachment 101125 -- https://bugs.freedesktop.org/attachment.cgi?id=101125action=edit screenshot: a program window with black areas -- You are receiving this

[Mesa-dev] [Bug 80069] rendering problems: black areas in KDE desktop. [mesa 10.2.1 (not with 10.1.4)]

2014-06-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=80069 --- Comment #2 from CarlEitsger 4607vrfcr84spd21...@weg-werf-email.de --- Created attachment 101127 -- https://bugs.freedesktop.org/attachment.cgi?id=101127action=edit screenshot: more black areas. Green is edited out for privacy reasons --

Re: [Mesa-dev] [PATCH 00/18] Multi-stream support for geometry shaders

2014-06-15 Thread Ilia Mirkin
On Wed, Jun 11, 2014 at 12:31 PM, Jordan Justen jljus...@gmail.com wrote: On Wed, Jun 11, 2014 at 2:49 AM, Iago Toral ito...@igalia.com wrote: Hi Chris, thanks for the quick review! On Wed, 2014-06-11 at 21:45 +1200, Chris Forbes wrote: I sent comments on patches 1, 3, 5, 9, 11, 16, 18 We

[Mesa-dev] [PATCH v3 1/3] Add support for swrast to the DRM EGL platform

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org Turn GBM into a swrast loader (providing putimage/getimage backed by a dumb KMS buffer). This allows to run KMS+DRM GL applications (such as weston or mutter-wayland) unmodified on cards that don't have any client side HW acceleration component but

[Mesa-dev] [PATCH v3 3/3] Add a new capabilities for drivers that can't share buffers

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org The kms-dri swrast driver cannot share buffers using the GEM, so it must tell the loader to disable extensions relying on that, without disabling the image DRI extension altogheter (which would prevent the loader from working at all). This requires

[Mesa-dev] [PATCH v3 2/3] Add a dumb drm/kms winsys for software rendering

2014-06-15 Thread Giovanni Campagna
From: Giovanni Campagna gcampa...@src.gnome.org Add a new winsys and target that can be used with a dri2 state tracker and loader instead of drisw. This allows to use gbm as a dri2/image loader and avoid the extra copy from the backbuffer to the shadow frontbuffer. The new driver is called

[Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

2014-06-15 Thread Giovanni Campagna
Hello all, This is the third attempt at swrast/llvmpipe support for DRM drivers that don't have userspace support (qxl, cirrus, simpledrm, etc.) I hope I addressed all of Emil's comments. Giovanni ___ mesa-dev mailing list

Re: [Mesa-dev] [PATCH v2] glsl: type check between switch init-expression and case

2014-06-15 Thread Matt Turner
Looks good. Thanks! Reviewed-by: Matt Turner matts...@gmail.com ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v3 0/3] Software rendering in EGL-DRM

2014-06-15 Thread Pekka Paalanen
On Sun, 15 Jun 2014 13:49:48 +0200 Giovanni Campagna scampa.giova...@gmail.com wrote: Hello all, This is the third attempt at swrast/llvmpipe support for DRM drivers that don't have userspace support (qxl, cirrus, simpledrm, etc.) I hope I addressed all of Emil's comments. Hi, this

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-06-15 Thread Dave Airlie
diff --git a/src/mesa/drivers/dri/common/xmlconfig.h b/src/mesa/drivers/dri/common/xmlconfig.h index 786caae..a4daa6b 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.h +++ b/src/mesa/drivers/dri/common/xmlconfig.h @@ -30,6 +30,8 @@ #ifndef __XMLCONFIG_H #define __XMLCONFIG_H

Re: [Mesa-dev] [PATCH 06/11] loader: Use drirc device_id parameter in complement to DRI_PRIME

2014-06-15 Thread Dave Airlie
On 16 June 2014 15:55, Dave Airlie airl...@gmail.com wrote: diff --git a/src/mesa/drivers/dri/common/xmlconfig.h b/src/mesa/drivers/dri/common/xmlconfig.h index 786caae..a4daa6b 100644 --- a/src/mesa/drivers/dri/common/xmlconfig.h +++ b/src/mesa/drivers/dri/common/xmlconfig.h @@ -30,6 +30,8