Re: [Mesa-dev] [PATCH 1/3] ptn: Silence unused parameter warning

2016-03-30 Thread Iago Toral
Series is: Reviewed-by: Iago Toral Quiroga On Wed, 2016-03-30 at 16:23 -0700, Ian Romanick wrote: > From: Ian Romanick > > The KIL instruction doesn't have a destination, so ptn_kil never uses > dest. > > program/prog_to_nir.c: In function ‘ptn_kil’: > program/prog_to_nir.c:547:38: warning: un

[Mesa-dev] [PATCH] glsl: remove tabs and fix some other style issues in glcpp-parse.y

2016-03-30 Thread Timothy Arceri
Note there are still tabs left in the parser rules. --- src/compiler/glsl/glcpp/glcpp-parse.y | 2754 - 1 file changed, 1341 insertions(+), 1413 deletions(-) diff --git a/src/compiler/glsl/glcpp/glcpp-parse.y b/src/compiler/glsl/glcpp/glcpp-parse.y index fbbf85b..

[Mesa-dev] [PATCH] mesa: add GL_OES/EXT_draw_buffers_indexed support

2016-03-30 Thread Ilia Mirkin
This is the same ext as ARB_draw_buffers_blend (plus some core functionality that already exists). Add the alias entrypoints. Signed-off-by: Ilia Mirkin --- This passes the dEQP tests *draw_buffers_indexed* and also the relevant *getintegeri_v* and *getbooleani_v* tests. docs/GL3.txt

[Mesa-dev] [RFC PATCH] GBM: Add map/unmap functions

2016-03-30 Thread Rob Herring
This adds GBM map and unmap functions. Unlike prior attempts, this version provides a region and usage flags for the mapping. The operation follows gallium transfer_map() function. This is complete enough to work on Android with gralloc using the GBM API. TODO: - split up patches - define and prop

[Mesa-dev] [PATCH 2/2] glsl: add ARB_ES3_1_compatibility support

2016-03-30 Thread Ilia Mirkin
Oddly a bunch of the features it adds are actually from ESSL 3.20. But the spec is quite clear, oh well. Signed-off-by: Ilia Mirkin --- src/compiler/glsl/builtin_functions.cpp | 2 ++ src/compiler/glsl/builtin_variables.cpp | 16 +--- src/compiler/glsl/glcpp/glcpp-parse.y| 3

[Mesa-dev] [PATCH 1/2] mesa: add ES3_1_compatibility extension enable

2016-03-30 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- 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 3082855..d83d71f 100644 --- a/src/mesa/main/extensions_table.h ++

Re: [Mesa-dev] Build failed: mesa 746 - no member named 'BufferStream'

2016-03-30 Thread Dieter Nützel
Am 31.03.2016 04:13, schrieb AppVeyor: BUILD MESA 746 FAILED [1] Commit b273958c74 by Timothy Arceri on 3/10/2016 5:41 AM: docs: mark xfb_* qualifiers as DONE\n\nReviewed-by: Dave Airlie Configure your notification preferences [2] Links: -- [1] https://ci.appveyor.com/project/jrfonseca-f

Re: [Mesa-dev] Build failed: mesa 746

2016-03-30 Thread Ilia Mirkin
Timothy, Looks like this is a real one: src\mesa\state_tracker\st_cb_xformfb.c(128) : error C2039: 'BufferStream' : is not a member of 'gl_transform_feedback_info' c:\projects\mesa\src\mesa\main\mtypes.h(1671) : see declaration of 'gl_transform_feedback_info' src\mesa\state_tracker\st_cb_

Re: [Mesa-dev] [PATCH v3] compiler/glsl: invalidate float suffixes for glsl 1.10

2016-03-30 Thread Ian Romanick
Arg. :( It turns out that shaders in the game PlaneShift use float suffixes in GLSL 1.10 shaders... at least the version of the shaders in our private shader-db repo do. Once some one check to make sure the game still does this, we will need some sort of patch. I see two likely options. 1. Just

[Mesa-dev] Build failed: mesa 746

2016-03-30 Thread AppVeyor
Build mesa 746 failed Commit b273958c74 by Timothy Arceri on 3/10/2016 5:41 AM: docs: mark xfb_* qualifiers as DONE\n\nReviewed-by: Dave Airlie Configure your notification preferences ___ mesa-dev mailing

[Mesa-dev] [PATCH] glsl: handle unsigned int wraparound in link_shaders()

2016-03-30 Thread Lars Hamre
check_explicit_uniform_locations() returns a -1 when the extension ARB_explicit_uniform_location is not found. We were storing the result in num_explicit_uniform_locs as an unsigned int which caused it to be 4294967295 when a -1 was returned. This in turn would cause the following error during li

Re: [Mesa-dev] [android-x86-devel] Re: gralloc_drm_pipe

2016-03-30 Thread Nicolas Dufresne
Le mardi 29 mars 2016 à 10:00 -0400, Rob Clark a écrit : > fwiw, I think on msm actually v4l is the most restrictive and display > is the least restrictive ;-) On Exynos this isn't as simple. For V4L2 decoder, this is true, but there is other V4L2 driven HW (color converters, scaler, blitters), wh

Re: [Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-30 Thread Dave Airlie
On 31 March 2016 at 11:06, Brian Paul wrote: > It was kind of overloaded, returning two different things. Now get > the index of the shadow reference src register with a new > tgsi_util_get_shadow_ref_src_index() function. > > To verify the new code, I added some temp/debug code which looped > ov

[Mesa-dev] [PATCH] tgsi: split tgsi_util_get_texture_coord_dim() function into two

2016-03-30 Thread Brian Paul
It was kind of overloaded, returning two different things. Now get the index of the shadow reference src register with a new tgsi_util_get_shadow_ref_src_index() function. To verify the new code, I added some temp/debug code which looped over all TGSI_TEXTURE_x values, calling the old function an

Re: [Mesa-dev] [PATCH 3/3] nir: Simplify a bcsel to logical-or

2016-03-30 Thread Jason Ekstrand
On Mar 30, 2016 4:24 PM, "Ian Romanick" wrote: > > From: Ian Romanick > > Oddly, this did not affect the shader where I first noticed the pattern. > That particular shader doesn't get its if-statement converted to a bcsel > because there are two assignments in the else-statement. This led to me

[Mesa-dev] [PATCH 3/3] nir: Simplify a bcsel to logical-or

2016-03-30 Thread Ian Romanick
From: Ian Romanick Oddly, this did not affect the shader where I first noticed the pattern. That particular shader doesn't get its if-statement converted to a bcsel because there are two assignments in the else-statement. This led to me submitting https://bugs.freedesktop.org/show_bug.cgi?id=947

[Mesa-dev] [PATCH 2/3] ptn: Fix all users of ptn_swizzle

2016-03-30 Thread Ian Romanick
From: Ian Romanick None of the callers actually wanted what it did. In ptn_xpd, you only ever want a vec3 swizzle. In ptn_tex, you want a swizzle that matches the number of required texture coordinates. shader-db results: G45: total instructions in shared programs: 4011240 -> 4010911 (-0.01%)

[Mesa-dev] [PATCH 1/3] ptn: Silence unused parameter warning

2016-03-30 Thread Ian Romanick
From: Ian Romanick The KIL instruction doesn't have a destination, so ptn_kil never uses dest. program/prog_to_nir.c: In function ‘ptn_kil’: program/prog_to_nir.c:547:38: warning: unused parameter ‘dest’ [-Wunused-parameter] ptn_kil(nir_builder *b, nir_alu_dest dest, nir_ssa_def **src)

[Mesa-dev] softpipe images support (v2)

2016-03-30 Thread Dave Airlie
Just a reposting, I've cleaned this up a lot after the last posting, with Brian's review comments. Dave. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH 1/8] tgsi_exec: add support for up to 3 address registers (v2)

2016-03-30 Thread Brian Paul
On 03/30/2016 04:07 PM, Dave Airlie wrote: From: Dave Airlie v2: be consistent with other defintions. "definitions" The series looks OK to me. Though, I'd still like to see get_image_coord_dim() split into two functions, but that could be done in a follow-up patch. For the series, Revie

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

2016-03-30 Thread Dave Airlie
From: Dave Airlie This adds support for load/store/atomic operations on images along with image tracking support. v2: add RESQ support. (Ilia) v2.1: constify interface (Brian) Signed-off-by: Dave Airlie --- src/gallium/auxiliary/draw/draw_gs.c | 2 +- src/gallium/auxiliary/draw/draw_vs

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

2016-03-30 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 03ebf70..804a96c 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -154,7 +154,7 @@

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

2016-03-30 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 index 126259f..a44a05c 100644 --- a/src/galli

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

2016-03-30 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 ++ src/gallium/auxiliary/draw/draw_gs.c |

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

2016-03-30 Thread Dave Airlie
From: Dave Airlie This adds support for ARB_shader_image_load_store to softpipe. v2: add RESQ support (Ilia) v3: constify, cleanup internals, add some comments (Brian). Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 4 +- src/gallium/drivers/softpipe/Makefi

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

2016-03-30 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 ++ src/gallium/auxiliary/tgsi/tgsi_exec.h |

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

2016-03-30 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. Signed-off-by: Dave Ai

[Mesa-dev] [PATCH 1/8] tgsi_exec: add support for up to 3 address registers (v2)

2016-03-30 Thread Dave Airlie
From: Dave Airlie v2: be consistent with other defintions. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gallium/auxiliary/tgsi/tgsi_exec.h b/src/gallium/auxiliary/tgsi/tgsi_exec.h index 991c3

Re: [Mesa-dev] [PATCH] i965: Fix invalid pointer read in dead_control_flow_eliminate().

2016-03-30 Thread Francisco Jerez
Kenneth Graunke writes: > On Wednesday, March 30, 2016 1:24:09 PM PDT Francisco Jerez wrote: >> Kenneth Graunke writes: >> >> > There may not be a previous block. In this case, there's no real work >> > to do, so just continue on to the next one. >> > >> > Signed-off-by: Kenneth Graunke >> >

Re: [Mesa-dev] [PATCH] i965: Fix invalid pointer read in dead_control_flow_eliminate().

2016-03-30 Thread Kenneth Graunke
On Wednesday, March 30, 2016 1:24:09 PM PDT Francisco Jerez wrote: > Kenneth Graunke writes: > > > There may not be a previous block. In this case, there's no real work > > to do, so just continue on to the next one. > > > > Signed-off-by: Kenneth Graunke > > --- > > src/mesa/drivers/dri/i965/

Re: [Mesa-dev] [PATCH] i965/ir: Fix invalid bblock_t pointer dereference in dead_control_flow_eliminate.

2016-03-30 Thread Francisco Jerez
Matt Turner writes: > On Wed, Mar 16, 2016 at 10:40 AM, Francisco Jerez > wrote: >> For the first basic block in the program 'block->prev()' would return >> an incorrectly cast list head sentinel and the subsequent >> 'prev_block->end()' dereference would read invalid memory. Introduced >> in

Re: [Mesa-dev] [PATCH] i965/ir: Fix invalid bblock_t pointer dereference in dead_control_flow_eliminate.

2016-03-30 Thread Matt Turner
On Wed, Mar 16, 2016 at 10:40 AM, Francisco Jerez wrote: > For the first basic block in the program 'block->prev()' would return > an incorrectly cast list head sentinel and the subsequent > 'prev_block->end()' dereference would read invalid memory. Introduced > in c7deee69ea6f64ea5b563985bf19d9d

Re: [Mesa-dev] [PATCH] i965: Fix invalid pointer read in dead_control_flow_eliminate().

2016-03-30 Thread Francisco Jerez
Kenneth Graunke writes: > There may not be a previous block. In this case, there's no real work > to do, so just continue on to the next one. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp | 4 > 1 file changed, 4 insertions(+) > > diff --gi

Re: [Mesa-dev] [PATCH] i965: Fix invalid pointer read in dead_control_flow_eliminate().

2016-03-30 Thread Matt Turner
On Wed, Mar 30, 2016 at 12:50 PM, Kenneth Graunke wrote: > There may not be a previous block. In this case, there's no real work > to do, so just continue on to the next one. > > Signed-off-by: Kenneth Graunke > --- > src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp | 4 > 1 file change

[Mesa-dev] [PATCH] i965: Fix invalid pointer read in dead_control_flow_eliminate().

2016-03-30 Thread Kenneth Graunke
There may not be a previous block. In this case, there's no real work to do, so just continue on to the next one. Signed-off-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_dead_control_flow.cpp | 4 1 file changed, 4 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_dead_con

Re: [Mesa-dev] [PATCH 20/26] i965: Add an implemnetation of nir_op_fquantize2f16

2016-03-30 Thread Matt Turner
On Wed, Mar 30, 2016 at 11:24 AM, Jason Ekstrand wrote: > > > On Tue, Mar 29, 2016 at 8:51 PM, Matt Turner wrote: >> >> On Fri, Mar 25, 2016 at 4:12 PM, Jason Ekstrand >> wrote: >> > --- >> > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 28 >> > >> > src/mesa/driver

Re: [Mesa-dev] [PATCH 20/26] i965: Add an implemnetation of nir_op_fquantize2f16

2016-03-30 Thread Jason Ekstrand
On Tue, Mar 29, 2016 at 8:51 PM, Matt Turner wrote: > On Fri, Mar 25, 2016 at 4:12 PM, Jason Ekstrand > wrote: > > --- > > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 28 > > > src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 25 > + > > 2 files

Re: [Mesa-dev] [PATCH 16/26] i965: Implement the new imod and irem opcodes

2016-03-30 Thread Jason Ekstrand
On Tue, Mar 29, 2016 at 8:49 PM, Matt Turner wrote: > On Fri, Mar 25, 2016 at 4:12 PM, Jason Ekstrand > wrote: > > --- > > src/mesa/drivers/dri/i965/brw_fs_nir.cpp | 32 > ++ > > src/mesa/drivers/dri/i965/brw_vec4_nir.cpp | 32 > ++ > >

Re: [Mesa-dev] [PATCH] docs: remove docs/COPYING which contains GPL license

2016-03-30 Thread Jose Fonseca
Thanks! Reviewed-by: Jose Fonseca I was about to do the same, but you beat me to it. What caused me pause was some recent talk I read somewhere of bringing back src/mesa/drivers/windows/gdi driver. I can no longer remember where. But I really rather not dealing with GPL/LPGL code, and all

[Mesa-dev] [PATCH] docs: remove docs/COPYING which contains GPL license

2016-03-30 Thread Brian Paul
There hasn't been GPL code in Mesa for a long time now. --- docs/COPYING | 490 --- 1 file changed, 490 deletions(-) delete mode 100644 docs/COPYING diff --git a/docs/COPYING b/docs/COPYING deleted file mode 100644 index b88946c..000 --

Re: [Mesa-dev] [PATCH] r600g: fix and optimize tgsi_cmp when using ABS and NEG modifier

2016-03-30 Thread Ian Romanick
I'd recommend doing this at a higher level. We've been doing this in NIR (in nir_opt_algebraic.py) for quite some time, and we've found that having x==0 instead of -abs(x)>=0 in higher-level IR helps other optimizations make progress. Maybe do this when translating out of TGSI? On 03/30/2016 03:

Re: [Mesa-dev] [PATCH] r600: ignore PIPE_BIND_LINEAR in *_is_format_supportedRe:

2016-03-30 Thread Dieter Nützel
Am 30.03.2016 17:39, schrieb Dieter Nützel: Tested-by: Dieter Nützel Thanks! Next addendum: Tested-by stands. Little additional observation: When I switch between window vs full screen mode (the 'F' key) I see for some fractions of a sencond the whole scaled desktop image before the video o

Re: [Mesa-dev] [android-x86-devel] Re: gralloc_drm_pipe

2016-03-30 Thread Rob Herring
On Tue, Mar 29, 2016 at 2:49 PM, Jaap Jan Meijer wrote: > Hi, > > First of all, thanks for the hard work! > > Only one problem I noticed so far: when enabling virgl in drm_gralloc but > without support in MESA, MESA / drm_gralloc (?) will just crash during > initialization. I don't think it's that

Re: [Mesa-dev] [PATCH] st/vdpau: correct null check

2016-03-30 Thread Thomas H.P. Andersen
On Wed, Mar 30, 2016 at 9:26 AM, Christian König wrote: > Am 30.03.2016 um 08:13 schrieb Thomas Hindoe Paaboel Andersen: > >> The null check of result was the wrong way around. Also, move memset >> and dereference of result after the null check. >> --- >> src/gallium/state_trackers/vdpau/surfac

[Mesa-dev] [PATCH] tgsi: skip texture query opcodes when examining texture targets

2016-03-30 Thread Brian Paul
Should fix the assertion in piglit spec@arb_gpu_shader5@texturegather@fs-r-none-shadow-2d when the TXQ instruction specifies a 2D target but the sampler view was declared as SHADOW2D. --- src/gallium/auxiliary/tgsi/tgsi_scan.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-)

Re: [Mesa-dev] Mesa (master): tgsi: collect texture sampler target info in tgsi_scan_shader()

2016-03-30 Thread Brian Paul
On 03/30/2016 02:06 AM, Michel Dänzer wrote: Hi Brian, On 30.03.2016 09:16, Brian Paul wrote: Module: Mesa Branch: master Commit: 86e1768c13d67945f4a9549820e711b70ff2aba7 URL: https://urldefense.proofpoint.com/v2/url?u=http-3A__cgit.freedesktop.org_mesa_mesa_commit_-3Fid-3D86e1768c13d6794

Re: [Mesa-dev] st/mesa: implement new DMA-buf based VDPAU interop v2 - REGRESSION on r600

2016-03-30 Thread Dieter Nützel
Am 30.03.2016 17:21, schrieb Alex Deucher: On Wed, Mar 30, 2016 at 11:18 AM, Dieter Nützel wrote: Am 30.03.2016 08:51, schrieb Dieter Nützel: Am 30.03.2016 08:20, schrieb Thomas H.P. Andersen: On Wed, Mar 30, 2016 at 6:36 AM, Dieter Nützel wrote: Hello Christian, after all this new VD

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #14 from Daniel Stone --- (In reply to Ulrich Sibiller from comment #13) > See https://sunweavers.net/blog/node/36 for information how we fixed it for > libX11.git. Should work for Mesa, too, but has not been tried yet. This would gi

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Rob Clark
On Wed, Mar 30, 2016 at 11:03 AM, Jose Fonseca wrote: > On 30/03/16 14:59, Rob Clark wrote: >> >> hmm, well nir permits c99, which I thought some other parts of the >> code did not.. could be just some of the compiler flags we use on >> parts of the code are more restrictive than they need to be?

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #13 from Ulrich Sibiller --- See https://sunweavers.net/blog/node/36 for information how we fixed it for libX11.git. Should work for Mesa, too, but has not been tried yet. -- You are receiving this mail because: You are the assignee

Re: [Mesa-dev] [PATCH] r600: ignore PIPE_BIND_LINEAR in *_is_format_supported

2016-03-30 Thread Dieter Nützel
Tested-by: Dieter Nützel Thanks! Am 30.03.2016 15:40, schrieb Christian König: From: Christian König Similar to radeonsi linear layout should work for all not compressed or depth/stencil formats. Fixes issues with VDPAU on r600. Signed-off-by: Christian König --- src/gallium/drivers/r600/

Re: [Mesa-dev] st/mesa: implement new DMA-buf based VDPAU interop v2 - REGRESSION on r600

2016-03-30 Thread Alex Deucher
On Wed, Mar 30, 2016 at 11:18 AM, Dieter Nützel wrote: > Am 30.03.2016 08:51, schrieb Dieter Nützel: >> >> Am 30.03.2016 08:20, schrieb Thomas H.P. Andersen: >>> >>> On Wed, Mar 30, 2016 at 6:36 AM, Dieter Nützel >>> wrote: >>> Hello Christian, after all this new VDPAU stuff, I get

Re: [Mesa-dev] st/mesa: implement new DMA-buf based VDPAU interop v2 - REGRESSION on r600

2016-03-30 Thread Dieter Nützel
Am 30.03.2016 08:51, schrieb Dieter Nützel: Am 30.03.2016 08:20, schrieb Thomas H.P. Andersen: On Wed, Mar 30, 2016 at 6:36 AM, Dieter Nützel wrote: Hello Christian, after all this new VDPAU stuff, I get after ages (months/years) only black window with mplayer -vo vdpau /data/Filme/test.mkv

[Mesa-dev] Build failed: mesa 735

2016-03-30 Thread AppVeyor
Build mesa 735 failed Commit 09325b68c0 by Jose Fonseca on 3/30/2016 3:05 PM: Another dummy commit.\n\nThis time to ensure that github mirror hook works well (it was spewing\nsome errors), upon request from Daniel Stone.\n\nThis branch will be immediately remov

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Jose Fonseca
On 30/03/16 14:59, Rob Clark wrote: On Wed, Mar 30, 2016 at 9:49 AM, Jose Fonseca wrote: On 30/03/16 14:43, Rob Clark wrote: On Wed, Mar 30, 2016 at 9:32 AM, Jose Fonseca wrote: On 31/01/16 20:16, Rob Clark wrote: The goal is to allow the pipe driver to request something other than TGSI

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Rob Clark
On Wed, Mar 30, 2016 at 9:49 AM, Jose Fonseca wrote: > On 30/03/16 14:43, Rob Clark wrote: >> >> On Wed, Mar 30, 2016 at 9:32 AM, Jose Fonseca wrote: >>> >>> On 31/01/16 20:16, Rob Clark wrote: The goal is to allow the pipe driver to request something other than TGSI, but dete

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Jose Fonseca
On 30/03/16 14:43, Rob Clark wrote: On Wed, Mar 30, 2016 at 9:32 AM, Jose Fonseca wrote: On 31/01/16 20:16, Rob Clark wrote: The goal is to allow the pipe driver to request something other than TGSI, but detect whether what is getting is TGSI vs what it requested. The pipe drivers will always

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Rob Clark
On Wed, Mar 30, 2016 at 9:32 AM, Jose Fonseca wrote: > On 31/01/16 20:16, Rob Clark wrote: >> >> The goal is to allow the pipe driver to request something other than >> TGSI, but detect whether what is getting is TGSI vs what it requested. >> The pipe drivers will always have to support TGSI (and

[Mesa-dev] [PATCH] r600: ignore PIPE_BIND_LINEAR in *_is_format_supported

2016-03-30 Thread Christian König
From: Christian König Similar to radeonsi linear layout should work for all not compressed or depth/stencil formats. Fixes issues with VDPAU on r600. Signed-off-by: Christian König --- src/gallium/drivers/r600/evergreen_state.c | 5 + src/gallium/drivers/r600/r600_state.c | 5 + 2

Re: [Mesa-dev] [RFCv3 01/11] gallium: refactor pipe_shader_state to support multiple IR's

2016-03-30 Thread Jose Fonseca
On 31/01/16 20:16, Rob Clark wrote: The goal is to allow the pipe driver to request something other than TGSI, but detect whether what is getting is TGSI vs what it requested. The pipe drivers will always have to support TGSI (and convert that into whatever it is that they prefer), but in some ca

[Mesa-dev] [Bug 94752] framebuffer from a destroyed drawable is reused when binding the same context to other drawable

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94752 --- Comment #3 from Guilherme --- Just to add that I could also reproduce the bug with direct rendering. Of course, with the patch that forces the second dri_drawable to be allocated on the same address of the first one -- You are receiving thi

Re: [Mesa-dev] [PATCH 00/11] Generated GLX dispatch updates

2016-03-30 Thread Jon Turney
On 24/03/2016 18:09, Adam Jackson wrote: This long-overdue series synchronizes the GLX dispatch scripts with the state of the world in xserver. We no longer use the CALL_* pattern instead emitting gl* calls directly (or thunking through GetProcAddress if needed). We also use overflow-paranoid ma

[Mesa-dev] Build completed: mesa 734

2016-03-30 Thread AppVeyor
Build mesa 734 completed Commit dc4598c280 by Jose Fonseca on 3/30/2016 12:55 PM: appveyor: Dummy commit to verify the new AppVeyor hook.\n\nThis branch will be pruned once the experiement is over.\n\nhttps://bugs.freedesktop.org/show_bug.cgi?id=93228

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #12 from Ulrich Sibiller --- Ok, thank you. -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.___ mesa-dev mailing list mesa-dev@

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #11 from Daniel Stone --- (In reply to Ulrich Sibiller from comment #10) > Well, thanks for that. However, that mirror's oldest release tag is > mesa_6_5_3_rc2. I need mesa_6_4_1 for the stuff I am currently working on... Those tags

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 Ulrich Sibiller changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Mesa-dev] Build failed: mesa 733

2016-03-30 Thread AppVeyor
Build mesa 733 failed Commit 3fba517bdd by Eric Anholt on 1/26/2016 6:34 PM: vc4: Throttle outstanding rendering after submission.\n\nJust make sure that after we've submitted, we get to at least 5\n(global) submits ago before we go on to do more. Prevents up

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 Daniel Stone changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #8 from Daniel Stone --- (In reply to Emil Velikov from comment #4) > There is a bit more info (including a link to possible git fix) [1]. Fwiw > I'm all for creating a mirror of mesa, libdrm and/or others on github, > although the ta

[Mesa-dev] [Bug 94737] Git history is broken; prevents github upload

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94737 --- Comment #7 from Ernst Sjöstrand --- Some alternatives: A have a hardcoded filter when mirroring to Github? Can you move them to a non-default namespace like refs/broken/ ? -- You are receiving this mail because: You are the assignee for th

Re: [Mesa-dev] [PATCH] r600g: fix and optimize tgsi_cmp when using ABS and NEG modifier

2016-03-30 Thread Patrick Rudolph
It affects the game "RIFT" and fixes slightly wrong colors on the player model, when using the nine state-tracker. Kind Regards, Patrick On 2016-03-29 11:09 PM, Dave Airlie wrote: > On 28 March 2016 at 19:52, wrote: >> From: Patrick Rudolph >> >> Some apps set NEG and ABS on the source param t

Re: [Mesa-dev] [PATCH v2 2/2] glsl: raise warning when using uninitialized variables

2016-03-30 Thread Alejandro Piñeiro
On 30/03/16 09:44, Alejandro Piñeiro wrote: > On 30/03/16 06:16, Kenneth Graunke wrote: >> On Tuesday, March 29, 2016 5:09:37 PM PDT Ilia Mirkin wrote: >>> This is triggering for gl_GlobalInvocationID :( > :( > >>> I think it's because >>> of how the variable is computed -- a lowering pass after

Re: [Mesa-dev] Mesa (master): tgsi: collect texture sampler target info in tgsi_scan_shader()

2016-03-30 Thread Michel Dänzer
Hi Brian, On 30.03.2016 09:16, Brian Paul wrote: > Module: Mesa > Branch: master > Commit: 86e1768c13d67945f4a9549820e711b70ff2aba7 > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=86e1768c13d67945f4a9549820e711b70ff2aba7 > > Author: Brian Paul > Date: Sat Mar 26 11:46:53 2016 -

Re: [Mesa-dev] [PATCH v2 2/2] glsl: raise warning when using uninitialized variables

2016-03-30 Thread Alejandro Piñeiro
On 30/03/16 06:16, Kenneth Graunke wrote: > On Tuesday, March 29, 2016 5:09:37 PM PDT Ilia Mirkin wrote: >> This is triggering for gl_GlobalInvocationID :( :( >> I think it's because >> of how the variable is computed -- a lowering pass after compilation >> is added to initialize it IIRC. Perhap

[Mesa-dev] [Bug 94116] program interface queries not returning right data for UBO / GL_BLOCK_INDEX

2016-03-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94116 Kenneth Graunke changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|mesa-dev@l

Re: [Mesa-dev] st/mesa: implement new DMA-buf based VDPAU interop v2 - REGRESSION on r600

2016-03-30 Thread Christian König
Am 30.03.2016 um 06:36 schrieb Dieter Nützel: Hello Christian, after all this new VDPAU stuff, I get after ages (months/years) only black window with mplayer -vo vdpau /data/Filme/test.mkv on r600, NI, Turks XT. Switching between full screen and window mode ('F') the innner (black) window pa

Re: [Mesa-dev] [PATCH] st/vdpau: correct null check

2016-03-30 Thread Christian König
Am 30.03.2016 um 08:13 schrieb Thomas Hindoe Paaboel Andersen: The null check of result was the wrong way around. Also, move memset and dereference of result after the null check. --- src/gallium/state_trackers/vdpau/surface.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) Goo