Re: [Mesa-dev] [PATCH] softpipe: avoid leaking local_mem on machines alloc failure

2016-04-30 Thread Vinson Lee
On Sat, Apr 30, 2016 at 7:31 PM, Ilia Mirkin wrote: > Spotted by Coverity > > Signed-off-by: Ilia Mirkin > --- > src/gallium/drivers/softpipe/sp_compute.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/softpipe/sp_compute.c > b/src/gallium/driver

Re: [Mesa-dev] [PATCH] vbo: avoid leaking prim on vbo bind failure

2016-04-30 Thread Vinson Lee
On Sat, Apr 30, 2016 at 7:29 PM, Ilia Mirkin wrote: > Spotted by Coverity > > Signed-off-by: Ilia Mirkin > --- > src/mesa/vbo/vbo_exec_array.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c > index 51f41f3

[Mesa-dev] [PATCH] softpipe: avoid leaking local_mem on machines alloc failure

2016-04-30 Thread Ilia Mirkin
Spotted by Coverity Signed-off-by: Ilia Mirkin --- src/gallium/drivers/softpipe/sp_compute.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/softpipe/sp_compute.c b/src/gallium/drivers/softpipe/sp_compute.c index d5b5913..53f7a0b 100644 --- a/src/galli

[Mesa-dev] [PATCH] vbo: avoid leaking prim on vbo bind failure

2016-04-30 Thread Ilia Mirkin
Spotted by Coverity Signed-off-by: Ilia Mirkin --- src/mesa/vbo/vbo_exec_array.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index 51f41f3..870a096 100644 --- a/src/mesa/vbo/vbo_exec_array.c +++ b/src/mesa/v

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 Jamey Sharp changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #5 from Jamey Sharp

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 farmboy0+freedesk...@googlemail.com changed: What|Removed |Added CC||farmboy0+freedesktop

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 --- Comment #4 from Jamey Sharp --- (In reply to Ilia Mirkin from comment #3) > (In reply to Jamey Sharp from comment #2) > > (In reply to Ilia Mirkin from comment #1) > > > Sounds like the game is buggy and needs fixing - I presume it runs fine

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 --- Comment #3 from Ilia Mirkin --- (In reply to Jamey Sharp from comment #2) > (In reply to Ilia Mirkin from comment #1) > > Sounds like the game is buggy and needs fixing - I presume it runs fine on > > Catalyst drivers, which also don't suppor

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 --- Comment #2 from Jamey Sharp --- (In reply to Ilia Mirkin from comment #1) > Sounds like the game is buggy and needs fixing - I presume it runs fine on > Catalyst drivers, which also don't support the ext. Hmm. Is apitrace mis-leading us here

Re: [Mesa-dev] [android-x86-devel] [RFC 7/7] android: support swrast

2016-04-30 Thread Mauro Rossi
Hi, I'm an update about external/llvm status android-n-preview-2 switched to llvm 3.8.0, the following branch has AMDGPU patches, even if named after marshamallow, changes were made on top llvm 3.8.0, after aosp switched with android-n-preview2: https://github.com/maurossi/llvm/tree/marshmallow-

Re: [Mesa-dev] [PATCH] add MAINTAINERS and get_maintainer.pl script

2016-04-30 Thread Rob Clark
On Sat, Apr 30, 2016 at 3:58 PM, Marek Olšák wrote: > The script is licensed under GNU GPL v2, which can be a showstopper for Mesa. this has come up a couple times already, but we already have files in $mesa/m4 which are GPL.. and this script is not even involved in the build (let alone installed

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 Vladimir Usikov changed: What|Removed |Added CC||granti...@gmail.com -- You are receiv

Re: [Mesa-dev] [PATCH] add MAINTAINERS and get_maintainer.pl script

2016-04-30 Thread Marek Olšák
The script is licensed under GNU GPL v2, which can be a showstopper for Mesa. Marek On Sat, Apr 30, 2016 at 9:27 PM, Rob Clark wrote: > From: Rob Clark > > Copied from linux kernel, with minimal changes to script (just to > recognize mesa src tree rather than linux kernel src tree), and slimmed

[Mesa-dev] [PATCH] add MAINTAINERS and get_maintainer.pl script

2016-04-30 Thread Rob Clark
From: Rob Clark Copied from linux kernel, with minimal changes to script (just to recognize mesa src tree rather than linux kernel src tree), and slimmed down MAINTAINER file syntax to recognize that we don't really have subsystem "maintainers" in the same sense as the linux kernel (ie. no differ

[Mesa-dev] [PATCH piglit v3] Test that glShaderSource does not change compile status.

2016-04-30 Thread Jamey Sharp
OpenGL 4.5 Core Profile section 7.1, in the documentation for CompileShader, says: "Changing the source code of a shader object with ShaderSource does not change its compile status or the compiled shader code." (I haven't checked older versions of the spec.) This test creates a shader, compiles it

Re: [Mesa-dev] [PATCH 1/3] nir/opt_dead_cf: correction of side effect check

2016-04-30 Thread Jason Ekstrand
On Fri, Apr 29, 2016 at 9:59 PM, Thomas H.P. Andersen wrote: > > > On Fri, Apr 29, 2016 at 8:39 PM, Jason Ekstrand > wrote: > >> >> >> On Fri, Apr 29, 2016 at 11:31 AM, Thomas Hindoe Paaboel Andersen < >> pho...@gmail.com> wrote: >> >>> Parenthesis are needed here as ! takes precedence over the

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 Kamil Páral changed: What|Removed |Added CC||kamil.pa...@gmail.com -- You are receivin

[Mesa-dev] [Bug 95085] Invalid sampling of second texture in fragment shader that have two samplers with different parameters.

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95085 --- Comment #17 from Marek Olšák --- FYI, the DX10_CLAMP shader bit flushes NaNs to 0. All other floating-point shader opcodes flush denorms to 0. 32-bit denorms can be enabled with a significant performance cost by setting conf->float_mode (se

Re: [Mesa-dev] [PATCH] glsl: Properly handle ldexp(0.0f, non-zero-exp).

2016-04-30 Thread Kenneth Graunke
On Wednesday, April 13, 2016 3:46:29 PM PDT Matt Turner wrote: > On Wed, Apr 13, 2016 at 12:07 PM, Matt Turner wrote: > > --- > > i965 is going to stop using this code, but I thought it'd be nice to > fix this and also to note what is the remaining failure on the dEQP > ldexp tests. > > The GLSL

[Mesa-dev] [Bug 93551] Divinity: Original Sin Enhanced Edition(Native) crash on start

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93551 --- Comment #12 from Jamey Sharp --- (In reply to Ernst Sjöstrand from comment #11) > If I apply the "change shader" fix with RadeonSI I get a bunch of these > glNamedStringARB errors when running the game with APITrace: But you can confirm that

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 --- Comment #1 from Ilia Mirkin --- Sounds like the game is buggy and needs fixing - I presume it runs fine on Catalyst drivers, which also don't support the ext. -- You are receiving this mail because: You are the assignee for the bug. You are

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 Jamey Sharp changed: What|Removed |Added CC||ern...@gmail.com, |

[Mesa-dev] [Bug 95215] ARB_shading_language_include is not implemented

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=95215 Bug ID: 95215 Summary: ARB_shading_language_include is not implemented Product: Mesa Version: git Hardware: All OS: All Status: NEW Severity: enhancement

Re: [Mesa-dev] [PATCH] nv50/ir: fix texture barriers insertion with combined load/store

2016-04-30 Thread Ilia Mirkin
On Sat, Apr 30, 2016 at 12:35 PM, Samuel Pitoiset wrote: > After the MemoryOpt pass, load and store instructions might have been > combined and we have to take this in account when detecting if the > destination register of a texture instruction is used by another > instruction as srcs/defs. > > T

[Mesa-dev] [PATCH] nv50/ir: fix texture barriers insertion with combined load/store

2016-04-30 Thread Samuel Pitoiset
After the MemoryOpt pass, load and store instructions might have been combined and we have to take this in account when detecting if the destination register of a texture instruction is used by another instruction as srcs/defs. This fixes 11 dEQP-GLES31 subtests: dEQP-GLES3.functional.shaders.opaq

Re: [Mesa-dev] [PATCH 00/59] Initial arb_gpu_shader_fp64 support to the i965 scalar backend

2016-04-30 Thread Samuel Iglesias Gonsálvez
On 2016-04-30 10:34, Kenneth Graunke wrote: With my horiz_offset concerns and other minor comments addressed, Patches 1-33 (except 2, 3, 11, and 22) and 36, 40-55, 57-58 are: Reviewed-by: Kenneth Graunke I'll look at the rest soon. It sounds like Curro is taking a look too, so he may have mor

Re: [Mesa-dev] [PATCH] GL3: remove radeonsi occurrences in GL 4.2, already specified as "all DONE"

2016-04-30 Thread eocallaghan
Reviewed-by: Edward O'Callaghan On 2016-04-30 01:48, Fabio Pedretti wrote: --- docs/GL3.txt | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index bb2bb6e..5a6be41 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -148,17 +148,17 @@ GL

Re: [Mesa-dev] [PATCH 4/4] gbm: Add map/unmap functions

2016-04-30 Thread Rob Clark
On Sat, Apr 30, 2016 at 8:26 AM, Marek Olšák wrote: > On Sat, Apr 30, 2016 at 1:55 PM, Rob Clark wrote: >> On Sat, Apr 30, 2016 at 5:39 AM, Michel Dänzer wrote: >>> On 26.04.2016 03:51, Rob Herring wrote: On Mon, Apr 25, 2016 at 9:25 AM, Emil Velikov wrote: > On 25 April 2016 at

Re: [Mesa-dev] [PATCH 4/4] gbm: Add map/unmap functions

2016-04-30 Thread Marek Olšák
On Sat, Apr 30, 2016 at 1:55 PM, Rob Clark wrote: > On Sat, Apr 30, 2016 at 5:39 AM, Michel Dänzer wrote: >> On 26.04.2016 03:51, Rob Herring wrote: >>> On Mon, Apr 25, 2016 at 9:25 AM, Emil Velikov >>> wrote: On 25 April 2016 at 13:46, Daniel Stone wrote: > On 23 April 2016 at 03:08,

[Mesa-dev] [Bug 93551] Divinity: Original Sin Enhanced Edition(Native) crash on start

2016-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93551 --- Comment #11 from Ernst Sjöstrand --- If I apply the "change shader" fix with RadeonSI I get a bunch of these glNamedStringARB errors when running the game with APITrace: 2833: message: major api error 1: GL_INVALID_OPERATION in unsupported f

Re: [Mesa-dev] [PATCH 4/4] gbm: Add map/unmap functions

2016-04-30 Thread Rob Clark
On Sat, Apr 30, 2016 at 5:39 AM, Michel Dänzer wrote: > On 26.04.2016 03:51, Rob Herring wrote: >> On Mon, Apr 25, 2016 at 9:25 AM, Emil Velikov >> wrote: >>> On 25 April 2016 at 13:46, Daniel Stone wrote: On 23 April 2016 at 03:08, Rob Herring wrote: > On Fri, Apr 22, 2016 at 6:32 PM

Re: [Mesa-dev] [PATCH 6/9] gallium: fix various undefined left shifts into sign bit

2016-04-30 Thread Brian Paul
On 04/30/2016 01:24 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle Funnily enough, some of these were turned into a compile-time error by gcc with -fsanitize=undefined ("initializer is not a constant"). --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- src/gallium/auxiliary/util/u_p

Re: [Mesa-dev] Mesa (master): 29 new commits

2016-04-30 Thread Michel Dänzer
On 28.04.2016 10:54, Michel Dänzer wrote: > On 23.04.2016 07:24, Marek Olšák wrote: >> On Fri, Apr 22, 2016 at 11:28 PM, Nicolai Hähnle wrote: >>> On 22.04.2016 12:29, Nicolai Hähnle wrote: On 20.04.2016 23:02, Michel Dänzer wrote: > On 21.04.2016 02:42, Marek Olšák wrote: >> On Thu,

Re: [Mesa-dev] [PATCH 4/4] gbm: Add map/unmap functions

2016-04-30 Thread Michel Dänzer
On 26.04.2016 03:51, Rob Herring wrote: > On Mon, Apr 25, 2016 at 9:25 AM, Emil Velikov > wrote: >> On 25 April 2016 at 13:46, Daniel Stone wrote: >>> On 23 April 2016 at 03:08, Rob Herring wrote: On Fri, Apr 22, 2016 at 6:32 PM, Emil Velikov wrote: > Can we take a look at the G

Re: [Mesa-dev] [PATCH 03/65] glsl: Add initial functions to implement an on-disk cache

2016-04-30 Thread Erik Faye-Lund
On Fri, Apr 29, 2016 at 3:33 PM, Timothy Arceri wrote: > +/* Create a directory named 'path' if it does not already exist. > + * > + * Returns: 0 if path already exists as a directory or if created. > + * -1 in all other cases. > + */ > +static int > +mkdir_if_needed(char *path) > +{ > +

Re: [Mesa-dev] [PATCH 0/9] Enable gcc's undefined behaviour sanitizer

2016-04-30 Thread Marek Olšák
For 1-2, 5-9: Reviewed-by: Marek Olšák Marek On Sat, Apr 30, 2016 at 9:24 AM, Nicolai Hähnle wrote: > Hi, > > this patch series enables the use of gcc's -fsanitize=undefined in Mesa and > fixes the bulk of reported issues in basic examples like glxgears. However, > many issues remain, and some

Re: [Mesa-dev] [PATCH] radeonsi: fix PIPE_FORMAT_R11G11B10_FLOAT handling

2016-04-30 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Fri, Apr 29, 2016 at 11:21 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > That format has first_non_void < 0. This fixes a regression in piglit > arb_shader_image_load_store-semantics that was introduced by commit > 76b8c5cc602, > while hopefully still

Re: [Mesa-dev] [PATCH 00/59] Initial arb_gpu_shader_fp64 support to the i965 scalar backend

2016-04-30 Thread Kenneth Graunke
With my horiz_offset concerns and other minor comments addressed, Patches 1-33 (except 2, 3, 11, and 22) and 36, 40-55, 57-58 are: Reviewed-by: Kenneth Graunke I'll look at the rest soon. It sounds like Curro is taking a look too, so he may have more feedback. signature.asc Description: This

Re: [Mesa-dev] [PATCH 49/59] i965/fs: implement fsign() for doubles

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:46 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Iago Toral Quiroga > > --- > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 98 + +-- > 1 file changed, 81 insertions(+), 17 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs_n

Re: [Mesa-dev] [PATCH 00/59] Initial arb_gpu_shader_fp64 support to the i965 scalar backend

2016-04-30 Thread Francisco Jerez
Samuel Iglesias Gonsálvez writes: > Hello, > > This patch series continues adding arb_gpu_shader_fp64 support to the > Intel driver. Specifically, this targets the i965 scalar backend for > BDW+ hardware (vec4 is still under research and gen7 has its own > issues which we intend tackle after gen

Re: [Mesa-dev] [PATCH 29/59] i965/fs: add a pass for lowering PACK opcodes

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:26 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Connor Abbott > > --- > src/mesa/drivers/dri/i965/Makefile.sources | 1 + > src/mesa/drivers/dri/i965/brw_fs.cpp| 5 +++ > src/mesa/drivers/dri/i965/brw_fs.h | 1 + > src/mesa/drive

Re: [Mesa-dev] [PATCH 0/9] Enable gcc's undefined behaviour sanitizer

2016-04-30 Thread Michel Dänzer
On 30.04.2016 16:24, Nicolai Hähnle wrote: > Hi, > > this patch series enables the use of gcc's -fsanitize=undefined in Mesa and > fixes the bulk of reported issues in basic examples like glxgears. However, > many issues remain, and some of them in the GLSL compiler look like they could > be real

[Mesa-dev] [PATCH 2/9] mesa/main: fix another undefined left shift

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/mesa/main/uniforms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index a9308d0..7758640 100644 --- a/src/mesa/main/uniforms.c +++ b/src/mesa/main/uniforms.c @@ -78,7 +78,7 @@ _mesa_update_sha

[Mesa-dev] [PATCH 8/9] radeonsi: fix some reported undefined left-shifts

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle One of these is an unsigned bitfield, which I suspect is a false positive, but gcc 5.3.1 complains about it with -fsanitize=undefined. --- src/gallium/drivers/radeonsi/si_state.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gallium/drivers/ra

[Mesa-dev] [PATCH 4/9] compiler/list: add and use for_range_list_safe

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle This macro avoids undefined behaviour that crashes gcc's ubsan. --- src/compiler/glsl/list.h | 13 + src/compiler/glsl/opt_dead_code_local.cpp | 7 +-- src/compiler/glsl/opt_tree_grafting.cpp | 5 + 3 files changed, 15 insertions(+),

[Mesa-dev] [PATCH 5/9] compiler/glsl: do not downcast list sentinel

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle This crashes gcc's undefined behaviour sanitizer. --- src/compiler/glsl/ir.cpp | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compiler/glsl/ir.cpp b/src/compiler/glsl/ir.cpp index 750f617..d69ab13 100644 --- a/src/compiler/glsl/ir.cpp +++ b/src/c

[Mesa-dev] [PATCH 1/9] mesa/main: define _NEW_xxx flags as unsigned shifts

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle Since 1 << 31 complains about undefined behaviour; the others are changed only for consistency. --- src/mesa/main/mtypes.h | 60 +- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/mesa/main/mtypes.h b/src/me

[Mesa-dev] [PATCH 9/9] radeonsi: fix undefined behavior (memcpy arguments must be non-NULL)

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_state_shaders.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 52b9851..0bfd7e8 100644 --- a/src/gallium/drive

Re: [Mesa-dev] [PATCH 23/59] i965/fs: use the NIR bit size when creating registers

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:20 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Connor Abbott > > v2 (Iago): > - Squashed bits from 'support double precission constant operands for > the implementation of 64-bit emit_load_const'. > - Do not use BRW_REGISTER_TYPE_D for all 32-bit registe

[Mesa-dev] [PATCH 3/9] compiler: guard list iteration macros against undefined behavior

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle The old iteration casts sentinel nodes (which are mere exec_nodes) into whatever type we're looping over, which leads to badness (in fact, gcc's undefined behaviour sanitizer crashes while trying to verify that we have the correct type at hand). These modified looping constr

[Mesa-dev] [PATCH 6/9] gallium: fix various undefined left shifts into sign bit

2016-04-30 Thread Nicolai Hähnle
From: Nicolai Hähnle Funnily enough, some of these were turned into a compile-time error by gcc with -fsanitize=undefined ("initializer is not a constant"). --- src/gallium/auxiliary/tgsi/tgsi_ureg.c | 2 +- src/gallium/auxiliary/util/u_pack_color.h | 2 +- src/gallium/auxiliary/uti

[Mesa-dev] [PATCH 0/9] Enable gcc's undefined behaviour sanitizer

2016-04-30 Thread Nicolai Hähnle
Hi, this patch series enables the use of gcc's -fsanitize=undefined in Mesa and fixes the bulk of reported issues in basic examples like glxgears. However, many issues remain, and some of them in the GLSL compiler look like they could be real - see below for a sampling. By "enables the use" I mea

Re: [Mesa-dev] [PATCH 22/59] i965/fs: print writemask_all when it's enabled

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:19 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Connor Abbott > > --- > src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/ i965/brw_fs.cpp > index 78f7d40

Re: [Mesa-dev] [PATCH 17/59] i965: fix is_zero(), is_one() and is_negative_one() for doubles

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:14 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Connor Abbott > > --- > src/mesa/drivers/dri/i965/brw_shader.cpp | 28 > 1 file changed, 24 insertions(+), 4 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_shader.cpp b/sr

Re: [Mesa-dev] [PATCH 11/59] i965/eu: allow doubles in math instructions

2016-04-30 Thread Kenneth Graunke
On Friday, April 29, 2016 1:29:08 PM PDT Samuel Iglesias Gonsálvez wrote: > From: Connor Abbott > > --- > src/mesa/drivers/dri/i965/brw_eu_emit.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_eu_emit.c b/src/mesa/drivers/dri/ i965/b