Re: [Mesa-dev] [PATCH 3/3] i965: Use proper pitch for scalar GS pull constants and UBOs.

2015-06-01 Thread Pohjolainen, Topi
On Fri, May 29, 2015 at 12:26:40PM -0700, Kenneth Graunke wrote: See the corresponding code in brw_vs_surface_state.c. Signed-off-by: Kenneth Graunke kenn...@whitecape.org --- src/mesa/drivers/dri/i965/brw_gs_surface_state.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-)

[Mesa-dev] [PATCH resend 3/7] i965: Enable hardware-generated binding tables on render path.

2015-06-01 Thread Abdiel Janulgue
This patch implements the binding table enable command which is also used to allocate a binding table pool where where hardware-generated binding table entries are flushed into. Each binding table offset in the binding table pool is unique per each shader stage that are enabled within a batch.

[Mesa-dev] [PATCH resend 7/7] i965: Disable HW-binding tables on batch finish for Broadwell

2015-06-01 Thread Abdiel Janulgue
This is needed since kernel doesn't support RS context save and restore on BDW yet. So manually disable hw-generated binding tables when done using it in the batch. Otherwise the GPU would no longer accept software binding tables submitted by other clients including but not limited to the Xorg

[Mesa-dev] [PATCH resend 5/7] i965: Upload binding tables in hw-generated binding table format.

2015-06-01 Thread Abdiel Janulgue
When hardware-generated binding tables are enabled, use the hw-generated binding table format when uploading binding table state. Normally, the CS will will just consume the binding table pointer commands as pipelined state. When the RS is enabled however, the RS flushes whatever edited surface

[Mesa-dev] [PATCH resend 1/7] i965: Define HW-binding table and resource streamer control opcodes

2015-06-01 Thread Abdiel Janulgue
v2: Simplify HW binding table bit definitions and magic constants (Topi) v3: Add Broadwell support. Cc: kristian.h.kristen...@intel.com Cc: topi.pohjolai...@intel.com Cc: kenn...@whitecape.org Reviewed-by: Topi Pohjolainen topi.pohjolai...@intel.com Signed-off-by: Abdiel Janulgue

[Mesa-dev] [PATCH resend 2/7] i965: Pass resource streamer enable flags on batchbuffer start

2015-06-01 Thread Abdiel Janulgue
This is passed on the kernel to enable the resource streamer enable bit on MI_BATCHBUFFER_START Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com --- src/mesa/drivers/dri/i965/brw_context.h | 1 + src/mesa/drivers/dri/i965/intel_batchbuffer.c | 8 +++- 2 files changed, 8

[Mesa-dev] [PATCH resend 4/7] i965: Implement interface to edit binding table entries

2015-06-01 Thread Abdiel Janulgue
Unlike normal software binding tables where the driver has to manually generate and fill a binding table array which are then uploaded to the hardware, the resource streamer instead presents the driver with an option to fill out slots for individual binding table indices. The hardware accumulates

Re: [Mesa-dev] [PATCH 19/19] st/mesa: enable shader subroutine

2015-06-01 Thread Steven Newbury
On Sun, 2015-05-31 at 20:41 -0700, Kenneth Graunke wrote: On Monday, June 01, 2015 11:35:03 AM Dave Airlie wrote: From: Dave Airlie airl...@redhat.com I'm not sure if we shouldn't enable this everywhere and rip out the API checks, discuss, Signed-off-by: Dave Airlie

Re: [Mesa-dev] [PATCH 2/5] nir: constify nir_ssa_alu_instr_src_components()

2015-06-01 Thread Pohjolainen, Topi
On Fri, May 22, 2015 at 02:24:49PM -0400, Connor Abbott wrote: Signed-off-by: Connor Abbott cwabbo...@gmail.com Reviewed-by: Topi Pohjolainen topi.pohjolai...@intel.com --- src/glsl/nir/nir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glsl/nir/nir.h

[Mesa-dev] [PATCH resend 6/7] i965: Disable resource streamer in BLORP

2015-06-01 Thread Abdiel Janulgue
Switch off hardware-generated binding tables and gather push constants in the blorp. Blorp requires only a minimal set of simple constants. There is no need for the extra complexity to program a gather table entry into the pipeline. Signed-off-by: Abdiel Janulgue abdiel.janul...@linux.intel.com

Re: [Mesa-dev] [PATCH 19/19] st/mesa: enable shader subroutine

2015-06-01 Thread Marek Olšák
In that case, it should use the ARB_gpu_shader5 enable bit. Marek On Mon, Jun 1, 2015 at 5:41 AM, Kenneth Graunke kenn...@whitecape.org wrote: On Monday, June 01, 2015 11:35:03 AM Dave Airlie wrote: From: Dave Airlie airl...@redhat.com I'm not sure if we shouldn't enable this everywhere and

Re: [Mesa-dev] [PATCH 3/5] nir: constify instruction comparison functions

2015-06-01 Thread Pohjolainen, Topi
On Fri, May 22, 2015 at 02:24:50PM -0400, Connor Abbott wrote: Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir.h | 4 ++-- src/glsl/nir/nir_instr_compare.c | 8 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/glsl/nir/nir.h

[Mesa-dev] [Bug 90797] [SKL bisected] Mesa change cause performance case manhattan fail.

2015-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90797 Eero Tamminen eero.t.tammi...@intel.com changed: What|Removed |Added CC|

Re: [Mesa-dev] Ideas on loop unrolling, loop examples, and my GSoC-blog

2015-06-01 Thread Eero Tamminen
Hi, On 05/29/2015 07:04 PM, Connor Abbott wrote: On Fri, May 29, 2015 at 6:23 AM, Eero Tamminen eero.t.tammi...@intel.com wrote: On 05/28/2015 10:19 PM, Thomas Helland wrote: One more thing; Is there a limit where the loop body gets so large that we want to decide that gah, this sucks, no

Re: [Mesa-dev] [PATCH 4/5] nir: add a helper for finding duplicate instructions

2015-06-01 Thread Pohjolainen, Topi
On Fri, May 22, 2015 at 02:24:51PM -0400, Connor Abbott wrote: This can be used for both CSE and value numbering. Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/Makefile.sources | 2 + src/glsl/nir/nir_instr_hash.c | 255 ++

[Mesa-dev] [PATCH] i965: Replace illegal compacted NOP with valid compact instruction

2015-06-01 Thread Zhenyu Wang
NOP actually has no compact version, but we use it for instruction alignment for compact kernel. Although it seems working on HW, it is illegal and might not be valid for any future one. This trys to get a temporary compact instruction with no effect for alignment to replace compacted NOP. G45

Re: [Mesa-dev] [PATCH 3/5] nir: constify instruction comparison functions

2015-06-01 Thread Jason Ekstrand
On Jun 1, 2015 8:41 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Mon, Jun 01, 2015 at 06:50:24AM -0700, Jason Ekstrand wrote: On Jun 1, 2015 3:20 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, May 22, 2015 at 02:24:50PM -0400, Connor Abbott

Re: [Mesa-dev] [PATCH 3/5] nir: constify instruction comparison functions

2015-06-01 Thread Pohjolainen, Topi
On Mon, Jun 01, 2015 at 06:50:24AM -0700, Jason Ekstrand wrote: On Jun 1, 2015 3:20 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, May 22, 2015 at 02:24:50PM -0400, Connor Abbott wrote: Signed-off-by: Connor Abbott cwabbo...@gmail.com ---

[Mesa-dev] [PATCH 5/6] egl/dri2: silence uninitialized variable warnings

2015-06-01 Thread Brian Paul
And update assertions to be more informative. --- src/egl/drivers/dri2/egl_dri2.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index fe5cbc8..8b915ef 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++

[Mesa-dev] [PATCH 4/6] gallivm: silence unused var warnings for non-debug build

2015-06-01 Thread Brian Paul
--- src/gallium/auxiliary/gallivm/lp_bld_format_aos.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c b/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c index 3c25c32..efe7170 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format_aos.c

Re: [Mesa-dev] [PATCH 1/6] draw: silence unused var warnings for non-debug build

2015-06-01 Thread Jose Fonseca
On 01/06/15 14:20, Brian Paul wrote: --- src/gallium/auxiliary/draw/draw_llvm.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index b9e55af..885c27c 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c

Re: [Mesa-dev] [PATCH 3/5] nir: constify instruction comparison functions

2015-06-01 Thread Jason Ekstrand
On Jun 1, 2015 3:20 AM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, May 22, 2015 at 02:24:50PM -0400, Connor Abbott wrote: Signed-off-by: Connor Abbott cwabbo...@gmail.com --- src/glsl/nir/nir.h | 4 ++-- src/glsl/nir/nir_instr_compare.c | 8 2

Re: [Mesa-dev] [PATCH 1/2] i965: Don't use a temporary when generating an indirect sample

2015-06-01 Thread Neil Roberts
Many thanks for all the reviews and testing. I've pushed the two patches. The remaining sampler_array_indexing tests that fail on SKL (the gs ones) are because of a separate problem described in this patch: http://patchwork.freedesktop.org/patch/50676/ I'm not really sure whether that's the

[Mesa-dev] XDC2015: Call for papers

2015-06-01 Thread Tom Stellard
Hello, I have the pleasure to announce that the X.org Developer Conference 2015 will be held in Toronto, Canada from September 16 to September 18. The venue is located at Seneca College's campus at York University. The official page for the event is http://www.x.org/wiki/Events/XDC2015 while the

[Mesa-dev] [PATCH 2/6] st/mesa: silence unused var warnings for non-debug build

2015-06-01 Thread Brian Paul
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 719d081..db190c9 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++

Re: [Mesa-dev] [PATCH 02/19] glapi: Add ARB_shader_subroutine functions and enums

2015-06-01 Thread Tapani
You did not do changes I suggested but it looks to me that the comments are still valid. (http://lists.freedesktop.org/archives/mesa-dev/2015-April/082523.html) In a nutshell, parameters that get written to should have qualifier output=true. It could be that it is not strictly required,

[Mesa-dev] [PATCH 1/6] draw: silence unused var warnings for non-debug build

2015-06-01 Thread Brian Paul
--- src/gallium/auxiliary/draw/draw_llvm.c | 4 1 file changed, 4 insertions(+) diff --git a/src/gallium/auxiliary/draw/draw_llvm.c b/src/gallium/auxiliary/draw/draw_llvm.c index b9e55af..885c27c 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.c +++

[Mesa-dev] [PATCH 6/6] gallium/util: silence silence unused var warnings for non-debug build

2015-06-01 Thread Brian Paul
--- src/gallium/auxiliary/util/u_format_etc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/util/u_format_etc.c b/src/gallium/auxiliary/util/u_format_etc.c index f909b16..63e03ff 100644 --- a/src/gallium/auxiliary/util/u_format_etc.c +++

[Mesa-dev] [PATCH 3/6] pipebuffer: silence unused var warnings for non-debug build

2015-06-01 Thread Brian Paul
--- src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c b/src/gallium/auxiliary/pipebuffer/pb_buffer_fenced.c index 3bd9cd7..fc81e11 100644 ---

Re: [Mesa-dev] [RFC v2 13/15] mesa/macros: add power-of-two assertions for ALIGN and ROUND_DOWN_TO

2015-06-01 Thread Brian Paul
On 06/01/2015 11:13 AM, Nanley Chery wrote: From: Nanley Chery nanley.g.ch...@intel.com ALIGN and ROUND_DOWN_TO both require that the alignment value passed into the macro be a power of two in the comments. Using software assertions verifies this to be the case. Signed-off-by: Nanley Chery

[Mesa-dev] [RFC v2 12/15] i965: correct VALIGN for 2d textures on Skylake

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com In agreement with commit 4ab8d59a23, vertical alignment values are equal to four times the block height on Gen9+. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/drivers/dri/i965/brw_tex_layout.c | 7 +-- 1 file changed, 5

[Mesa-dev] [RFC v2 01/15] mesa/formats: define the 2D ASTC formats

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com Includes definition of the formats, updates to functions likely to be used, as well as changes necessary for compilation. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/format_info.py | 3 + src/mesa/main/formats.c | 130

[Mesa-dev] [RFC v2 11/15] i965: change the meaning of cpp for compressed textures

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com An ASTC block takes up 16 bytes for all block width and height configurations. This size is not integrally divisible by all ASTC block widths. Therefore cpp is changed to mean bytes per block if the texture is compressed. Along with changing the cpp

[Mesa-dev] [RFC v2 08/15] mesa/formats: store whether or not a format is sRGB in gl_format_info

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com v2: remove extra newline. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/format_info.py | 2 ++ src/mesa/main/formats.c | 28 2 files changed, 6 insertions(+), 24 deletions(-) diff --git

[Mesa-dev] [RFC v2 13/15] mesa/macros: add power-of-two assertions for ALIGN and ROUND_DOWN_TO

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com ALIGN and ROUND_DOWN_TO both require that the alignment value passed into the macro be a power of two in the comments. Using software assertions verifies this to be the case. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com ---

[Mesa-dev] [RFC v2 09/15] i965/surface_formats: add support for 2D ASTC surface formats

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com Intel surface formats default to LDR unless there is hardware support for HDR and the texture is able to be processed in HDR mode. v2: remove extra newlines. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com ---

[Mesa-dev] [RFC v2 06/15] mesa/texcompress: enable translation between MESA and GL ASTC formats

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/texcompress.c | 114 1 file changed, 114 insertions(+) diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index

[Mesa-dev] [RFC v2 02/15] glapi: add support for KHR_texture_compression_astc_ldr

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com v2: correct the spelling of the sRGB variants. remove spaces around = when setting the enum value. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- .../glapi/gen/KHR_texture_compression_astc.xml | 40 ++

[Mesa-dev] [RFC v2 05/15] mesa/glformats: recognize ASTC formats as compressed

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/glformats.c | 29 + 1 file changed, 29 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 6a77c91..10e2a87 100644

[Mesa-dev] [RFC v2 04/15] mesa: add ASTC extensions to the extensions table

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com v2: alphabetize the extensions. remove OES ASTC extension. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/extensions.c | 2 ++ src/mesa/main/mtypes.h | 2 ++ 2 files changed, 4 insertions(+) diff --git

[Mesa-dev] [RFC v2 03/15] mesa: disable online compression for ASTC formats

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/main/texcompress.c | 22 ++ src/mesa/main/teximage.c| 28 2 files changed, 50 insertions(+) diff --git a/src/mesa/main/texcompress.c

Re: [Mesa-dev] [RFC v2 13/15] mesa/macros: add power-of-two assertions for ALIGN and ROUND_DOWN_TO

2015-06-01 Thread Brian Paul
On 06/01/2015 11:46 AM, Brian Paul wrote: On 06/01/2015 11:13 AM, Nanley Chery wrote: From: Nanley Chery nanley.g.ch...@intel.com ALIGN and ROUND_DOWN_TO both require that the alignment value passed into the macro be a power of two in the comments. Using software assertions verifies this to be

Re: [Mesa-dev] [RFC v2 12/15] i965: correct VALIGN for 2d textures on Skylake

2015-06-01 Thread Anuj Phogat
On Mon, Jun 1, 2015 at 10:13 AM, Nanley Chery nanleych...@gmail.com wrote: From: Nanley Chery nanley.g.ch...@intel.com In agreement with commit 4ab8d59a23, vertical alignment values are equal to four times the block height on Gen9+. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com ---

[Mesa-dev] [RFC v2 07/15] mesa/teximage: return the base internal format of the ASTC formats

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com This is necesary to initialize the gl_texture_image struct. From the KHR_texture_compression_astc_ldr spec: Added to Section 3.8.6, Compressed Texture Images Add the tokens specified above to Table 3.16, Compressed Internal Formats. In all

[Mesa-dev] [RFC v2 00/15] Add support for 2D ASTC

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com In this revision, comments have been taken into account and most rendering issues have been fixed. Unfortunately, when rendering the reference sRGB textures, the HW-loaded compressed versions are still rendered darker than the pre-decoded SW ones. The

[Mesa-dev] [RFC v2 14/15] i965: refactor miptree alignment calculation code

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com - Remove redundant checks and comments by grouping our calculations for align_w and align_h wherever possible. - Don't pass more parameters than necessary. - Minor code simplifications. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com ---

[Mesa-dev] [RFC v2 15/15] swrast: add a new macro, FETCH_COMPRESSED

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com This patch creates a new macro, FETCH_COMPRESSED - similar in nature to the other FETCH_* macros. This reduces repetition in the code that deals with compressed textures. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com ---

[Mesa-dev] [RFC v2 10/15] i965: enable ASTC support for Skylake

2015-06-01 Thread Nanley Chery
From: Nanley Chery nanley.g.ch...@intel.com v2: remove OES ASTC extension reference. Signed-off-by: Nanley Chery nanley.g.ch...@intel.com --- src/mesa/drivers/dri/i965/intel_extensions.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_extensions.c

Re: [Mesa-dev] [PATCH 5/6] egl/dri2: silence uninitialized variable warnings

2015-06-01 Thread Matt Turner
On Mon, Jun 1, 2015 at 6:20 AM, Brian Paul bri...@vmware.com wrote: And update assertions to be more informative. --- src/egl/drivers/dri2/egl_dri2.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c

Re: [Mesa-dev] [PATCH V2 02/22] i965: Choose tiling in brw_miptree_layout() function

2015-06-01 Thread Anuj Phogat
On Fri, Apr 24, 2015 at 10:54 AM, Anuj Phogat anuj.pho...@gmail.com wrote: On Thu, Apr 23, 2015 at 4:38 PM, Pohjolainen, Topi topi.pohjolai...@intel.com wrote: On Fri, Apr 17, 2015 at 04:51:23PM -0700, Anuj Phogat wrote: This refactoring is required by later patches in this series.

Re: [Mesa-dev] [RFC v2 12/15] i965: correct VALIGN for 2d textures on Skylake

2015-06-01 Thread Neil Roberts
Looks good to me. Reviewed-by: Neil Roberts n...@linux.intel.com - Neil Anuj Phogat anuj.pho...@gmail.com writes: Adding Neil to Cc who committed 4ab8d59. Reviewed-by: Anuj Phogat anuj.pho...@gmail.com ___ mesa-dev mailing list

[Mesa-dev] [PATCH] mesa: fix GLES1 version initialization for gallium

2015-06-01 Thread Marek Olšák
From: Marek Olšák marek.ol...@amd.com eglCreateContext was failing. Broken by 03fd6704db9f1d0f203bf8da18bd587c7e35ce60 --- src/mesa/main/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index 409e5ae..572f2da 100644

Re: [Mesa-dev] [PATCH] mesa: fix GLES1 version initialization for gallium

2015-06-01 Thread Matt Turner
On Mon, Jun 1, 2015 at 12:44 PM, Marek Olšák mar...@gmail.com wrote: From: Marek Olšák marek.ol...@amd.com eglCreateContext was failing. Broken by 03fd6704db9f1d0f203bf8da18bd587c7e35ce60 --- src/mesa/main/version.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [Mesa-dev] [PATCH 1/6] i965: Consolidate certain miptree params to flags

2015-06-01 Thread Matt Turner
On Fri, May 29, 2015 at 12:33 PM, Chad Versace chad.vers...@intel.com wrote: On Fri 29 May 2015, Matt Turner wrote: On Thu, May 28, 2015 at 10:21 AM, Ben Widawsky @@ -286,7 +284,7 @@ intel_miptree_create_layout(struct brw_context *brw, mt-logical_height0 = height0;

[Mesa-dev] [PATCH 2/2] prog_to_nir: Remove OPCODE_MOV special case.

2015-06-01 Thread Matt Turner
OPCODE_MOV is in the op_trans[] array. --- src/mesa/program/prog_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 5e104e7..d6f165e 100644 --- a/src/mesa/program/prog_to_nir.c +++

[Mesa-dev] [PATCH 1/2] prog_to_nir: Remove from op_trans[] opcodes handled in the switch.

2015-06-01 Thread Matt Turner
--- I'm not missing something, am I? src/mesa/program/prog_to_nir.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 5ca81e5..5e104e7 100644 --- a/src/mesa/program/prog_to_nir.c +++

Re: [Mesa-dev] [RFC v2 15/15] swrast: add a new macro, FETCH_COMPRESSED

2015-06-01 Thread Anuj Phogat
On Mon, Jun 1, 2015 at 10:13 AM, Nanley Chery nanleych...@gmail.com wrote: From: Nanley Chery nanley.g.ch...@intel.com This patch creates a new macro, FETCH_COMPRESSED - similar in nature to the other FETCH_* macros. This reduces repetition in the code that deals with compressed textures.

[Mesa-dev] [Bug 89018] Civilization: Beyond Earth terrain section not rendered

2015-06-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=89018 --- Comment #17 from Sami Liedes sami.lie...@iki.fi --- I noticed that the game works perfectly for me on Intel HD Graphics 5500 on a Debian unstable with mesa from Debian unstable (though I think Xorg from experimental). Loading the same game on

Re: [Mesa-dev] ARB_shader_subroutine

2015-06-01 Thread Dave Airlie
I've merged a bunch of Chris's parser changes into mine, mainly because the parser needs a bunch of changes to handle the fact that .name() no longer parses the same, and after reading the GLSL spec and glslang, and failing every other way I tried, I produced what looks to be the correct

[Mesa-dev] [PATCH] glsl: use a subroutine-int conversion unop

2015-06-01 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This is what it looks like, seems to work fine. Signed-off-by: Dave Airlie airl...@redhat.com --- src/glsl/ir.cpp| 4 +++- src/glsl/ir.h | 1 + src/glsl/ir_builder.cpp| 6 ++

Re: [Mesa-dev] enable pbuffer for drm platform

2015-06-01 Thread Liu, Ying2
Emil, Thank you so much for your reply. I will rebase my patch to mesa master branch and rerun the tests. I will then send you the test result. Thanks Ying -Original Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Saturday, May 30, 2015 4:57 AM To: Liu, Ying2 Cc:

Re: [Mesa-dev] [PATCH 2/2] prog_to_nir: Remove OPCODE_MOV special case.

2015-06-01 Thread Kenneth Graunke
On Monday, June 01, 2015 01:03:10 PM Matt Turner wrote: OPCODE_MOV is in the op_trans[] array. --- src/mesa/program/prog_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/prog_to_nir.c b/src/mesa/program/prog_to_nir.c index 5e104e7..d6f165e

Re: [Mesa-dev] [PATCH resend 1/7] i965: Define HW-binding table and resource streamer control opcodes

2015-06-01 Thread Kenneth Graunke
On Monday, June 01, 2015 03:14:24 PM Abdiel Janulgue wrote: v2: Simplify HW binding table bit definitions and magic constants (Topi) v3: Add Broadwell support. Cc: kristian.h.kristen...@intel.com Cc: topi.pohjolai...@intel.com Cc: kenn...@whitecape.org Reviewed-by: Topi Pohjolainen

Re: [Mesa-dev] enable pbuffer for drm platform

2015-06-01 Thread Liu, Ying2
Matt, Thank you so much for reviewing my patch. This is my first time sending out patch to mesa community. Your comments are very helpful. I am in a training right now. I will update my patch according to the comments after that. Thanks Ying -Original Message- From: Matt Turner

Re: [Mesa-dev] [PATCH 1/2] prog_to_nir: Remove from op_trans[] opcodes handled in the switch.

2015-06-01 Thread Kenneth Graunke
On Monday, June 01, 2015 01:03:09 PM Matt Turner wrote: --- I'm not missing something, am I? src/mesa/program/prog_to_nir.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) Nope, I think this was copy and pasted. IIRC these do scalar operations and splat results,

Re: [Mesa-dev] [PATCH] glsl: use a subroutine-int conversion unop

2015-06-01 Thread Kenneth Graunke
On Tuesday, June 02, 2015 10:16:11 AM Dave Airlie wrote: From: Dave Airlie airl...@redhat.com This is what it looks like, seems to work fine. Signed-off-by: Dave Airlie airl...@redhat.com --- src/glsl/ir.cpp| 4 +++- src/glsl/ir.h

Re: [Mesa-dev] [PATCH 2/2] prog_to_nir: Remove OPCODE_MOV special case.

2015-06-01 Thread Eric Anholt
Kenneth Graunke kenn...@whitecape.org writes: On Monday, June 01, 2015 01:03:10 PM Matt Turner wrote: OPCODE_MOV is in the op_trans[] array. --- src/mesa/program/prog_to_nir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/program/prog_to_nir.c