[Mesa-dev] [Bug 91711] mesa-9.1.3: undefined reference to `wglGetProcAddress@4'

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91711 Timothy Arceri changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 58716] Crash in _mesa_unpack_rgba_row() during glDrawArrays() call

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58716 Timothy Arceri changed: What|Removed |Added Resolution|--- |INVALID

[Mesa-dev] [Bug 26820] Sharing contexts crashes on Windows

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=26820 Timothy Arceri changed: What|Removed |Added Resolution|--- |INVALID

[Mesa-dev] [Bug 94088] [llvmpipe] SIGFPE pthread_barrier_destroy.c:40

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94088 Steve Langasek changed: What|Removed |Added CC|

[Mesa-dev] [Bug 94088] [llvmpipe] SIGFPE pthread_barrier_destroy.c:40

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94088 Steve Langasek changed: What|Removed |Added Resolution|FIXED |---

[Mesa-dev] [Bug 94512] X segfaults with glx-tls enabled in a x32 environment

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94512 Michel Dänzer changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop

Re: [Mesa-dev] [PATCH 00/11] radeonsi: shader buffer support (atomic counters, ssbo)

2016-03-21 Thread eocallaghan
Hi Nicolai, Thanks for taking over this work and going the whole nine yards with it! This series is, Reviewed-by: Edward O'Callaghan Thanks again, Edward. On 2016-03-22 10:21, Nicolai Hähnle wrote: Hi, since shader images have laid most of the foundation,

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 72326, which changed state. Bug 72326 Summary: [swrast] piglit glean pbo regression https://bugs.freedesktop.org/show_bug.cgi?id=72326 What|Removed |Added

[Mesa-dev] [Bug 72326] [swrast] piglit glean pbo regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=72326 Vinson Lee changed: What|Removed |Added Resolution|--- |INVALID

[Mesa-dev] [Bug 79039] [TRACKER] Mesa 10.2 release tracker

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79039 Bug 79039 depends on bug 72326, which changed state. Bug 72326 Summary: [swrast] piglit glean pbo regression https://bugs.freedesktop.org/show_bug.cgi?id=72326 What|Removed |Added

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78318 --- Comment #6 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) piglit glsl-kwin-blur-1 regression is still present. -- You are receiving this mail because: You are the assignee

Re: [Mesa-dev] [PATCH] mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled.

2016-03-21 Thread eocallaghan
Too quick, very nice cleanup, thanks. Reviewed-by: Edward O'Callaghan On 2016-03-22 12:58, Bas Nieuwenhuizen wrote: This removes any dependency on driver validation of the number of framebuffer samples. Signed-off-by: Bas Nieuwenhuizen

Re: [Mesa-dev] [PATCH] tgsi: drop unused set_exec/kill_mask interfaces.

2016-03-21 Thread Brian Paul
On 03/21/2016 06:29 PM, Dave Airlie wrote: From: Dave Airlie These don't get used and haven't been in git history from what I can see, so drop them. Well, tgsi_set_exec_mask() was used, but had no effect. Signed-off-by: Dave Airlie ---

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=77288 --- Comment #7 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) piglit glean glsl1 regression on swrast is still present. -- You are receiving this mail because: You are the

[Mesa-dev] [Bug 59777] [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-distance regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=59777 Vinson Lee changed: What|Removed |Added Resolution|--- |FIXED

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 59777, which changed state. Bug 59777 Summary: [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-distance regression https://bugs.freedesktop.org/show_bug.cgi?id=59777 What|Removed

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 61153, which changed state. Bug 61153 Summary: [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-vertex regression https://bugs.freedesktop.org/show_bug.cgi?id=61153 What|Removed

[Mesa-dev] [Bug 61153] [softpipe] piglit interpolation-noperspective-gl_BackColor-flat-vertex regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61153 Vinson Lee changed: What|Removed |Added Status|NEW |RESOLVED

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 61326, which changed state. Bug 61326 Summary: [softpipe] piglit interpolation-noperspective-gl_BackSecondaryColor-flat-vertex regression https://bugs.freedesktop.org/show_bug.cgi?id=61326 What|Removed

[Mesa-dev] [Bug 61326] [softpipe] piglit interpolation-noperspective-gl_BackSecondaryColor-flat-vertex regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=61326 Vinson Lee changed: What|Removed |Added Resolution|--- |FIXED

[Mesa-dev] [Bug 91100] [softpipe] piglit egl-create-pbuffer-surface regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=91100 --- Comment #1 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the assignee for the bug. You are

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

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79706 Bug 79706 depends on bug 90539, which changed state. Bug 90539 Summary: [softpipe] piglit varying-packing-simple dmat3 array regression https://bugs.freedesktop.org/show_bug.cgi?id=90539 What|Removed |Added

[Mesa-dev] [Bug 90539] [softpipe] piglit varying-packing-simple dmat3 array regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=90539 Vinson Lee changed: What|Removed |Added Resolution|--- |FIXED

[Mesa-dev] [Bug 92552] [softpipe] piglit egl-create-context-valid-flag-forward-compatible-gl regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92552 --- Comment #11 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the assignee for the bug. You are

[Mesa-dev] [Bug 92946] [softpipe] piglit fcc-front-buffer-distraction regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92946 --- Comment #1 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the QA Contact for the bug. You

[Mesa-dev] [Bug 92954] [softpipe] piglit drawbuffer-modes regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92954 --- Comment #1 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (master 11.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the assignee for the bug. You are

[Mesa-dev] [Bug 93203] [softpipe] piglit gl30basic regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93203 --- Comment #1 from Vinson Lee --- mesa: 1e8435ce0cce671024ebf9c5465ea8bdcb563b69 (11.3.0-devel) This regression is still present. -- You are receiving this mail because: You are the assignee for the bug. You are the QA

[Mesa-dev] [Bug 94657] [llvmpipe] [softpipe] piglit arb_texture_view-getteximage-srgb regression

2016-03-21 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94657 Bug ID: 94657 Summary: [llvmpipe] [softpipe] piglit arb_texture_view-getteximage-srgb regression Product: Mesa Version: git Hardware: x86-64 (AMD64) OS:

[Mesa-dev] [PATCH] mesa: replace gl_context->Multisample._Enabled with _mesa_is_multisample_enabled.

2016-03-21 Thread Bas Nieuwenhuizen
This removes any dependency on driver validation of the number of framebuffer samples. Signed-off-by: Bas Nieuwenhuizen --- src/mesa/drivers/dri/i965/brw_util.h | 5 +++-- src/mesa/drivers/dri/i965/gen6_cc.c| 6 +++---

Re: [Mesa-dev] [PATCH 09/21] nir: Add a phi node placement helper

2016-03-21 Thread Connor Abbott
On Mon, Mar 21, 2016 at 7:37 PM, Jason Ekstrand wrote: > > > On Mon, Mar 21, 2016 at 4:21 PM, Connor Abbott wrote: >> >> On Mon, Mar 21, 2016 at 6:51 PM, Connor Abbott >> wrote: >> > So overall, I think that there needs to be some

Re: [Mesa-dev] [PATCH] tgsi: drop unused set_exec/kill_mask interfaces.

2016-03-21 Thread eocallaghan
Reviewed-by: Edward O'Callaghan On 2016-03-22 11:29, Dave Airlie wrote: From: Dave Airlie These don't get used and haven't been in git history from what I can see, so drop them. Signed-off-by: Dave Airlie ---

[Mesa-dev] [PATCH] tgsi: drop unused set_exec/kill_mask interfaces.

2016-03-21 Thread Dave Airlie
From: Dave Airlie These don't get used and haven't been in git history from what I can see, so drop them. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c | 6 -- src/gallium/auxiliary/draw/draw_vs_exec.c | 6 --

Re: [Mesa-dev] [PATCH] egl: adds EGL_KHR_reusable_sync to egl_dri

2016-03-21 Thread dw kim
On Mon, Mar 21, 2016 at 08:35:20PM +0100, Marek Olšák wrote: > On Wed, Mar 9, 2016 at 2:28 AM, Dongwon Kim wrote: > > This patch enables an EGL extension, EGL_KHR_reusable_sync. > > This new extension basically provides a way for multiple APIs or > > threads to be excuted

[Mesa-dev] [PATCH] swrast: silence texture_slices warning

2016-03-21 Thread Dave Airlie
From: Dave Airlie In file included from ../../src/compiler/glsl/list.h:74:0, from ./main/mtypes.h:47, from ./main/errors.h:43, from ./main/imports.h:44, from ./main/context.h:52, from

Re: [Mesa-dev] [PATCH] radeonsi: fix out-of-bounds indexing of shader images

2016-03-21 Thread eocallaghan
Reviewed-by: Edward O'Callaghan On 2016-03-22 07:41, Nicolai Hähnle wrote: From: Nicolai Hähnle Results are undefined but may not crash. Without this change, out-of-bounds indexing can lead to VM faults and GPU hangs. Constant

Re: [Mesa-dev] [PATCH 09/21] nir: Add a phi node placement helper

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 4:21 PM, Connor Abbott wrote: > On Mon, Mar 21, 2016 at 6:51 PM, Connor Abbott > wrote: > > So overall, I think that there needs to be some explanation of the > > design choices in the implementation. The API documentation is

Re: [Mesa-dev] [PATCH] radeonsi: fix out-of-bounds indexing of shader images

2016-03-21 Thread Nicolai Hähnle
On 21.03.2016 15:41, Nicolai Hähnle wrote: From: Nicolai Hähnle Results are undefined but may not crash. Without this change, out-of-bounds indexing can lead to VM faults and GPU hangs. Constant buffers, samplers, and possibly others will eventually need similar

[Mesa-dev] [PATCH 02/11] radeonsi: implement set_shader_buffers

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_descriptors.c | 61 +- src/gallium/drivers/radeonsi/si_pipe.h| 1 + src/gallium/drivers/radeonsi/si_shader.c | 5 +- src/gallium/drivers/radeonsi/si_shader.h | 114

[Mesa-dev] [PATCH 04/11] radeonsi: adjust buffer_append_args to take a 128 bit resource

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle Move the buffer resource extraction code out into its own function. --- src/gallium/drivers/radeonsi/si_shader.c | 30 +++--- 1 file changed, 23 insertions(+), 7 deletions(-) diff --git

[Mesa-dev] [PATCH 03/11] radeonsi: preload shader buffers in shaders

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 17 + 1 file changed, 17 insertions(+) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index efc00f3..0be886e 100644 ---

[Mesa-dev] [PATCH 08/11] radeonsi: add shader buffer support to TGSI_OPCODE_STORE

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 129 ++- 1 file changed, 111 insertions(+), 18 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 11/11] docs: mark atomic counters and SSBOs as done for radeonsi

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle While I'm at it, add the image extensions in the GL ES section of GL3.txt. --- docs/GL3.txt | 12 ++-- docs/relnotes/11.3.0.html | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/docs/GL3.txt

[Mesa-dev] [PATCH 09/11] radeonsi: add shader buffer support to TGSI_OPCODE_RESQ

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 1a0f75b..87dc229 100644

[Mesa-dev] [PATCH 05/11] radeonsi: add offset parameter to buffer_append_args

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 15 ++- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index 1313134..b5e962f 100644 ---

[Mesa-dev] [PATCH 07/11] radeonsi: add shader buffer support to TGSI_OPCODE_LOAD

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 89 +--- 1 file changed, 70 insertions(+), 19 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 06/11] radeonsi: add shader buffer support to TGSI_OPCODE_ATOM*

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 61 1 file changed, 46 insertions(+), 15 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c index

[Mesa-dev] [PATCH 10/11] radeonsi: enable shader buffer pipe caps

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_pipe.c | 4 ++-- src/gallium/drivers/radeonsi/si_state.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_pipe.c b/src/gallium/drivers/radeonsi/si_pipe.c

[Mesa-dev] [PATCH 00/11] radeonsi: shader buffer support (atomic counters, ssbo)

2016-03-21 Thread Nicolai Hähnle
Hi, since shader images have laid most of the foundation, here are shader buffers now. This is the last extension missing for OpenGL 4.2 (we still need to turn on GLSL 4.2, but I think that only involves flipping a bit). As with shader images, this extension needs bleeding edge LLVM - this time,

[Mesa-dev] [PATCH 01/11] radeonsi: move resetting of constant buffers into a separate function

2016-03-21 Thread Nicolai Hähnle
From: Nicolai Hähnle This will be re-used for shader buffers. --- src/gallium/drivers/radeonsi/si_descriptors.c | 41 +-- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c

Re: [Mesa-dev] [PATCH 09/21] nir: Add a phi node placement helper

2016-03-21 Thread Connor Abbott
On Mon, Mar 21, 2016 at 6:51 PM, Connor Abbott wrote: > So overall, I think that there needs to be some explanation of the > design choices in the implementation. The API documentation is great, > but digging into the implementation might be a little daunting without >

Re: [Mesa-dev] [PATCH 23/29] nir: add i2d and u2d opcodes

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:06 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > --- > src/compiler/nir/glsl_to_nir.cpp | 6 ++ > src/compiler/nir/nir_opcodes.py | 2 ++ > 2 files changed, 8 insertions(+) > > diff --git

Re: [Mesa-dev] [PATCH 19/29] nir: fix up bit sizes for undefined alu sources

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > Undefined sources in alu operations don't have a valid bit size because > they are uninitialized. Simply ignoring undefined sources for bit size >

Re: [Mesa-dev] [PATCH] radeonsi: cache flush/invalidation for missing PIPE_BARRIER_*_BUFFER bits (v2)

2016-03-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Mar 21, 2016 at 5:38 PM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > This fixes arb_shader_image_load_store-host-mem-barrier. > > v2: flush TC L2 for index buffers on <= CIK (Marek) >

Re: [Mesa-dev] [PATCH 09/21] nir: Add a phi node placement helper

2016-03-21 Thread Connor Abbott
So overall, I think that there needs to be some explanation of the design choices in the implementation. The API documentation is great, but digging into the implementation might be a little daunting without knowing e.g. why NEEDS_PHI is a thing. From what I gather, there are three potential

Re: [Mesa-dev] [PATCH 14/29] nir: add support for printing double immediates

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Connor Abbott > > --- > src/compiler/nir/nir_print.c | 5 - > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/src/compiler/nir/nir_print.c

Re: [Mesa-dev] [PATCH 07/29] nir/lower_tex: fix get_zero_or_one() to use sized types

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 3:39 PM, Jason Ekstrand wrote: > > > On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < > sigles...@igalia.com> wrote: > >> From: Iago Toral Quiroga >> >> v2 (Sam): >> - Use helper to get type size from nir_alu_type

Re: [Mesa-dev] [PATCH 09/29] program/nir: include bit-size information

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > --- > 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 >

Re: [Mesa-dev] tgsi_set_exec_mask?

2016-03-21 Thread Brian Paul
On 03/21/2016 11:40 AM, Brian Paul wrote: On 03/20/2016 08:08 PM, Dave Airlie wrote: This appears to set some values into some temp register that we never read from or look at again, should it be setting something that ExecMask gets set to at machine run time? just noticed it while trying to

Re: [Mesa-dev] [PATCH 07/29] nir/lower_tex: fix get_zero_or_one() to use sized types

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > v2 (Sam): > - Use helper to get type size from nir_alu_type enum. > --- > src/compiler/nir/nir_lower_tex.c | 3 ++- > 1 file changed, 2 insertions(+), 1

Re: [Mesa-dev] [PATCH 05/29] nir/clone: clone bit_size in clone_load_const

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Iago Toral Quiroga > > --- > src/compiler/nir/nir_clone.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/src/compiler/nir/nir_clone.c b/src/compiler/nir/nir_clone.c >

[Mesa-dev] [PATCH 3/8] tgsi: introduce NonHelperMask

2016-03-21 Thread Dave Airlie
From: Dave Airlie This is a mask of which of the current 2x2 grid are non-helper invocations. This allows us to mask off the helper invocations later for the image operations. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 2 ++

[Mesa-dev] [PATCH 4/8] softpipe: add support for explicit early depth testing

2016-03-21 Thread Dave Airlie
From: Dave Airlie ARB_shader_image_load_store adds support for explicit early depth testing. However we need to make sure we don't overwrite values using the shader written values in this case. This fixes early depth testing in softpipe to conform with those requirements.

[Mesa-dev] [PATCH 7/8] softpipe: add image support to softpipe

2016-03-21 Thread Dave Airlie
From: Dave Airlie This adds support for ARB_shader_image_load_store to softpipe. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 4 +- src/gallium/drivers/softpipe/Makefile.sources | 2 +

[Mesa-dev] [PATCH 6/8] draw: add support for passing images to vs/gs shaders.

2016-03-21 Thread Dave Airlie
From: Dave Airlie This just adds support for passing through images to the tgsi execution stage. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_context.c | 18 ++ src/gallium/auxiliary/draw/draw_context.h | 6 ++

[Mesa-dev] [PATCH 8/8] docs: update softpipe status for shader_image_load_store.

2016-03-21 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- docs/GL3.txt | 2 +- docs/relnotes/11.3.0.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index 89cc662..f573c87 100644 ---

[Mesa-dev] [PATCH 5/8] tgsi: add support for image operations to tgsi_exec.

2016-03-21 Thread Dave Airlie
From: Dave Airlie This adds support for load/store/atomic operations on images along with image tracking support. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c | 2 +- src/gallium/auxiliary/draw/draw_vs_exec.c | 2 +-

[Mesa-dev] [PATCH 1/8] tgsi_exec: add support for up to 3 array registers

2016-03-21 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index

[Mesa-dev] [PATCH 2/8] tgsi_exec: handle execmask when doing indirect lookups

2016-03-21 Thread Dave Airlie
From: Dave Airlie Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.c b/src/gallium/auxiliary/tgsi/tgsi_exec.c

[Mesa-dev] softpipe ARB_shader_image_load_store support

2016-03-21 Thread Dave Airlie
I just felt like writing this as part learning, part Vulkan needs images so my hacks on softpipe needs them. It passes all the piglit tests. Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] [PATCH 07/12] i965/peephole_ffma: Don't fuse exact adds

2016-03-21 Thread Francisco Jerez
Jason Ekstrand writes: > --- > src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c > b/src/mesa/drivers/dri/i965/brw_nir_opt_peephole_ffma.c

Re: [Mesa-dev] [PATCH 06/12] nir/cse: Properly handle nir_ssa_def.exact

2016-03-21 Thread Francisco Jerez
Jason Ekstrand writes: > --- > src/compiler/nir/nir_instr_set.c | 16 ++-- > 1 file changed, 14 insertions(+), 2 deletions(-) > > diff --git a/src/compiler/nir/nir_instr_set.c > b/src/compiler/nir/nir_instr_set.c > index 159ded0..00e4784 100644 > ---

Re: [Mesa-dev] [PATCH 10/12] glsl/opt_algebraic: Don't handle invariant or precise trees

2016-03-21 Thread Francisco Jerez
Jason Ekstrand writes: > --- > src/compiler/glsl/opt_algebraic.cpp | 16 > 1 file changed, 16 insertions(+) > > diff --git a/src/compiler/glsl/opt_algebraic.cpp > b/src/compiler/glsl/opt_algebraic.cpp > index 1e58062..2fea240 100644 > ---

Re: [Mesa-dev] [PATCH] i965: Fix assert conditions for src/dst x/y offsets

2016-03-21 Thread Kenneth Graunke
On Monday, March 21, 2016 11:33:46 AM PDT Anuj Phogat wrote: > Signed-off-by: Anuj Phogat > Cc: mesa-sta...@lists.freedesktop.org > --- > src/mesa/drivers/dri/i965/intel_copy_image.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git

Re: [Mesa-dev] tgsi_set_exec_mask?

2016-03-21 Thread Brian Paul
On 03/20/2016 08:08 PM, Dave Airlie wrote: This appears to set some values into some temp register that we never read from or look at again, should it be setting something that ExecMask gets set to at machine run time? just noticed it while trying to work out the various mask for shader

Re: [Mesa-dev] [PATCH 03/29] nir/vars_to_ssa: adapt to different bit sizes

2016-03-21 Thread Jason Ekstrand
On Mon, Mar 21, 2016 at 5:05 AM, Samuel Iglesias Gonsálvez < sigles...@igalia.com> wrote: > From: Connor Abbott > > v2 (Sam): > - Keep using nir_op_imov when calling nir_alu_instr_create() at > rename_variables_block(). nir_op_fmov is not needed anymore. > >

Re: [Mesa-dev] [PATCH 11/11] svga: use shader sampler view declarations

2016-03-21 Thread Charmaine Lee
Series looks good to me. Reviewed-by: Charmaine Lee From: Brian Paul Sent: Friday, March 18, 2016 4:49 PM To: mesa-dev@lists.freedesktop.org Cc: Charmaine Lee Subject: [PATCH 11/11] svga: use shader sampler view

[Mesa-dev] [V2 05/19] mesa: Handle 3d block sizes in teximage error checks

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/teximage.c | 19 +-- 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 616a929..5bd3a9d 100644 --- a/src/mesa/main/teximage.c +++

[Mesa-dev] [V2 03/19] mesa: Add an assert for BlockDepth in _mesa_get_format_block_size()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/formats.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index cfaac04..999e627 100644 --- a/src/mesa/main/formats.c +++ b/src/mesa/main/formats.c @@ -315,6 +315,9 @@

[Mesa-dev] [V2 09/19] mesa: Add mesa formats for astc 3d formats

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/formats.h | 21 + 1 file changed, 21 insertions(+) diff --git a/src/mesa/main/formats.h b/src/mesa/main/formats.h index c6653bc..b88466f 100644 --- a/src/mesa/main/formats.h +++ b/src/mesa/main/formats.h @@

[Mesa-dev] [V2 19/19] swrast: Add texfetch_funcs entries for astc 3d formats

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/swrast/s_texfetch.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/mesa/swrast/s_texfetch.c b/src/mesa/swrast/s_texfetch.c index 27de9b3..721d088 100644 ---

[Mesa-dev] [V2 07/19] mesa: Account for block depth in _mesa_format_image_size()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/formats.c | 44 +++- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 999e627..9d9830f 100644 ---

[Mesa-dev] [V2 16/19] mesa: Handle astc 3d formats in _mesa_base_tex_format()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/glformats.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 7245f66..fa064e5 100644 --- a/src/mesa/main/glformats.c +++

[Mesa-dev] [V2 08/19] glapi: Update dispatch XML files for OES_texture_compression_astc.xml

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mapi/glapi/gen/Makefile.am | 1 + .../glapi/gen/OES_texture_compression_astc.xml | 61 ++ src/mapi/glapi/gen/gl_API.xml | 2 + 3 files changed, 64 insertions(+) create

[Mesa-dev] [V2 14/19] mesa: Add a helper function is_astc_3d_format()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/glformats.c | 32 1 file changed, 32 insertions(+) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index 96ab393..edcafdc 100644 --- a/src/mesa/main/glformats.c +++

[Mesa-dev] [V2 12/19] mesa: Align the values of #define's in glheader.h

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/glheader.h | 58 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index a2d98d4..9d299e8 100644 ---

[Mesa-dev] [V2 02/19] mesa: Add a helper function to query 3D block sizes

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/formats.c | 21 + src/mesa/main/formats.h | 4 2 files changed, 25 insertions(+) diff --git a/src/mesa/main/formats.c b/src/mesa/main/formats.c index 3d2349b..cfaac04 100644 ---

[Mesa-dev] [V2 11/19] mesa: Add OES_texture_compression_astc to extension table and gl_extensions

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/extensions_table.h | 1 + src/mesa/main/mtypes.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/mesa/main/extensions_table.h b/src/mesa/main/extensions_table.h index 54a5bb0..cbf00bf 100644 ---

[Mesa-dev] [V2 04/19] mesa: Handle 3d block sizes in getteximage error checks

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texgetimage.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/src/mesa/main/texgetimage.c b/src/mesa/main/texgetimage.c index dc21551..02e6bc2 100644 --- a/src/mesa/main/texgetimage.c

[Mesa-dev] [V2 15/19] mesa: Account for astc 3d formats in _mesa_is_astc_format()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/glformats.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/glformats.c b/src/mesa/main/glformats.c index edcafdc..7245f66 100644 --- a/src/mesa/main/glformats.c +++

[Mesa-dev] [V2 13/19] mesa: Add the missing defines for GL_OES_texture_compression_astc

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/glheader.h | 23 +++ 1 file changed, 23 insertions(+) diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 9d299e8..40fada1 100644 --- a/src/mesa/main/glheader.h +++

[Mesa-dev] [V2 18/19] mesa: Enable translation between astc 3d gl formats and mesa formats

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress.c | 80 + 1 file changed, 80 insertions(+) diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 3f453b1..9567c5d 100644 ---

[Mesa-dev] [V2 10/19] mesa: Add entries for astc 3d formats initializing struct gl_format_info

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/formats.csv | 21 + 1 file changed, 21 insertions(+) diff --git a/src/mesa/main/formats.csv b/src/mesa/main/formats.csv index 8eb69ad..285921e 100644 --- a/src/mesa/main/formats.csv +++

[Mesa-dev] [V2 17/19] mesa: Handle astc 3d formats in _mesa_get_compressed_formats()

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texcompress.c | 29 + 1 file changed, 29 insertions(+) diff --git a/src/mesa/main/texcompress.c b/src/mesa/main/texcompress.c index 3ae6452..3f453b1 100644 --- a/src/mesa/main/texcompress.c +++

[Mesa-dev] [V2 06/19] mesa: Handle 3d block sizes in _mesa_compute_compressed_pixelstore

2016-03-21 Thread Anuj Phogat
Signed-off-by: Anuj Phogat --- src/mesa/main/texstore.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c index c33b109..b8d17f8 100644 --- a/src/mesa/main/texstore.c +++ b/src/mesa/main/texstore.c

[Mesa-dev] [V2 01/19] mesa: Add block depth field in struct gl_format_info

2016-03-21 Thread Anuj Phogat
This will be later required for 3D ASTC formats. Signed-off-by: Anuj Phogat --- src/mesa/main/format_info.py | 5 +- src/mesa/main/format_parser.py | 15 +- src/mesa/main/formats.c| 4 +- src/mesa/main/formats.csv | 529

[Mesa-dev] [V2 00/19] Add infrastructure for GL_OES_texture_compression_astc

2016-03-21 Thread Anuj Phogat
I don't have a hardware which supports this extension and I realized it after writing these patches. This blocks the testing of these patches. So, I'm sure there will be few things left out in this series. But I think it'll be nice to have 90% of the infrastructure ready when we will have a

Re: [Mesa-dev] [PATCH 3/3] radeonsi: cache flush/invalidation for missing PIPE_BARRIER_*_BUFFER bits

2016-03-21 Thread Nicolai Hähnle
On 21.03.2016 06:07, Marek Olšák wrote: On Sat, Mar 19, 2016 at 4:37 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle This fixes arb_shader_image_load_store-host-mem-barrier. --- src/gallium/drivers/radeonsi/si_state.c | 7 +-- 1 file

Re: [Mesa-dev] [PATCH 09/17] softpipe: Set samples and layers in set_framebuffer_state() cb

2016-03-21 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Sat, Mar 19, 2016 at 7:41 AM, Edward O'Callaghan wrote: > Carries across the number of samples and layers state in the > 'softpipe_set_framebuffer_state()' callback. This state is > part of

Re: [Mesa-dev] [PATCH 12/17] gallium/util: Ensure util_framebuffer_get_num_samples() is valid

2016-03-21 Thread Ilia Mirkin
On Mon, Mar 21, 2016 at 11:49 AM, Marek Olšák wrote: > On Sat, Mar 19, 2016 at 6:07 PM, Ilia Mirkin wrote: >> Normally samples == 0 is perfecly valid and means "not multisampling". >> Why is it invalid here? > > Because this function never returns 0 and

Re: [Mesa-dev] [PATCH] egl: adds EGL_KHR_reusable_sync to egl_dri

2016-03-21 Thread Marek Olšák
On Wed, Mar 9, 2016 at 2:28 AM, Dongwon Kim wrote: > This patch enables an EGL extension, EGL_KHR_reusable_sync. > This new extension basically provides a way for multiple APIs or > threads to be excuted synchronously via a "reusable sync" > primitive shared by those

  1   2   >