Re: [Mesa-dev] [PATCH v2 1/3] nv50/ir: support different unordered_set implementations

2015-06-20 Thread Chih-Wei Huang
2015-06-20 9:04 GMT+08:00 Chih-Wei Huang : > 2015-06-20 3:12 GMT+08:00 Emil Velikov : >> Hi Chih-Wei, >> On 19 June 2015 at 19:00, Chih-Wei Huang wrote: > >>> diff --git a/Android.common.mk b/Android.common.mk >>> index d662d60..35dcda2 100644 >>> --- a/Android.common.mk >>> +++ b/Android.common.m

[Mesa-dev] [Bug 77288] [swrast] piglit glean glsl1 regression

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77288 Vinson Lee changed: What|Removed |Added Version|git |10.2 --- Comment #6 from Vinson Lee --- me

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

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 86980, which changed state. Bug 86980 Summary: [swrast] piglit fp-rfl regression https://bugs.freedesktop.org/show_bug.cgi?id=86980 What|Removed |Added --

[Mesa-dev] [Bug 86980] [swrast] piglit fp-rfl regression

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=86980 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED Version|git

[Mesa-dev] [Bug 78318] [swrast] piglit glsl-kwin-blur-1 regression

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78318 Vinson Lee changed: What|Removed |Added Version|git |10.2 --- Comment #5 from Vinson Lee --- me

Re: [Mesa-dev] [PATCH 19/19] glsl: Allow arrays of arrays in GLSL ES 3.10 and GLSL 4.30

2015-06-20 Thread Ilia Mirkin
On Sat, Jun 20, 2015 at 11:38 PM, Timothy Arceri wrote: > On Sat, 2015-06-20 at 19:35 -0400, Ilia Mirkin wrote: >> On Sat, Jun 20, 2015 at 8:33 AM, Timothy Arceri >> wrote: >> > --- >> > src/glsl/ast_to_hir.cpp | 13 - >> > src/glsl/glsl_parser.yy | 22 ++

Re: [Mesa-dev] [PATCH 19/19] glsl: Allow arrays of arrays in GLSL ES 3.10 and GLSL 4.30

2015-06-20 Thread Timothy Arceri
On Sat, 2015-06-20 at 19:35 -0400, Ilia Mirkin wrote: > On Sat, Jun 20, 2015 at 8:33 AM, Timothy Arceri wrote: > > --- > > src/glsl/ast_to_hir.cpp | 13 - > > src/glsl/glsl_parser.yy | 22 ++ > > src/glsl/glsl_parser_extras.h | 5 + > > 3 files cha

Re: [Mesa-dev] [PATCH 19/19] glsl: Allow arrays of arrays in GLSL ES 3.10 and GLSL 4.30

2015-06-20 Thread Ilia Mirkin
On Sat, Jun 20, 2015 at 8:33 AM, Timothy Arceri wrote: > --- > src/glsl/ast_to_hir.cpp | 13 - > src/glsl/glsl_parser.yy | 22 ++ > src/glsl/glsl_parser_extras.h | 5 + > 3 files changed, 27 insertions(+), 13 deletions(-) > > diff --git a/src/glsl/

[Mesa-dev] [Bug 91038] X segfault when watching youtube

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91038 Chris Wilson changed: What|Removed |Added Component|Other |Driver/intel Assignee|mesa-dev@

[Mesa-dev] [Bug 91039] [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91039 --- Comment #1 from Itzamna --- (In reply to Itzamna from comment #0) > Solution: > The crashes no longer occur when Mesa's stack is realigned to 4 bytes. > Therefore, always pass -mstackrealign to CFLAGS if -mfpmath=sse is enabled; > this shoul

[Mesa-dev] [Bug 91039] [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91039 Itzamna changed: What|Removed |Added CC||xamaniqi...@gmail.com -- You are receiving th

[Mesa-dev] [Bug 91039] [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91039 Bug ID: 91039 Summary: [d3d9] D3D9 state tracker crashes due to stack misalignment if Mesa is compiled with -mfpmath=sse Product: Mesa Version: 10.6 Hardware: x86-64 (AMD64

[Mesa-dev] [Bug 91038] X segfault when watching youtube

2015-06-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91038 Bug ID: 91038 Summary: X segfault when watching youtube Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal

[Mesa-dev] Mesa 10.5.8

2015-06-20 Thread Emil Velikov
Mesa 10.5.8 is now available. This release contains nouveau and i965 driver fixes, along with a couple of patches for the libEGL library and a build fix for toolchains that don't support -Wl,--allow-multiple-definition. Ben Widawsky (1): i965: Disable compaction for EOT send messages Boyan

Re: [Mesa-dev] abundance of branches in mesa.git

2015-06-20 Thread Christian König
Hi Ilia, oh, yes please. Especially since some people tend to completely mirror the mesa master repository including all those old branches. This sometimes creates quite a mess. Regards, Christian. On 20.06.2015 02:10, Ilia Mirkin wrote: Hello, There are a *ton* of branches in the upstream

Re: [Mesa-dev] [PATCH 16/19] glsl: add AoA support to resource name parsing

2015-06-20 Thread Timothy Arceri
Grrr. Not sure how I missed it but this patch breaks transform feedback. It doesn't seem like a good idea to share this code between the two codepaths any more, seems like Paul had plains to use it in more places when it was added but it never happened. I'll send a version 2 of this patch tomorrow

Re: [Mesa-dev] [PATCH 18/19] glsl: allow AoA to be sized by initializer or constructor

2015-06-20 Thread Timothy Arceri
On Sat, 2015-06-20 at 22:33 +1000, Timothy Arceri wrote: > From Section 4.1.9 of the GLSL ES 3.10 spec: > > "Arrays are sized either at compile-time or at run-time. > To size an array at compile-time, either the size > must be specified within the brackets as above or > must be inferred from the t

[Mesa-dev] [PATCH 19/19] glsl: Allow arrays of arrays in GLSL ES 3.10 and GLSL 4.30

2015-06-20 Thread Timothy Arceri
--- src/glsl/ast_to_hir.cpp | 13 - src/glsl/glsl_parser.yy | 22 ++ src/glsl/glsl_parser_extras.h | 5 + 3 files changed, 27 insertions(+), 13 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 6d2dc2e..81b2765 10064

[Mesa-dev] [PATCH 16/19] glsl: add AoA support to resource name parsing

2015-06-20 Thread Timothy Arceri
Updated to parse arrays of arrays and return the correct offset. We are now also validating the array subscript rather than potentially returning an offset that will be out of bounds. --- src/glsl/link_uniforms.cpp | 2 +- src/glsl/link_varyings.cpp | 7 +-- src/glsl/link_varyings.h

[Mesa-dev] [PATCH 08/19] glsl: fix binding validation for interface blocks

2015-06-20 Thread Timothy Arceri
V2: fix minor formating issue --- src/glsl/ast_to_hir.cpp | 22 ++ 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 0d3cbac..f5e3570 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -2041

[Mesa-dev] [PATCH 15/19] mesa: store full array type in gl_uniform_storage

2015-06-20 Thread Timothy Arceri
Previously only the type of a single array element was stored. _mesa_sampler_uniforms_pipeline_are_valid() was expecting to get the array type so this fixes a bug there. However the main reason for doing this is to use the array type for implementing arrays of arrays in glGetUniformLocation() ---

[Mesa-dev] [PATCH 14/19] glsl: add support for sampler AoA with const index

2015-06-20 Thread Timothy Arceri
--- src/mesa/program/sampler.cpp | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/mesa/program/sampler.cpp b/src/mesa/program/sampler.cpp index 34eee6d..0017328 100644 --- a/src/mesa/program/sampler.cpp +++ b/src/mesa/program/sampler.cpp @@ -87,7 +87,17 @@ publi

[Mesa-dev] [PATCH 18/19] glsl: allow AoA to be sized by initializer or constructor

2015-06-20 Thread Timothy Arceri
From Section 4.1.9 of the GLSL ES 3.10 spec: "Arrays are sized either at compile-time or at run-time. To size an array at compile-time, either the size must be specified within the brackets as above or must be inferred from the type of the initializer." --- src/glsl/ast.h | 21 +++--

[Mesa-dev] [PATCH 17/19] mesa: add AoA support to active sampler conflict validation

2015-06-20 Thread Timothy Arceri
--- src/mesa/main/uniform_query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp index f7a5c87..3faf770 100644 --- a/src/mesa/main/uniform_query.cpp +++ b/src/mesa/main/uniform_query.cpp @@ -1113,7 +1113,7 @@

[Mesa-dev] [PATCH 07/19] glsl: allow precision qualifiers for AoA

2015-06-20 Thread Timothy Arceri
--- src/glsl/ast_to_hir.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index f1c3e4a..0d3cbac 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -3881,9 +3881,7 @@ ast_declarator_list::hir(exec_list *i

[Mesa-dev] [PATCH 11/19] nir: support uniform sampler AoA lookup

2015-06-20 Thread Timothy Arceri
To do this we make sure to only append the array subscript to structs. --- src/glsl/nir/nir_lower_samplers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_lower_samplers.cpp b/src/glsl/nir/nir_lower_samplers.cpp index 7a0b0a0..c450198 100644 --- a/src/gl

[Mesa-dev] [PATCH 10/19] glsl: validate binding qualifier for AoA

2015-06-20 Thread Timothy Arceri
--- src/glsl/ast_to_hir.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index f5e3570..de13060 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@ -2056,7 +2056,7 @@ validate_binding_qualifier(struct _mesa_

[Mesa-dev] [PATCH 13/19] glsl: support uniform sampler AoA lookup

2015-06-20 Thread Timothy Arceri
To do this we make sure to only append the array subscript to structs. --- src/mesa/program/sampler.cpp | 9 +++-- 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/src/mesa/program/sampler.cpp b/src/mesa/program/sampler.cpp index ea3024d..34eee6d 100644 --- a/src/mesa/program/samp

[Mesa-dev] ARB_arrays_of_arrays GLSL ES

2015-06-20 Thread Timothy Arceri
Hi all, The restrictions in ES make the extension easier to implement so I thought I'd try get this stuff reviewed an committed before finishing up the full extension. The bits that I'm still working on for the desktop version are AoA inputs outputs, and interface blocks. The only thing I know is

[Mesa-dev] [PATCH 09/19] glsl: add helper for calculating size of AoA

2015-06-20 Thread Timothy Arceri
--- src/glsl/glsl_types.h | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index f54a939..c48977c 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -537,6 +537,25 @@ struct glsl_type { } /** +* Retu

[Mesa-dev] [PATCH 05/19] glsl: update assert to support arrays of arrays

2015-06-20 Thread Timothy Arceri
Reviewed-by: Ilia Mirkin --- src/glsl/glsl_types.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index f675e90..3547561 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_types.cpp @@ -1086,7 +1086,8 @@ glsl_type::s

[Mesa-dev] [PATCH 12/19] nir: add support for sampler AoA with const index

2015-06-20 Thread Timothy Arceri
--- src/glsl/nir/nir_lower_samplers.cpp | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/glsl/nir/nir_lower_samplers.cpp b/src/glsl/nir/nir_lower_samplers.cpp index c450198..a79b093 100644 --- a/src/glsl/nir/nir_lower_samplers.cpp +++ b/src/glsl/nir/ni

[Mesa-dev] [PATCH 06/19] glsl: update types for unsized array members

2015-06-20 Thread Timothy Arceri
Assigns a new array type based on the max access of unsized array members. Reviewed-by: Ilia Mirkin --- src/glsl/linker.cpp | 18 -- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/glsl/linker.cpp b/src/glsl/linker.cpp index 9978380..3494464 100644 --- a/src/gl

[Mesa-dev] [PATCH 04/19] glsl: Add support for linking uniform arrays of arrays

2015-06-20 Thread Timothy Arceri
--- src/glsl/link_uniform_initializers.cpp | 51 -- src/glsl/link_uniforms.cpp | 28 +++ 2 files changed, 52 insertions(+), 27 deletions(-) diff --git a/src/glsl/link_uniform_initializers.cpp b/src/glsl/link_uniform_initializers.cpp ind

[Mesa-dev] [PATCH 02/19] glsl: avoid hitting assert for arrays of arrays

2015-06-20 Thread Timothy Arceri
Also add TODO comment about adding proper support Signed-off-by: Timothy Arceri --- src/glsl/ir_set_program_inouts.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/glsl/ir_set_program_inouts.cpp b/src/glsl/ir_set_program_inouts.cpp index b968a1e..01d84fe 100644 --- a/src/glsl/i

[Mesa-dev] [PATCH 01/19] glsl: calculate component size for arrays of arrays when varying packing disabled

2015-06-20 Thread Timothy Arceri
Signed-off-by: Timothy Arceri Reviewed-by: Ilia Mirkin --- src/glsl/link_varyings.cpp | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp index 7b2d4bd..6cb55b3 100644 --- a/src/glsl/link_varyings.cpp +++ b/

[Mesa-dev] [PATCH 03/19] glsl: dont allow gl_PerVertex to be redeclared as an array of arrays

2015-06-20 Thread Timothy Arceri
V2: move single dimensionial array detection into a helper Signed-off-by: Timothy Arceri --- src/glsl/ast.h | 8 src/glsl/ast_to_hir.cpp | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/glsl/ast.h b/src/glsl/ast.h index ef74e51..3f67907 100644 --- a/s

Re: [Mesa-dev] [Nouveau] [PATCH v3 0/2] nouveau: support for custom VRAM domains

2015-06-20 Thread Martin Peres
On 19/06/2015 19:27, Alexandre Courbot wrote: On Fri, Jun 19, 2015 at 9:38 PM, Ben Skeggs wrote: On 19 June 2015 at 21:51, Martin Peres wrote: On 19/06/2015 13:02, Alexandre Courbot wrote: New revision of this patchset that prevents VRAM objects from being allocated on VRAM-less systems like

Re: [Mesa-dev] abundance of branches in mesa.git

2015-06-20 Thread Eirik Byrkjeflot Anonsen
Ilia Mirkin writes: > Hello, > > There are a *ton* of branches in the upstream mesa git. Here is a full list: > [...] > is there > any reason to keep these around with the exception of: > > master > $version (i.e. 9.0, 10.0, mesa_7_7_branch, etc) Instead of outright deleting old branches, it wou