Re: [Mesa-dev] [PATCH] nir: Add variants of some of the comparison simplifications.

2015-01-28 Thread Eric Anholt
Jason Ekstrand writes: > I've got a patch I cooked up today that generalizes this a bit. I haven't > sent it yet because it lacks shader-db statistics. That said, I'm fine > with merging this in the mean time. Not sure what generalization you're working on, but something that let me have "any

Re: [Mesa-dev] [PATCH 3/3] nir: Add an ALU op builder kind of like ir_builder.h

2015-01-28 Thread Eric Anholt
Connor Abbott writes: > Hi Eric, > > A general suggestion: > > I think that we should rename these functions to "nir_op_create()" so > that we can make a more specific "nir_op()" function that takes and > returns a nir_ssa_def *, so that we can do stuff like: > > nir_builder *b = ... > > nir_ssa_

Re: [Mesa-dev] [PATCH] mesa: Add new fast mtx_t mutex type for basic use cases

2015-01-28 Thread Kristian Høgsberg
On Tue, Jan 27, 2015 at 11:24 PM, Jonathan Gray wrote: > Including under __GNUC__ is going to break the build of > Mesa on everything compiled with clang/gcc that isn't Linux. Good point, I'll add a configure check for futex. thanks, Kristian ___ mesa

Re: [Mesa-dev] [PATCH 3/3] nir: Add an ALU op builder kind of like ir_builder.h

2015-01-28 Thread Connor Abbott
Hi Eric, A general suggestion: I think that we should rename these functions to "nir_op_create()" so that we can make a more specific "nir_op()" function that takes and returns a nir_ssa_def *, so that we can do stuff like: nir_builder *b = ... nir_ssa_def *new_index = nir_iadd(b, nir_imul(b, o

Re: [Mesa-dev] [PATCH 1/3] nir: Add a couple of helpers for glsl types.

2015-01-28 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Wed, Jan 28, 2015 at 5:50 PM, Matt Turner wrote: > On Wed, Jan 28, 2015 at 5:08 PM, Eric Anholt wrote: > > This will be used by tgsi_to_nir, which needs to get vec4 types for > > declaring shader input/output variables. > > --- > > src/glsl/nir/nir_types.cpp | 1

Re: [Mesa-dev] [PATCH 2/3] nir: Fix a bit of broken indentation.

2015-01-28 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Wed, Jan 28, 2015 at 5:08 PM, Eric Anholt wrote: > --- > src/glsl/nir/nir.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c > index 25cdac0..10e6ed3 100644 > --- a/src/glsl/nir/nir.c > +++ b/src/gls

Re: [Mesa-dev] [PATCH] nir: Don't try to to-SSA ALU instructions that are already SSA.

2015-01-28 Thread Jason Ekstrand
I'm not super-familiar with Connor's to-SSA pass, but I think that does what you want. Reviewed-by: Jason Ekstrand On Wed, Jan 28, 2015 at 5:09 PM, Eric Anholt wrote: > --- > The i965 driver apparently only has things all in ssa or all in non-ssa, > while > for TGSI I ended up doing some thing

Re: [Mesa-dev] Mesa 10.5.0 release plan

2015-01-28 Thread Michel Dänzer
On 29.01.2015 00:37, Emil Velikov wrote: > > February 20th 2015 - Release candidate 3 > February 20th 2015 - Release candidate 4 I assume you meant February 27th for rc4. :) -- Earthling Michel Dänzer | http://www.amd.com Libre software enthusiast |

Re: [Mesa-dev] [PATCH] nir: Add variants of some of the comparison simplifications.

2015-01-28 Thread Jason Ekstrand
I've got a patch I cooked up today that generalizes this a bit. I haven't sent it yet because it lacks shader-db statistics. That said, I'm fine with merging this in the mean time. --Jason On Wed, Jan 28, 2015 at 5:48 PM, Matt Turner wrote: > Reviewed-by: Matt Turner > ___

Re: [Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2015-01-28 Thread Dave Airlie
>> >> On 29 August 2014 08:46, Gwenole Beauchesne wrote: >>> >>> Could you please describe in there the ownership model? I think the >>> implementation should own the fd, so the clients should dup() it if >>> ever necessary. >> >> >> So the fd can be destroyed at any time, particularly with thread

Re: [Mesa-dev] [PATCH] [RFC] mesa: propose simple EGL_MESA_image_dma_buf_export

2015-01-28 Thread Dave Airlie
(oops pushed send too quick) > So there is resistance to a query API upstream in the KHR area, at > least according > to https://www.khronos.org/registry/egl/extensions/MESA/EGL_MESA_drm_image.txt > which I based this on. > > So I'm wondering how would this API look if we are going to pass back > m

Re: [Mesa-dev] [PATCH 3/3] nir: Add an ALU op builder kind of like ir_builder.h

2015-01-28 Thread Emil Velikov
On 29/01/15 01:08, Eric Anholt wrote: > v2: Rebase on the nir_opcodes.h python code generation support. > v3: Use SSA values, and set an appropriate writemask on dot products. > --- > src/glsl/Makefile.am | 5 ++ > src/glsl/nir/.gitignore | 1 + > src/glsl/nir/nir_

Re: [Mesa-dev] [PATCH 1/3] nir: Add a couple of helpers for glsl types.

2015-01-28 Thread Matt Turner
On Wed, Jan 28, 2015 at 5:08 PM, Eric Anholt wrote: > This will be used by tgsi_to_nir, which needs to get vec4 types for > declaring shader input/output variables. > --- > src/glsl/nir/nir_types.cpp | 12 > src/glsl/nir/nir_types.h | 3 +++ > 2 files changed, 15 insertions(+) > >

Re: [Mesa-dev] [PATCH] nir: Add variants of some of the comparison simplifications.

2015-01-28 Thread Matt Turner
Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] nir: Add variants of some of the comparison simplifications.

2015-01-28 Thread Eric Anholt
We end up with these from TGSI-to-NIR because the pass generating the comparisons doesn't know if the arg is actually a bool input or not. total instructions in shared programs: 41801 -> 41508 (-0.70%) instructions in affected programs: 4253 -> 3960 (-6.89%) --- src/glsl/nir/nir_opt_algebraic

[Mesa-dev] [PATCH] nir: Don't try to to-SSA ALU instructions that are already SSA.

2015-01-28 Thread Eric Anholt
--- The i965 driver apparently only has things all in ssa or all in non-ssa, while for TGSI I ended up doing some things directly in SSA before the to-SSA pass. src/glsl/nir/nir_to_ssa.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/glsl/nir/nir_to_ssa.c b/src/glsl/nir/nir_to_ssa.c in

[Mesa-dev] [PATCH 3/3] nir: Add an ALU op builder kind of like ir_builder.h

2015-01-28 Thread Eric Anholt
v2: Rebase on the nir_opcodes.h python code generation support. v3: Use SSA values, and set an appropriate writemask on dot products. --- src/glsl/Makefile.am | 5 ++ src/glsl/nir/.gitignore | 1 + src/glsl/nir/nir_builder.h| 95

[Mesa-dev] [PATCH 2/3] nir: Fix a bit of broken indentation.

2015-01-28 Thread Eric Anholt
--- src/glsl/nir/nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.c b/src/glsl/nir/nir.c index 25cdac0..10e6ed3 100644 --- a/src/glsl/nir/nir.c +++ b/src/glsl/nir/nir.c @@ -1295,7 +1295,7 @@ nir_instr_insert_before_cf(nir_cf_node *node, nir_instr *before)

[Mesa-dev] [PATCH 1/3] nir: Add a couple of helpers for glsl types.

2015-01-28 Thread Eric Anholt
This will be used by tgsi_to_nir, which needs to get vec4 types for declaring shader input/output variables. --- src/glsl/nir/nir_types.cpp | 12 src/glsl/nir/nir_types.h | 3 +++ 2 files changed, 15 insertions(+) diff --git a/src/glsl/nir/nir_types.cpp b/src/glsl/nir/nir_types.cp

Re: [Mesa-dev] [PATCH v4 2/3] i965/fs: Use NIR's scalarizing abilities and stop handling vectors

2015-01-28 Thread Eric Anholt
Matt Turner writes: > On Tue, Jan 27, 2015 at 5:31 PM, Jason Ekstrand wrote: >> + emit(MUL(acc, op[0], op[1])); >> + emit(MACH(reg_null_d, op[0], op[1])); >> + emit(MOV(result, fs_reg(acc))); >>break; >> } >> >> @@ -773,72 +767,38 @@ fs_visitor::nir_emit_alu(nir_alu_in

Re: [Mesa-dev] [PATCH v4 1/3] nir: Add a pass to lower vector phi nodes to scalar phi nodes

2015-01-28 Thread Jason Ekstrand
On Wed, Jan 28, 2015 at 4:28 PM, Ian Romanick wrote: > On 01/27/2015 05:31 PM, Jason Ekstrand wrote: > > v2 Jason Ekstrand : > > - Add better comments > > - Use nir_ssa_dest_init and nir_src_for_ssa more places > > - Fix some void * casts > > > > v3 Jason Ekstrand : > > - Rework the way we de

Re: [Mesa-dev] [PATCH v4 1/3] nir: Add a pass to lower vector phi nodes to scalar phi nodes

2015-01-28 Thread Ian Romanick
On 01/27/2015 05:31 PM, Jason Ekstrand wrote: > v2 Jason Ekstrand : > - Add better comments > - Use nir_ssa_dest_init and nir_src_for_ssa more places > - Fix some void * casts > > v3 Jason Ekstrand : > - Rework the way we determine whether or not to sccalarize a phi node to >make the recur

Re: [Mesa-dev] [PATCH v4 2/3] i965/fs: Use NIR's scalarizing abilities and stop handling vectors

2015-01-28 Thread Jason Ekstrand
On Wed, Jan 28, 2015 at 4:02 PM, Matt Turner wrote: > On Tue, Jan 27, 2015 at 5:31 PM, Jason Ekstrand > wrote: > > diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp > b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp > > index de0d780..217fe09 100644 > > @@ -689,9 +689,9 @@ fs_visitor::nir_emit_alu

Re: [Mesa-dev] [PATCH v4 2/3] i965/fs: Use NIR's scalarizing abilities and stop handling vectors

2015-01-28 Thread Matt Turner
On Tue, Jan 27, 2015 at 5:31 PM, Jason Ekstrand wrote: > diff --git a/src/mesa/drivers/dri/i965/brw_fs_nir.cpp > b/src/mesa/drivers/dri/i965/brw_fs_nir.cpp > index de0d780..217fe09 100644 > @@ -689,9 +689,9 @@ fs_visitor::nir_emit_alu(nir_alu_instr *instr) > >struct brw_reg acc = retype(b

Re: [Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Ian Romanick
On 01/28/2015 02:04 PM, Matt Turner wrote: > On Wed, Jan 28, 2015 at 1:53 PM, Ian Romanick wrote: >> On 01/28/2015 11:51 AM, Matt Turner wrote: >>> What I'm asking is whether we suspect that they specifically want >>> half-up behavior (speculation, so not likely insightful), or if >>> there's a wa

Re: [Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Matt Turner
On Wed, Jan 28, 2015 at 1:53 PM, Ian Romanick wrote: > On 01/28/2015 11:51 AM, Matt Turner wrote: >> What I'm asking is whether we suspect that they specifically want >> half-up behavior (speculation, so not likely insightful), or if >> there's a way we can emulate round-half-up behavior using rou

Re: [Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Ian Romanick
On 01/28/2015 11:51 AM, Matt Turner wrote: > On Wed, Jan 28, 2015 at 11:20 AM, Ian Romanick wrote: >> On 01/28/2015 10:31 AM, Matt Turner wrote: >>> Note: this will round differently for x.5 where x is even. >>> >>> total instructions in shared programs: 5953897 -> 5948654 (-0.09%) >>> instruction

Re: [Mesa-dev] [PATCH] i915: For the love all that is holy, stop saying "IGD"

2015-01-28 Thread Matt Turner
On Wed, Jan 28, 2015 at 1:30 PM, Adam Jackson wrote: > a001 and a011 are pineview chips. Say so. > > Signed-off-by: Adam Jackson Sorry you have to work with those. Reviewed-by: Matt Turner ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org htt

[Mesa-dev] [PATCH] i915: For the love all that is holy, stop saying "IGD"

2015-01-28 Thread Adam Jackson
a001 and a011 are pineview chips. Say so. Signed-off-by: Adam Jackson --- include/pci_ids/i915_pci_ids.h| 4 ++-- src/mesa/drivers/dri/i915/intel_chipset.h | 14 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/include/pci_ids/i915_pci_ids.h b/include/p

Re: [Mesa-dev] [PATCH 1/3] Revert "nir/opcodes: Use fpclassify() instead of isnormal() for ldexp"

2015-01-28 Thread Matt Turner
On Wed, Jan 28, 2015 at 12:46 PM, Jason Ekstrand wrote: > This reverts commit d7d340fb2f68c46bd5a0008ecf53c6693e29c916. > > We have an isnormal() implementation available, the only problem was that > we had the wrong return type (fixed in a later patch). I'd put patch 3 first, so that you don't r

Re: [Mesa-dev] [PATCH 3/3] nir/opcodes: Use a return type of tfloat for ldexp

2015-01-28 Thread Connor Abbott
The rest of the series seems reasonable although I'm not an expert, but this one is definitely Reviewed-by: Connor Abbott On Wed, Jan 28, 2015 at 3:46 PM, Jason Ekstrand wrote: > --- > src/glsl/nir/nir_opcodes.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/glsl

[Mesa-dev] [Bug 88852] macros.h(181) : error C2143: syntax error : missing '{' before 'enum [tag]'

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88852 --- Comment #1 from Jason Ekstrand --- I just sent 3 patches to the list to fix this. Could you please try them. They're also on my wip/fix-ldexp branch. -- You are receiving this mail because: You are the QA Contact for the bug. You are the

[Mesa-dev] [PATCH 2/3] Revert "util: Move the alternate fpclassify implementation to util"

2015-01-28 Thread Jason Ekstrand
This reverts commits d6eb572905e39c36168b8f5da240af961f9dde0a and 58e8468d113c7d3d4a59ea4a8d70fd45b78e85e6. This is no longer necessary as we aren't using it in NIR anymore. Also, it broke the build on some strange systems so let's put it back in querymatrix where it came from. --- src/mesa/main

[Mesa-dev] [PATCH 1/3] Revert "nir/opcodes: Use fpclassify() instead of isnormal() for ldexp"

2015-01-28 Thread Jason Ekstrand
This reverts commit d7d340fb2f68c46bd5a0008ecf53c6693e29c916. We have an isnormal() implementation available, the only problem was that we had the wrong return type (fixed in a later patch). --- src/glsl/nir/nir_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gl

[Mesa-dev] [PATCH 3/3] nir/opcodes: Use a return type of tfloat for ldexp

2015-01-28 Thread Jason Ekstrand
--- src/glsl/nir/nir_opcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_opcodes.py b/src/glsl/nir/nir_opcodes.py index f54a017..77f3bb8 100644 --- a/src/glsl/nir/nir_opcodes.py +++ b/src/glsl/nir/nir_opcodes.py @@ -477,7 +477,7 @@ else dst = ((1 <<

[Mesa-dev] [Bug 88852] macros.h(181) : error C2143: syntax error : missing '{' before 'enum [tag]'

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88852 Bug ID: 88852 Summary: macros.h(181) : error C2143: syntax error : missing '{' before 'enum [tag]' Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: W

[Mesa-dev] [Bug 88806] nir/nir_constant_expressions.c:2754:15: error: controlling expression type 'unsigned int' not compatible with any generic association type

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88806 Vinson Lee changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

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

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 88806, which changed state. Bug 88806 Summary: nir/nir_constant_expressions.c:2754:15: error: controlling expression type 'unsigned int' not compatible with any generic association type https://bugs.freedesktop.org/show_b

Re: [Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Matt Turner
On Wed, Jan 28, 2015 at 11:20 AM, Ian Romanick wrote: > On 01/28/2015 10:31 AM, Matt Turner wrote: >> Note: this will round differently for x.5 where x is even. >> >> total instructions in shared programs: 5953897 -> 5948654 (-0.09%) >> instructions in affected programs: 88619 -> 83376 (-5.92%

[Mesa-dev] [Bug 88851] clover build failure - error: expected identifier before numeric constant

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88851 Jason Ekstrand changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

Re: [Mesa-dev] [PATCH] util: Predicate the fpclassify fallback on !defined(__cplusplus)

2015-01-28 Thread EdB
On Wednesday 28 January 2015 11:20:10 Tom Stellard wrote: > On Wed, Jan 28, 2015 at 10:44:57AM -0800, Jason Ekstrand wrote: > > The problem is that the fallbacks we have at the moment don't work in C++. > > While we could theoretically fix the fallbacks it would also raise the > > issue of correctl

Re: [Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Ian Romanick
On 01/28/2015 10:31 AM, Matt Turner wrote: > Note: this will round differently for x.5 where x is even. > > total instructions in shared programs: 5953897 -> 5948654 (-0.09%) > instructions in affected programs: 88619 -> 83376 (-5.92%) > helped:696 > --- > If we

Re: [Mesa-dev] [PATCH] util: Predicate the fpclassify fallback on !defined(__cplusplus)

2015-01-28 Thread Tom Stellard
On Wed, Jan 28, 2015 at 10:44:57AM -0800, Jason Ekstrand wrote: > The problem is that the fallbacks we have at the moment don't work in C++. > While we could theoretically fix the fallbacks it would also raise the > issue of correctly detecting the fpclassify function. So, for now, we'll > just di

[Mesa-dev] [Bug 88851] clover build failure - error: expected identifier before numeric constant

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88851 --- Comment #2 from Fabio Pedretti --- I cannot test (posting from a phone) until some days. But if you commit it I can check if it passes the next automatically scheduled build. -- You are receiving this mail because: You are the QA Contact fo

[Mesa-dev] [Bug 88851] clover build failure - error: expected identifier before numeric constant

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88851 Jason Ekstrand changed: What|Removed |Added Status|NEW |NEEDINFO Assignee|mesa-dev@li

[Mesa-dev] [Bug 88851] clover build failure - error: expected identifier before numeric constant

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88851 Bug ID: 88851 Summary: clover build failure - error: expected identifier before numeric constant Product: Mesa Version: git Hardware: All OS: Linux (All)

[Mesa-dev] [PATCH] util: Predicate the fpclassify fallback on !defined(__cplusplus)

2015-01-28 Thread Jason Ekstrand
The problem is that the fallbacks we have at the moment don't work in C++. While we could theoretically fix the fallbacks it would also raise the issue of correctly detecting the fpclassify function. So, for now, we'll just disable it until we actually have a C++ user. Reported-by: Tom Stellard

[Mesa-dev] [Bug 88850] Wrong samplerbuffer fails silently

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88850 Bug ID: 88850 Summary: Wrong samplerbuffer fails silently Product: Mesa Version: 10.4 Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: norma

[Mesa-dev] [RFC] glsl: Recognize pattern for roundEven().

2015-01-28 Thread Matt Turner
Note: this will round differently for x.5 where x is even. total instructions in shared programs: 5953897 -> 5948654 (-0.09%) instructions in affected programs: 88619 -> 83376 (-5.92%) helped:696 --- If we implemented round() differently from roundEven(), we sho

[Mesa-dev] [Bug 87076] Dead Island needs allow_glsl_extension_directive_midshader

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=87076 Sven Arvidsson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 77449] Tracker bug for all bugs related to Steam titles

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77449 Bug 77449 depends on bug 87076, which changed state. Bug 87076 Summary: Dead Island needs allow_glsl_extension_directive_midshader https://bugs.freedesktop.org/show_bug.cgi?id=87076 What|Removed |Added -

Re: [Mesa-dev] [PATCH 0/7] i965 L3 caching and pull constant improvements.

2015-01-28 Thread Kenneth Graunke
On Wednesday, January 28, 2015 01:14:08 PM Syrja, Harri wrote: > Hi Kenneth, > > Constant cache could and should allocate to separate region in $L3. The main > point of having separate constant region is to avoid texture data trashing > due to pulled constants load. In optimal solution constant

[Mesa-dev] Mesa 10.5.0 release plan

2015-01-28 Thread Emil Velikov
Hi all, Here is my preliminary plan for the mesa 10.5.0 release February 6th 2015 - Feature freeze/Release candidate 1 February 13st 2015 - Release candidate 2 February 20th 2015 - Release candidate 3 February 20th 2015 - Release candidate 4 March 6th 2015 - Release candidate 5/Mesa 10.5.0 This

Re: [Mesa-dev] [PATCH 0/7] i965 L3 caching and pull constant improvements.

2015-01-28 Thread Syrja, Harri
Hi Kenneth, Constant cache could and should allocate to separate region in $L3. The main point of having separate constant region is to avoid texture data trashing due to pulled constants load. In optimal solution constant region is allocated only when shader uses pull constants, but that is no

Re: [Mesa-dev] [PATCH] drirc: set allow_glsl_extension_directive_midshader for Dead Island.

2015-01-28 Thread Marek Olšák
Pushed, thanks. Marek On Mon, Dec 8, 2014 at 7:43 PM, Sven Arvidsson wrote: > Signed-off-by: Sven Arvidsson > Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=87076 > --- > src/mesa/drivers/dri/common/drirc | 4 > 1 file changed, 4 insertions(+) > > diff --git a/src/mesa/drivers/dri

[Mesa-dev] [Bug 88275] [865G] Intel OpenGL rendering isn't starting

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88275 --- Comment #28 from Eugene --- (In reply to Jason Ekstrand from comment #26) > I tried this on a pineview machine which is i915 not 865 but it works fine, > so this doesn't look a generic driver change. As I understood configuration you tried n

Re: [Mesa-dev] i965: GPU hang after re-creating miptrees for 1DArray texture targets

2015-01-28 Thread Iago Toral
On Wed, 2015-01-28 at 13:39 +0100, Iago Toral wrote: > On Wed, 2015-01-28 at 10:48 +0100, Iago Toral wrote: > > Hi, > > > > I think I have found a bug that can even produce a GPU hang in the i965 > > code that handles 1DArray textures and that is related to the miptree > > structure that supports

Re: [Mesa-dev] i965: GPU hang after re-creating miptrees for 1DArray texture targets

2015-01-28 Thread Iago Toral
On Wed, 2015-01-28 at 10:48 +0100, Iago Toral wrote: > Hi, > > I think I have found a bug that can even produce a GPU hang in the i965 > code that handles 1DArray textures and that is related to the miptree > structure that supports them. At least IvyBridge and Haswell are > affected. > > The pro

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

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 88806, which changed state. Bug 88806 Summary: nir/nir_constant_expressions.c:2754:15: error: controlling expression type 'unsigned int' not compatible with any generic association type https://bugs.freedesktop.org/show_b

[Mesa-dev] [Bug 88806] nir/nir_constant_expressions.c:2754:15: error: controlling expression type 'unsigned int' not compatible with any generic association type

2015-01-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88806 Jason Ekstrand changed: What|Removed |Added Status|NEEDINFO|RESOLVED Resolution|---

[Mesa-dev] [PATCH 2/2] intel/pixel_read: Properly flip the results for window system buffers

2015-01-28 Thread Jason Ekstrand
https://bugs.freedesktop.org/show_bug.cgi?id=88841 --- src/mesa/drivers/dri/i965/intel_pixel_read.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_pixel_read.c b/src/mesa/drivers/dri/i965/intel_pixel_read.c index babf8ca..198d616 100644 --- a/src/

[Mesa-dev] [PATCH 1/2] i965/tiled_memcpy: Support a signed linear pitch

2015-01-28 Thread Jason Ekstrand
Cc: Chad Versace --- src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 30 +- src/mesa/drivers/dri/i965/intel_tiled_memcpy.h | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/mesa/drivers/dri/i965/intel_tiled_memcpy.c b/src/mesa/drivers/dri/i9

Re: [Mesa-dev] [PATCH] mesa: Port a variant of 68afbe89c72d085dcbbf2b264f0201ab73fe339e to util/

2015-01-28 Thread Marek Olšák
Thanks Eric, Reviewed-by: Marek Olšák Marek On Mon, Jan 26, 2015 at 8:45 PM, Eric Anholt wrote: > The idea is that after a remove_from_list(), you might want to be able to > do a remove_from_list() on it again or an is_empty_list(). This is > apparently relied on by r300g. > --- > src/util/s

Re: [Mesa-dev] [PATCH 0/7] i965 L3 caching and pull constant improvements.

2015-01-28 Thread Francisco Jerez
Kenneth Graunke writes: > On Sunday, January 18, 2015 01:04:02 AM Francisco Jerez wrote: >> This is the first part of a series meant to improve our usage of the L3 >> cache. >> Currently it's far from ideal since the following objects aren't taking any >> advantage of it: >> - Pull constants (i

[Mesa-dev] i965: GPU hang after re-creating miptrees for 1DArray texture targets

2015-01-28 Thread Iago Toral
Hi, I think I have found a bug that can even produce a GPU hang in the i965 code that handles 1DArray textures and that is related to the miptree structure that supports them. At least IvyBridge and Haswell are affected. The problem happens when we need to drop the initial miptree to create a new