Re: [Mesa-dev] Improving precision of mod(x,y)

2015-01-16 Thread Chris Forbes
Using the GLSL spec's definition (or something with equivalent precision) is also required for ARB_shader_precision, which we'll have really soon, so +1 from me too. On Fri, Jan 16, 2015 at 8:01 PM, Iago Toral ito...@igalia.com wrote: Thanks Roland and everyone else for the input. Based on the

[Mesa-dev] [Bug 88488] osmesa build with msys2 on Windows7 64 fails

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88488 Bug ID: 88488 Summary: osmesa build with msys2 on Windows7 64 fails Product: Mesa Version: 10.4 Hardware: x86-64 (AMD64) OS: Windows (All) Status: NEW

[Mesa-dev] [PATCH v2] mesa: support GL_RGB for GL_EXT_texture_type_2_10_10_10_REV

2015-01-16 Thread Tapani Pälli
Commit 8ec6534 changed texture upload path and the way how texture format is being checked, this commit adds support for GL_RGB with GL_UNSIGNED_INT_2_10_10_10_REV as specified by the extension EXT_texture_type_2_10_10_10_REV specification. This fixes regression in ES3 conformance test

Re: [Mesa-dev] [PATCH v2] mesa: support GL_RGB for GL_EXT_texture_type_2_10_10_10_REV

2015-01-16 Thread Iago Toral
Looks good to me. Jason: does this get your R-b? Iago On Fri, 2015-01-16 at 12:48 +0200, Tapani Pälli wrote: Commit 8ec6534 changed texture upload path and the way how texture format is being checked, this commit adds support for GL_RGB with GL_UNSIGNED_INT_2_10_10_10_REV as specified by the

[Mesa-dev] [PATCH 3/4] i965/nir: Replace fs_reg(GRF, virtual_grf_alloc(...)) with vgrf(...).

2015-01-16 Thread Kenneth Graunke
brw_fs_nir.cpp creates almost all of its registers via: fs_reg reg = fs_reg(GRF, virtual_grf_alloc(num_components)); When we add SIMD16 support, we'll need to set reg-width = 16 and double the VGRF size...on pretty much every VGRF it allocates. This patch replaces that pattern with a new

[Mesa-dev] [PATCH 2/4] i965: Fix some oddities in FB_WRITE register width and execution size.

2015-01-16 Thread Kenneth Graunke
Previously, we generated this for FB writes in SIMD16 mode: load_payload(16) vgrf5@8+0.0:F, vgrf1:F, vgrf2:F, vgrf3:F, vgrf4:F fb_write(8) (null):UD, vgrf5@8+0.0:F 1sthalf The LOAD_PAYLOAD's destination had its register width set to 8, and the FB_WRITE had its execution size set to 8. This

[Mesa-dev] [PATCH 4/4] i965/nir: Implement SIMD16 support in the NIR FS backend.

2015-01-16 Thread Kenneth Graunke
Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_fs.cpp | 5 +-- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 73 +--- 2 files changed, 50 insertions(+), 28 deletions(-) That was easy diff --git

[Mesa-dev] [PATCH 1/4] i965/fs: Make lower_load_payload etc. appear in INTEL_DEBUG=optimizer.

2015-01-16 Thread Kenneth Graunke
In order to support calling lower_load_payload() inside a condition, this patch makes OPT() a statement expression: https://gcc.gnu.org/onlinedocs/gcc/Statement-Exprs.html We recently did the equivalent change in the vec4 backend (commit 9b8bd67768769b685c25e1276e053505aede5f93). Signed-off-by:

Re: [Mesa-dev] [PATCH] i965/gen6: Fix crash with VS+TF after rendering with GS

2015-01-16 Thread Tapani Pälli
Reviewed-by: Tapani Pälli tapani.pa...@intel.com On 01/07/2015 11:08 AM, Iago Toral Quiroga wrote: Rendering with a GS and then using transform feedback with a program that does not have a GS can crash in gen6. The reason for this is that brw_begin_transform_feedback checks brw-geometry_program

[Mesa-dev] [Bug 88488] osmesa build with msys2 on Windows7 64 fails

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88488 José Fonseca jfons...@vmware.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH 3/5] radeonsi/compute: Use relocs for scratch pointer rather than user sgprs v2

2015-01-16 Thread Marek Olšák
Just general suggestions. If you don't want to map the buffer and synchronize with the CPU, you can use the WRITE_DATA packet to write the data. I wouldn't use buffer_unmap for buffers that can be mapped/unmapped often. Even though buffer_unmap is a no-op right now, it might change in the

[Mesa-dev] [PATCH 1/2] Add target attribute check to configure

2015-01-16 Thread Marc Dietrich
The target attribute allows for function or file specific compiler target specification. This will be useful when compiling with LTO enabled. Signed-off-by: Marc Dietrich marvi...@gmx.de --- configure.ac| 2 ++ m4/ax_gcc_func_attribute.m4 | 9 + 2 files changed, 11

[Mesa-dev] [PATCH 0/2] Use target attribute for architecture optimizations

2015-01-16 Thread Marc Dietrich
The GCC specific target function attribute or pragma can be used to enable architecture depended optimisation options (e.g. SSE) directly in source files instead of specifing them on the compiler command line. This is useful when linking files with different compiler options which happens when

[Mesa-dev] [PATCH 2/2] Make architecture specific compiler flags conditional for vector optimizations

2015-01-16 Thread Marc Dietrich
If the compiler supports the target attribute (or pragma), we can specify the target architecture directly in the source. In this case we don't need to parse the compiler flag via the command line. This is usefull when compiling with LTO enabled, where all files will be recompiled during the link

Re: [Mesa-dev] [PATCH v2] format_utils: Use a more precise conversion when decreasing bits

2015-01-16 Thread Neil Roberts
Ah that's neat, thanks. If I compile the existing patch with gcc -O3 it seems to optimize the division into shifts anyway like this (for 8-bit to 5-bit): 0: 89 f8 mov%edi,%eax 2: ba 81 80 80 80 mov$0x80808081,%edx 7: c1 e0 05shl

Re: [Mesa-dev] [PATCH v2] format_utils: Use a more precise conversion when decreasing bits

2015-01-16 Thread Jose Fonseca
Interesting. I wonder if I leave the division by 255 LLVM will do similar magic. The risk in llvmpipe is most of these operations are with i8x16 and i16x8 vector types which don't even have division in x86. Jose On 16/01/15 13:40, Neil Roberts wrote: Ah that's neat, thanks. If I compile

Re: [Mesa-dev] [PATCH] mesa: Add mesa SHA-1 functions

2015-01-16 Thread Jose Fonseca
On 15/01/15 19:46, Carl Worth wrote: On Thu, Jan 08 2015, Jose Fonseca wrote: Note that Windows build is only supported with SCons. Never with autobuild. OK. That's good for me to learn. I've requested that the folks doing our automated build testing here will also start testing scons

Re: [Mesa-dev] [PATCH] mesa: fix no return in two format functions

2015-01-16 Thread Jan Vesely
On Thu, 2015-01-15 at 20:49 +0100, Tobias Klausmann wrote: On 15.01.2015 19:35, Jan Vesely wrote: On Thu, 2015-01-15 at 19:26 +0100, Tobias Klausmann wrote: I: Program returns random data in a function E: Mesa no-return-in-nonvoid-function ../../src/mesa/main/format_utils.c:180 E: Mesa

Re: [Mesa-dev] [PATCH 5/5] radeonsi: Enable VGPR spilling for all shader types v2

2015-01-16 Thread Tom Stellard
On Fri, Jan 16, 2015 at 11:44:36AM +0900, Michel Dänzer wrote: On 16.01.2015 09:48, Tom Stellard wrote: - Use context global scratch buffers, one for each shader type. AFAICT the code actually uses a single buffer for all shader types. As we discussed before, that needs to be fixed. I

Re: [Mesa-dev] [PATCH 1/2] radeonsi: Cache LLVMTargetMachine object in si_screen

2015-01-16 Thread Tom Stellard
On Wed, Jan 14, 2015 at 11:06:50AM +0900, Michel Dänzer wrote: On 14.01.2015 04:07, Tom Stellard wrote: On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote: On 07.01.2015 10:10, Michel Dänzer wrote: On 07.01.2015 06:33, Tom Stellard wrote: On Wed, Dec 24, 2014 at 12:48:31PM

[Mesa-dev] [Bug 88480] Requesting fdo account and commit accees to mesa

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88480 Brian Paul bri...@vmware.com changed: What|Removed |Added Component|Other |New Accounts

Re: [Mesa-dev] [PATCH 4/4] i965/nir: Implement SIMD16 support in the NIR FS backend.

2015-01-16 Thread Jason Ekstrand
On Jan 16, 2015 5:30 AM, Kenneth Graunke kenn...@whitecape.org wrote: Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_fs.cpp | 5 +-- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 73 +--- 2 files changed, 50

Re: [Mesa-dev] [PATCH 1/4] i965/fs: Make lower_load_payload etc. appear in INTEL_DEBUG=optimizer.

2015-01-16 Thread Jason Ekstrand
Thanks for picking this up! I don't know that much about statement expressions, so I'm giving this one an ACK only. 2 and 3 are Reviewed-by: Jason Ekstrand jason.ekstr...@intel.com. I left some comments on 4 but nothing functional. On Jan 16, 2015 5:29 AM, Kenneth Graunke kenn...@whitecape.org

Re: [Mesa-dev] [PATCH v2] mesa: support GL_RGB for GL_EXT_texture_type_2_10_10_10_REV

2015-01-16 Thread Ilia Mirkin
Doesn't this need to be added to the mesa/st switch's in st_format.c? On Fri, Jan 16, 2015 at 6:09 AM, Iago Toral ito...@igalia.com wrote: Looks good to me. Jason: does this get your R-b? Iago On Fri, 2015-01-16 at 12:48 +0200, Tapani Pälli wrote: Commit 8ec6534 changed texture upload path

Re: [Mesa-dev] [PATCH v2] mesa: support GL_RGB for GL_EXT_texture_type_2_10_10_10_REV

2015-01-16 Thread Ilia Mirkin
Actually nevermind. There's no matching PIPE_FORMAT for that, so it'll have to get added. On Fri, Jan 16, 2015 at 10:44 AM, Ilia Mirkin imir...@alum.mit.edu wrote: Doesn't this need to be added to the mesa/st switch's in st_format.c? On Fri, Jan 16, 2015 at 6:09 AM, Iago Toral

Re: [Mesa-dev] [PATCH v2] format_utils: Use a more precise conversion when decreasing bits

2015-01-16 Thread Jason Ekstrand
Looks good to me. My initial reaction was that we could simplify it but you're right about the rounding. This one gets my r-b too. On Jan 15, 2015 10:52 AM, Neil Roberts n...@linux.intel.com wrote: Jason Ekstrand ja...@jlekstrand.net writes: This looks fine to me. We should probably also

Re: [Mesa-dev] [PATCH 1/4] i965/fs: Make lower_load_payload etc. appear in INTEL_DEBUG=optimizer.

2015-01-16 Thread Matt Turner
The first three are Reviewed-by: Matt Turner matts...@gmail.com Looks like Jason's got some comments on #4. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [PATCH] radeonsi: Enable VGPR spilling for all shader types v3

2015-01-16 Thread Tom Stellard
v2: - Only emit write SPI_TMPRING_SIZE once per packet. - Use context global scratch buffer. v3: - Patch shaders using WRITE_DATA packet instead of map/unmap. - Emit ICACHE_FLUSH, CS_PARTIAL_FLUSH, PS_PARTIAL_FLUSH, and VS_PARTIAL_FLUSH when patching shaders. ---

Re: [Mesa-dev] shader-db statistics generation (was: [PATCH 3/4] i965/fs: Optimize (gl_FrontFacing ? x : y)...)

2015-01-16 Thread Kenneth Graunke
On Thursday, January 15, 2015 07:12:20 AM Jason Ekstrand wrote: On Jan 15, 2015 12:27 AM, Eero Tamminen eero.t.tammi...@intel.com wrote: Hi, On 01/15/2015 03:04 AM, Matt Turner wrote: On Wed, Jan 14, 2015 at 1:52 PM, Matt Turner matts...@gmail.com wrote: On Wed, Jan 14, 2015 at

[Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Connor Abbott
Before, we used a system where a file, nir_opcodes.h, defined some macros that were included to generate the enum values and the nir_op_infos structure. This worked pretty well, but for development the error messages were never very useful, Python tools couldn't understand the opcode list, and it

[Mesa-dev] [PATCH 3/5] nir: add new constant folding infrastructure

2015-01-16 Thread Connor Abbott
Add a required field to the Opcode class, const_expr, that contains an expression or statement that computes the result of the opcode given known constant inputs. Then take those const_expr's and expand them into a function that takes an opcode and an array of constant inputs and spits out the

[Mesa-dev] [PATCH 0/5] NIR opcodes and constant folding

2015-01-16 Thread Connor Abbott
Hi, This is a series I had floating around a while. The idea is to have all the opcode stuff, including constant folding, derived from a single Python file. I've cleaned it up a little by using {}-style Python formatting instead of the pile of text-replacement and regular expressions we had

[Mesa-dev] [PATCH 4/5] nir/constant_folding: use the new constant folding infrastructure

2015-01-16 Thread Connor Abbott
Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir_opt_constant_folding.c | 179 1 file changed, 21 insertions(+), 158 deletions(-) diff --git a/src/glsl/nir/nir_opt_constant_folding.c b/src/glsl/nir/nir_opt_constant_folding.c index

[Mesa-dev] [PATCH 5/5] nir/lower_vars_to_ssa: fix a bug with boolean constants

2015-01-16 Thread Connor Abbott
Reviewed-by: Jason Ekstrand jason.ekstr...@intel.com Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir_lower_vars_to_ssa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir_lower_vars_to_ssa.c b/src/glsl/nir/nir_lower_vars_to_ssa.c index

[Mesa-dev] [PATCH 1/5] nir: add generated file to .gitignore

2015-01-16 Thread Connor Abbott
Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/glsl/nir/.gitignore diff --git a/src/glsl/nir/.gitignore b/src/glsl/nir/.gitignore new file mode 100644 index 000..6d954fe --- /dev/null +++

Re: [Mesa-dev] [PATCH 0/5] NIR opcodes and constant folding

2015-01-16 Thread Connor Abbott
Oh, and I forgot... the series is also available at https://github.com/cwabbott0/mesa nir-opcodes-cleanup On Fri, Jan 16, 2015 at 4:46 PM, Connor Abbott cwabbo...@gmail.com wrote: Hi, This is a series I had floating around a while. The idea is to have all the opcode stuff, including constant

Re: [Mesa-dev] [PATCH] mesa: Add mesa SHA-1 functions

2015-01-16 Thread Carl Worth
On Fri, Jan 16 2015, Jose Fonseca wrote: Oh, just saying that in fact I got it to build that module on Windows. Thanks. That's good to know. I appreciate that testing. I've just pushed this series along with your fixes. And for the sake of everyone that contributed to the discussion on the

[Mesa-dev] [PATCH 2/4] i965/nir: Replace fs_reg(GRF, virtual_grf_alloc(...)) with vgrf(...).

2015-01-16 Thread Kenneth Graunke
brw_fs_nir.cpp creates almost all of its registers via: fs_reg reg = fs_reg(GRF, virtual_grf_alloc(num_components)); When we add SIMD16 support, we'll need to set reg-width = 16 and double the VGRF size...on pretty much every VGRF it allocates. This patch replaces that pattern with a new

[Mesa-dev] [PATCH 3/4] i965/nir: Use offset() instead of altering reg_offset directly.

2015-01-16 Thread Kenneth Graunke
offset() properly handles reg_width, so it'll work for SIMD16. While we're in the area, simplify a few cases, and use retype() to cut a few more lines of code. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 91 +++-

[Mesa-dev] [PATCH 4/4] i965/nir: Enable SIMD16 support in the NIR FS backend.

2015-01-16 Thread Kenneth Graunke
With the previous commits in place, it just works. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_fs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp

[Mesa-dev] [PATCH 1/4] i965: Replace fs_reg(fs_visitor, type) with fs_visitor::vgrf(type).

2015-01-16 Thread Kenneth Graunke
I dislike how fs_reg has a constructor that knows about fs_visitor. Apart from that, it stands alone, with no need to interact with the rest of the compiler. Which is sensible - a class that represents a register should do just that. Allocating virtual register numbers should be left up to the

Re: [Mesa-dev] [PATCH 1/4] i965: Replace fs_reg(fs_visitor, type) with fs_visitor::vgrf(type).

2015-01-16 Thread Jason Ekstrand
On Jan 16, 2015 4:19 PM, Kenneth Graunke kenn...@whitecape.org wrote: I dislike how fs_reg has a constructor that knows about fs_visitor. Apart from that, it stands alone, with no need to interact with the rest of the compiler. Which is sensible - a class that represents a register should do

Re: [Mesa-dev] [PATCH 4/4] i965/nir: Enable SIMD16 support in the NIR FS backend.

2015-01-16 Thread Jason Ekstrand
Two stupid questions: 1) Did you gun piglit with INTEL_USE_NIR and did everything check out OK? 2) Did you grep fs_nir.cpp for virtual_grf_alloc and reg_offset to make sure you didn't miss anything? If the answer to both of the above is yes, this series is Reviewed-by: Jason Ekstrand

Re: [Mesa-dev] [PATCH 4/4] i965/nir: Enable SIMD16 support in the NIR FS backend.

2015-01-16 Thread Kenneth Graunke
On Friday, January 16, 2015 02:43:12 PM Jason Ekstrand wrote: Two stupid questions: 1) Did you gun piglit with INTEL_USE_NIR and did everything check out OK? Yes, I did before/after Piglit runs on Haswell GT3e with and without INTEL_USE_NIR (to make sure both paths keep working). 2) Did you

[Mesa-dev] [Bug 88519] sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88519 Bug ID: 88519 Summary: sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function) Product: Mesa Version: git Hardware: x86-64 (AMD64) OS:

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Dylan Baker
Hi Conner, I have a couple of things you should change, and a suggestion for you below, hopefully it all makes sense. On Friday, January 16, 2015 04:46:07 PM Connor Abbott wrote: Before, we used a system where a file, nir_opcodes.h, defined some macros that were included to generate the enum

[Mesa-dev] [Bug 88519] sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88519 Carl Worth cwo...@cworth.org changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1

[Mesa-dev] [Bug 88519] sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88519 Carl Worth cwo...@cworth.org changed: What|Removed |Added Assignee|mesa-dev@lists.freedesktop. |cwo...@cworth.org

[Mesa-dev] [Bug 88478] #error malloc.h has been replaced by stdlib.h

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88478 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 88523] sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88523 Bug ID: 88523 Summary: sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function) Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: OpenBSD

[Mesa-dev] [Bug 88523] sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88523 Carl Worth cwo...@cworth.org changed: What|Removed |Added Status|NEW |NEEDINFO --- Comment #1

[Mesa-dev] [Bug 88523] sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88523 --- Comment #2 from Jonathan Gray j...@openbsd.org --- SHA1_CTX is defined in sha1.h http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/include/sha1.h?rev=HEADcontent-type=text/plain The xserver code this was based off builds fine so there

Re: [Mesa-dev] [PATCH] glsl: Optimize certain if-statements to just casts from the condition

2015-01-16 Thread Kenneth Graunke
On Friday, January 16, 2015 05:53:09 PM Ian Romanick wrote: On 01/16/2015 08:15 AM, Matt Turner wrote: From: Ian Romanick ian.d.roman...@intel.com Some shaders end up with code that looks something like: if (some_condition) result = 1.0; else result =

[Mesa-dev] [Bug 88523] sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88523 --- Comment #3 from Jonathan Gray j...@openbsd.org --- If I rename util/sha1.h to util/xsha1.h matching the xserver name the correct sha1.h is picked up. Otherwise sha1.h picks up util/sha1.h -- You are receiving this mail because: You are the

[Mesa-dev] [Bug 88519] sha1.c:210:22: error: 'grcy_md_hd_t' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88519 Matt Turner matts...@gmail.com changed: What|Removed |Added QA Contact|

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Connor Abbott
Hi Dylan, On Fri, Jan 16, 2015 at 7:01 PM, Dylan Baker baker.dyla...@gmail.com wrote: Hi Conner, I have a couple of things you should change, and a suggestion for you below, hopefully it all makes sense. On Friday, January 16, 2015 04:46:07 PM Connor Abbott wrote: Before, we used a system

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Dylan Baker
On Friday, January 16, 2015 10:18:43 PM Connor Abbott wrote: Hi Dylan, On Fri, Jan 16, 2015 at 7:01 PM, Dylan Baker baker.dyla...@gmail.com wrote: Hi Conner, I have a couple of things you should change, and a suggestion for you below, hopefully it all makes sense. On Friday, January

Re: [Mesa-dev] [PATCH 1/4] i965: Replace fs_reg(fs_visitor, type) with fs_visitor::vgrf(type).

2015-01-16 Thread Chris Forbes
The vec4 side is similarly tangled, except there are 3 constructors like this spread across the src_reg and dst_reg classes. Reviewed-by: Chris Forbes chr...@ijw.co.nz On Sat, Jan 17, 2015 at 11:19 AM, Kenneth Graunke kenn...@whitecape.org wrote: I dislike how fs_reg has a constructor that

Re: [Mesa-dev] [PATCH 2/5] nir: use Python to autogenerate opcode information

2015-01-16 Thread Connor Abbott
On Fri, Jan 16, 2015 at 10:48 PM, Dylan Baker baker.dyla...@gmail.com wrote: On Friday, January 16, 2015 10:18:43 PM Connor Abbott wrote: Hi Dylan, On Fri, Jan 16, 2015 at 7:01 PM, Dylan Baker baker.dyla...@gmail.com wrote: Hi Conner, I have a couple of things you should change, and a

[Mesa-dev] [Bug 88523] sha1.c:37: error: 'SHA1_CTX' undeclared (first use in this function)

2015-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=88523 Vinson Lee v...@freedesktop.org changed: What|Removed |Added Status|NEEDINFO|NEW -- You are

Re: [Mesa-dev] [PATCH 1/2] i965/fs: Don't use backend_visitor::instructions after creating the CFG.

2015-01-16 Thread Kenneth Graunke
On Tuesday, January 13, 2015 03:35:57 PM Matt Turner wrote: This is a fix for a regression introduced in commit a9f8296d (i965/fs: Preserve the CFG in a few more places.). The errata this code works around is described in a comment before the function: [DevBW, DevCL] Errata: A

Re: [Mesa-dev] [PATCH 1/2] i965/fs: Don't use backend_visitor::instructions after creating the CFG.

2015-01-16 Thread Matt Turner
On Fri, Jan 16, 2015 at 11:45 PM, Kenneth Graunke kenn...@whitecape.org wrote: On Tuesday, January 13, 2015 03:35:57 PM Matt Turner wrote: This is a fix for a regression introduced in commit a9f8296d (i965/fs: Preserve the CFG in a few more places.). The errata this code works around is