[Mesa-dev] [Bug 98343] dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98343 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98341] dEQP-EGL: Invalid maximum pbuffer size failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98341 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98339] dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98339 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98345 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98340] dEQP EGL: "differs from size of native window" failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98340 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98342] dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98342 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98340] dEQP EGL: "differs from size of native window" failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98340 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98132] #version 300 es compute shaders should not be possible

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98132 --- Comment #4 from Iago Toral --- (In reply to Iago Toral from comment #3) > (In reply to Iago Toral from comment #2) > > I have sent a couple of patches for review that fix these tests: > > > >

[Mesa-dev] [Bug 98342] dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98342 Tapani Pälli changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 98340] dEQP EGL: "differs from size of native window" failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98340 Tapani Pälli changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [Bug 98344] dEQP EGL: Depth buffer rendering wrong

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98344 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98342] dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98342 Randy changed: What|Removed |Added Blocks||94448 Referenced Bugs:

[Mesa-dev] [Bug 98344] dEQP EGL: Depth buffer rendering wrong

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98344 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98340] dEQP EGL: "differs from size of native window" failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98340 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98339] dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98339 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98339] dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98339 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98345 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98342] dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98342 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98343] dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98343 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98340] dEQP EGL: "differs from size of native window" failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98340 Bug ID: 98340 Summary: dEQP EGL: "differs from size of native window" failure Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98346] dEQP EGL: eglCreateSyncKHR negative test failure.

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98346 Bug ID: 98346 Summary: dEQP EGL: eglCreateSyncKHR negative test failure. Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98341] dEQP-EGL: Invalid maximum pbuffer size failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98341 Bug ID: 98341 Summary: dEQP-EGL: Invalid maximum pbuffer size failure Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

Re: [Mesa-dev] [PATCH v2 004/103] i965/vec4/nir: Add bit-size information to types

2016-10-20 Thread Iago Toral
On Wed, 2016-10-19 at 10:39 -0700, Ian Romanick wrote: > On 10/19/2016 03:53 AM, Iago Toral wrote: > > > > On Tue, 2016-10-18 at 17:16 -0700, Ian Romanick wrote: > > > > > > On 10/11/2016 02:01 AM, Iago Toral Quiroga wrote: > > > > > > > > @@ -811,7 +811,7 @@ > > > >

[Mesa-dev] [Bug 98342] dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98342 Bug ID: 98342 Summary: dEQP EGL: Got EGL_BAD_PARAMETER in eglCreateImageKHR() Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98345 Bug ID: 98345 Summary: dEQP EGL: negative test failed w/ invalid return Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98339] dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98339 Bug ID: 98339 Summary: dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR() Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98343] dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98343 Bug ID: 98343 Summary: dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW

[Mesa-dev] [Bug 98344] dEQP EGL: Depth buffer rendering wrong

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98344 Bug ID: 98344 Summary: dEQP EGL: Depth buffer rendering wrong Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity:

Re: [Mesa-dev] [PATCH v2 103/103] i965/gen7: expose OpenGL 4.0 on Haswell

2016-10-20 Thread Iago Toral
On Wed, 2016-10-19 at 10:32 -0700, Kenneth Graunke wrote: > On Wednesday, October 19, 2016 10:52:32 AM PDT Iago Toral wrote: > > > > On Tue, 2016-10-18 at 17:57 -0700, Kenneth Graunke wrote: > > > > > > On Tuesday, October 18, 2016 5:12:27 PM PDT Ian Romanick wrote: > > > > > > > > > > > > On

[Mesa-dev] [PATCH v2.1] i965/gen7: expose OpenGL 4.0 on Haswell

2016-10-20 Thread Iago Toral Quiroga
ARB_gpu_shader_fp64 was the last piece missing. Notice that some hardware and kernel combinations do not support pipelined register writes, which are required for some OpenGL 4.0 features, in which case the driver won't expose 4.0. v2 (Ian, Ken): - We should not set max_gl_core_version to 40 if

[Mesa-dev] [Bug 98341] dEQP-EGL: Invalid maximum pbuffer size failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98341 Randy changed: What|Removed |Added Blocks||98315 Referenced Bugs:

[Mesa-dev] [Bug 98341] dEQP-EGL: Invalid maximum pbuffer size failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98341 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98343] dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98343 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98345 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [Bug 98344] dEQP EGL: Depth buffer rendering wrong

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98344 Randy changed: What|Removed |Added Blocks|94448 | Referenced Bugs:

[Mesa-dev] [PATCH v2] intel: genxml: add SO_WRITE_OFFSET register

2016-10-20 Thread Lionel Landwerlin
One of the register we happen to program but don't have a description for yet. v2: Add SO_WRITE_OFFSET[1-3] on gen7+ (Kenneth) Signed-off-by: Lionel Landwerlin --- src/intel/genxml/gen6.xml | 5 + src/intel/genxml/gen7.xml | 20

Re: [Mesa-dev] [PATCH 02/16] loader: slim down loader_get_pci_id_for_fd implementation(s)

2016-10-20 Thread Jonathan Gray
On Thu, Oct 20, 2016 at 11:44:46AM +0100, Emil Velikov wrote: > On 20 October 2016 at 05:35, Jonathan Gray wrote: > > On Sat, Oct 15, 2016 at 01:32:02PM +0100, Emil Velikov wrote: > >> On Saturday, 15 October 2016, Jonathan Gray wrote: > >> > >> > On Tue, Oct 11,

[Mesa-dev] [Bug 98345] dEQP EGL: negative test failed w/ invalid return

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98345 Tapani Pälli changed: What|Removed |Added Status|NEW |ASSIGNED

Re: [Mesa-dev] [PATCH] st/mesa: only set primitive_restart when the restart index is in range

2016-10-20 Thread Nicolai Hähnle
On 20.10.2016 11:41, Marek Olšák wrote: I think st_indirect_draw_vbo needs the same fix. Yes. The indirect path also doesn't handle the RestartFixedIndex case correctly. I'll send out a patch later that unifies those two paths. Nicolai Marek On Wed, Oct 19, 2016 at 11:14 PM, Marek Olšák

[Mesa-dev] [PATCH 2/2] egl: add check that eglCreateContext gets a valid config

2016-10-20 Thread Tapani Pälli
Fixes following dEQP test: dEQP-EGL.functional.negative_api.create_context Signed-off-by: Tapani Pälli --- src/egl/main/eglapi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/egl/main/eglapi.c b/src/egl/main/eglapi.c index d8bd76d..e96999c 100644 ---

[Mesa-dev] [PATCH 1/2] egl: fix type mismatch error type in _eglInitSurface

2016-10-20 Thread Tapani Pälli
EGL spec defines EGL_BAD_MATCH for windows, pixmaps and pbuffers in case where user creates a surface but config does not support rendering to such surface type. Following quotes are from EGL 1.5 spec 3.5 "Rendering Surfaces" : for eglCreatePlatformWindowSurface, eglCreateWindowSurface: "If

[Mesa-dev] [PATCH 2/2] glsl: update default precision qualifiers when they are set in the shader

2016-10-20 Thread Samuel Iglesias Gonsálvez
For that, we use gls_symbol_table::set_default_precision_qualifier() that can update an existing definition or add a new one if it doesn't exist. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97804 Signed-off-by: Samuel Iglesias Gonsálvez ---

[Mesa-dev] [PATCH 1/2] mesa/program: Add _mesa_symbol_table_replace_symbol()

2016-10-20 Thread Samuel Iglesias Gonsálvez
This function allows to modify an existing symbol. Signed-off-by: Samuel Iglesias Gonsálvez --- src/mesa/program/symbol_table.c | 35 +++ src/mesa/program/symbol_table.h | 3 +++ 2 files changed, 38 insertions(+) diff --git

Re: [Mesa-dev] [PATCH 02/16] loader: slim down loader_get_pci_id_for_fd implementation(s)

2016-10-20 Thread Emil Velikov
On 20 October 2016 at 05:35, Jonathan Gray wrote: > On Sat, Oct 15, 2016 at 01:32:02PM +0100, Emil Velikov wrote: >> On Saturday, 15 October 2016, Jonathan Gray wrote: >> >> > On Tue, Oct 11, 2016 at 07:31:46PM +0100, Emil Velikov wrote: >> > > From: Emil Velikov

[Mesa-dev] [PATCH] radeonsi: fix a regression in si_eliminate_const_output

2016-10-20 Thread Nicolai Hähnle
From: Nicolai Hähnle A constant value of float type is not necessarily a ConstantFP: it could also be a constant expression that for some reason hasn't been folded. This fixes a regression in GL45-CTS.arrays_of_arrays_gl.InteractionFunctionCalls2 that was introduced by

Re: [Mesa-dev] [PATCH 1/2] egl/dri2: set max values for pbuffer width and height

2016-10-20 Thread Tapani Pälli
On 10/20/2016 02:10 PM, Eric Engestrom wrote: On Thursday, 2016-10-20 12:02:15 +0300, Tapani Pälli wrote: While these max values were previously fixed for pbuffer creation, this change makes also eglGetConfigAttrib() return correct values. Fixes following dEQP tests:

Re: [Mesa-dev] [PATCH] egl/dri2: add a libname to dlopen for OpenBSD

2016-10-20 Thread Emil Velikov
On 19 October 2016 at 23:41, Jonathan Gray wrote: > On Wed, Oct 19, 2016 at 03:17:07PM +0100, Emil Velikov wrote: >> On 19 October 2016 at 14:16, Jonathan Gray wrote: >> > On Wed, Oct 19, 2016 at 10:29:47AM +0100, Emil Velikov wrote: >> >> On 19 October 2016 at

Re: [Mesa-dev] [PATCH] glsl: compute lvalues of [in]out parameters before inlined function body

2016-10-20 Thread Nicolai Hähnle
On 20.10.2016 09:58, Nicolai Hähnle wrote: On 19.10.2016 23:18, Ian Romanick wrote: On 10/19/2016 11:45 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle This is required when an out argument involves an array index that is either a global variable modified by the

Re: [Mesa-dev] [PATCH 3/3] [Bug 38970] [bisected]piglit glx/glx-pixmap-multi failed

2016-10-20 Thread Rahul Jain
On Wed, Oct 19, 2016 at 1:24 AM, Nicolai Hähnle wrote: > On 18.10.2016 19:23, Ian Romanick wrote: > >> On 09/29/2016 01:55 PM, Anutex wrote: >> >>> I tried to debug this issue with changing the condition to check only >>> bad magic and Error. >>> And the test passed. >>> >>>

[Mesa-dev] [Bug 97804] Later precision statement isn't overriding earlier one

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97804 --- Comment #2 from Samuel Iglesias --- I wrote a piglit test that reproduces the failure: https://lists.freedesktop.org/archives/piglit/2016-October/021103.html And sent a couple of patches to fix it in Mesa:

Re: [Mesa-dev] [PATCH 1/2] egl/dri2: set max values for pbuffer width and height

2016-10-20 Thread Eric Engestrom
On Thursday, 2016-10-20 12:02:15 +0300, Tapani Pälli wrote: > While these max values were previously fixed for pbuffer creation, this > change makes also eglGetConfigAttrib() return correct values. > > Fixes following dEQP tests: > >

[Mesa-dev] [Bug 98341] dEQP-EGL: Invalid maximum pbuffer size failure

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98341 Tapani Pälli changed: What|Removed |Added Status|NEW |RESOLVED

Re: [Mesa-dev] [PATCH 2/2] radeonsi: fix build of si_eliminate_const_vs_outputs on LLVM <= 3.8

2016-10-20 Thread Nicolai Hähnle
For the series: Reviewed-by: Nicolai Hähnle On 20.10.2016 00:14, Marek Olšák wrote: From: Marek Olšák --- src/gallium/drivers/radeonsi/si_shader.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 21/21] compiler: remove copy_shader_info()

2016-10-20 Thread Timothy Arceri
This temporary helper is no longer needed now that we have finished refactoring common shader metadata. --- src/compiler/Makefile.sources | 4 +--- src/compiler/shader_info.c| 32 src/mesa/main/shaderapi.c | 2 -- 3 files changed, 1 insertion(+), 37

[Mesa-dev] [PATCH 15/21] glsl: set patch inputs read directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 4 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

Re: [Mesa-dev] [PATCH mesa] wsi/wayland: fix error path

2016-10-20 Thread Daniel Stone
Hi Eric, On 20 October 2016 at 00:09, Eric Engestrom wrote: > I'm not sure this is the right fix. The other thing I'm starting to lean > toward is to just remove these last two instruction (ie. everything after > `return VK_SUCCESS`). > Also, this is untested. It compiles, but

[Mesa-dev] [Bug 98339] dEQP-EGL: Got EGL_BAD_MATCH: eglCreateSyncKHR()

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98339 --- Comment #1 from Tapani Pälli --- All of these tests start to pass if I remove the ctx check in _eglCreateSync(). In the cases _eglGetCurrentContext() returns NULL, it needs to be checked if thats valid condition. -- You

[Mesa-dev] [PATCH 11/21] mesa: use common outputs written field

2016-10-20 Thread Timothy Arceri
--- src/mesa/main/context.c | 2 +- src/mesa/main/ff_fragment_shader.cpp | 2 +- src/mesa/main/ffvertex_prog.c| 4 ++-- src/mesa/program/arbprogparse.c | 4 ++-- src/mesa/program/prog_print.c| 3 ++- src/mesa/program/prog_to_nir.c | 5 ++---

[Mesa-dev] [PATCH 09/21] st/mesa: use common outputs written field

2016-10-20 Thread Timothy Arceri
--- src/mesa/state_tracker/st_atifs_to_tgsi.c | 2 +- src/mesa/state_tracker/st_atom_rasterizer.c | 6 -- src/mesa/state_tracker/st_atom_shader.c | 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 ++- src/mesa/state_tracker/st_program.c | 6 +++--- 5 files changed, 11

[Mesa-dev] [PATCH 17/21] glsl: set patch outputs written directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 4 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 18/21] st/mesa: use common system values read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/program/prog_to_nir.c | 1 - src/mesa/program/program.c | 4 ++-- src/mesa/program/programopt.c | 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 ++-- src/mesa/state_tracker/st_mesa_to_tgsi.c | 2 +- 5 files changed, 6 insertions(+), 7

[Mesa-dev] [PATCH 20/21] glsl: set uses texture gather directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 2 +- src/compiler/shader_info.c | 2 -- src/mesa/main/mtypes.h | 2 -- 3 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 12/21] glsl: set outputs written directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 12 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [Bug 98343] dEQP-EGL: GL_INVALID_ENUM at teglCreateContextExtTests

2016-10-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98343 --- Comment #1 from Tapani Pälli --- These tests we fail because we don't support GL_EXT_robustness, however Mesa supports GL_KHR_robustness and GL_ARB_robustness so one needs to figure out if there are any differences between

[Mesa-dev] [AppVeyor] mesa master #2487 failed

2016-10-20 Thread AppVeyor
Build mesa 2487 failed Commit f19f71830b by Marek Olšák on 10/19/2016 10:11 PM: radeonsi: fix build of si_eliminate_const_vs_outputs on LLVM <= 3.8\n\nReviewed-by: Nicolai Hähnle Configure your notification preferences

Re: [Mesa-dev] [PATCH] glsl: compute lvalues of [in]out parameters before inlined function body

2016-10-20 Thread Nicolai Hähnle
On 19.10.2016 23:18, Ian Romanick wrote: On 10/19/2016 11:45 AM, Nicolai Hähnle wrote: From: Nicolai Hähnle This is required when an out argument involves an array index that is either a global variable modified by the function or another out argument in the same

[Mesa-dev] [PATCH 19/21] glsl: set system values read directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 4 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 01/21] mesa/compiler: copy early fragment tests to shader_info in _mesa_copy_linked_program_data()

2016-10-20 Thread Timothy Arceri
--- src/compiler/shader_info.c | 4 src/mesa/main/shaderapi.c | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/compiler/shader_info.c b/src/compiler/shader_info.c index 49361bc..34aaf9f 100644 --- a/src/compiler/shader_info.c +++ b/src/compiler/shader_info.c @@ -38,8

[Mesa-dev] [PATCH 10/21] r200: use common outputs written field

2016-10-20 Thread Timothy Arceri
--- src/mesa/drivers/dri/r200/r200_tcl.c | 2 +- src/mesa/drivers/dri/r200/r200_vertprog.c | 11 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c index b556c86..26968af 100644 ---

[Mesa-dev] [PATCH 05/21] mesa: use common inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/main/context.c | 2 +- src/mesa/main/ffvertex_prog.c| 6 +++--- src/mesa/main/state.h| 4 ++-- src/mesa/main/texstate.c | 2 +- src/mesa/program/arbprogparse.c | 4 ++-- src/mesa/program/prog_print.c| 6 +++---

[Mesa-dev] [PATCH 06/21] mesa/compiler: set inputs_read directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 12 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 08/21] mesa/glsl: set double inputs read directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 2 +- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 07/21] st/mesa: use common double inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 4 +++- src/mesa/state_tracker/st_program.c| 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_nir.cpp

[Mesa-dev] [PATCH 16/21] st/mesa: use common patch outputs written field

2016-10-20 Thread Timothy Arceri
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- src/mesa/state_tracker/st_program.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 1d20ff5..253e49c 100644 ---

[Mesa-dev] [PATCH 13/21] glsl: set outputs read directly in shader_info

2016-10-20 Thread Timothy Arceri
--- src/compiler/glsl/ir_set_program_inouts.cpp | 4 ++-- src/compiler/shader_info.c | 1 - src/mesa/main/mtypes.h | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp

[Mesa-dev] [PATCH 14/21] st/mesa: use common patch inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 2 +- src/mesa/state_tracker/st_program.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 8d8df9d..1d20ff5 100644 ---

[Mesa-dev] [PATCH v2] glsl: compute lvalues of [in]out parameters before inlined function body

2016-10-20 Thread Nicolai Hähnle
From: Nicolai Hähnle This is required when an out argument involves an array index that is either a global variable modified by the function or another out argument in the same function call. Fixes the shaders/out-parameter-indexing/vs-inout-index-inout-* tests. v2: -

[Mesa-dev] [PATCH 04/21] st/mesa: use common inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/state_tracker/st_atifs_to_tgsi.c | 14 +++--- src/mesa/state_tracker/st_atom_rasterizer.c | 2 +- src/mesa/state_tracker/st_cb_drawtex.c | 2 +- src/mesa/state_tracker/st_glsl_to_nir.cpp | 2 +- src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 8

[Mesa-dev] [PATCH 03/21] r200: use common inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/drivers/dri/r200/r200_vertprog.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/mesa/drivers/dri/r200/r200_vertprog.c b/src/mesa/drivers/dri/r200/r200_vertprog.c index 5f1b3b7..b4574a7 100644 ---

[Mesa-dev] Shared shader info part 2

2016-10-20 Thread Timothy Arceri
I've broken things up to make it easier to review but in order to avoid regressions with ARB asm style programs I believe I need to squash the follow sets of patches before pushing. 2,3,4,5 and 10,11 ___ mesa-dev mailing list

[Mesa-dev] [PATCH 02/21] i915: use common inputs read field

2016-10-20 Thread Timothy Arceri
--- src/mesa/drivers/dri/i915/i915_fragprog.c | 6 +++--- src/mesa/drivers/dri/i915/i915_state.c| 2 +- src/mesa/drivers/dri/i915/intel_tris.c| 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/drivers/dri/i915/i915_fragprog.c

[Mesa-dev] [PATCH 1/2] egl/dri2: set max values for pbuffer width and height

2016-10-20 Thread Tapani Pälli
While these max values were previously fixed for pbuffer creation, this change makes also eglGetConfigAttrib() return correct values. Fixes following dEQP tests: dEQP-EGL.functional.create_surface.pbuffer.rgb888_no_depth_no_stencil

[Mesa-dev] [PATCH 2/2] mesa: add missing formats to driGLFormatToImageFormat

2016-10-20 Thread Tapani Pälli
Fixes following dEQP tests: dEQP-EGL.functional.image.api.create_image_gles2_tex2d_luminance dEQP-EGL.functional.image.api.create_image_gles2_tex2d_luminance_alpha Signed-off-by: Tapani Pälli Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=98328 ---

[Mesa-dev] [PATCH] gallivm: try to fix build with LLVM <= 3.4 due to missing CallSite.h

2016-10-20 Thread Marek Olšák
From: Marek Olšák untested --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp index f4045ad..bd4d4d3 100644

Re: [Mesa-dev] [PATCH] st/mesa: only set primitive_restart when the restart index is in range

2016-10-20 Thread Marek Olšák
I think st_indirect_draw_vbo needs the same fix. Marek On Wed, Oct 19, 2016 at 11:14 PM, Marek Olšák wrote: > On Wed, Oct 19, 2016 at 8:39 PM, Nicolai Hähnle wrote: >> From: Nicolai Hähnle >> >> Even when enabled, primitive

Re: [Mesa-dev] [PATCH v2] nv50, nvc0: don't keep track of whether fb rt0 is integer-only

2016-10-20 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 10/20/2016 04:44 AM, Ilia Mirkin wrote: This reverts commits 1af0641db345209c076e9b1ba4dca7524541671a and a6ad49cbbd599aec054d0a3163fff5ad724f2b18. st/mesa adjusts the rasterizer state for us now. Signed-off-by: Ilia Mirkin

Re: [Mesa-dev] [PATCH] radeonsi: fix a regression in si_eliminate_const_output

2016-10-20 Thread Marek Olšák
On Thu, Oct 20, 2016 at 2:35 PM, Marek Olšák wrote: > Reviewed-by: Marek Olšák > > Is there a way to fold all constant expressions somehow? This is the constant expression: https://people.freedesktop.org/~mareko/cts-nonfp-expression.html No wonder LLVM

Re: [Mesa-dev] [PATCH 17/42] st/mesa: switch gs over to shared shader_info

2016-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Oct 20, 2016 at 1:09 AM, Timothy Arceri wrote: > --- > src/mesa/state_tracker/st_program.c | 11 +++ > 1 file changed, 7 insertions(+), 4 deletions(-) > > diff --git

Re: [Mesa-dev] [PATCH] glsl: allow local_size qualifiers in compute shader regardless of version

2016-10-20 Thread Miklós Máté
On 26/08/16 21:17, Ilia Mirkin wrote: On Fri, Aug 26, 2016 at 3:08 PM, Miklós Máté wrote: On 08/26/2016 07:47 PM, Ilia Mirkin wrote: On Fri, Aug 26, 2016 at 1:39 PM, Miklós Máté wrote: On 08/26/2016 06:46 PM, Ilia Mirkin wrote: On Fri, Aug 26, 2016 at

Re: [Mesa-dev] [PATCH v4 17/18] configure.ac: Only add default LLVM components if needed

2016-10-20 Thread Emil Velikov
On 19 October 2016 at 18:55, Tobias Droste wrote: > Am Mittwoch, 19. Oktober 2016, 14:17:53 CEST schrieb Emil Velikov: >> On 16 October 2016 at 01:20, Tobias Droste wrote: >> > LLVM components are only added when LLVM is needed. >> > This means gallium adds this

Re: [Mesa-dev] LLVM gallivm issue in Mesa 12.1.0

2016-10-20 Thread Chuck Atkins
> Perhaps we need to make sure we pick --std=c++11. > > But this also implies that *all* Mesa needs to build reliably with > --std=c++11. Yes, that is correct. The issue is one of C++11 ABI mismatch. If a public interface to a library is C++ but contains no C++ std library data structures

Re: [Mesa-dev] [PATCH 27/42] st/mesa: stop making use of InterpQualifier array

2016-10-20 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Oct 20, 2016 at 1:09 AM, Timothy Arceri wrote: > A following patch is going to merge the gl_fragment_program struct into > a common gl_program and we want to avoid all stages having this array. > > V2:

Re: [Mesa-dev] [PATCH] nvc0: translate compute shaders at program creation

2016-10-20 Thread Ilia Mirkin
And is what we do for all the other shader types. I guess this got missed in your various rebases of compute? Or I missed it when I did the precompile thing... either way, Reviewed-by: Ilia Mirkin On Thu, Oct 20, 2016 at 12:08 PM, Samuel Pitoiset

Re: [Mesa-dev] [PATCH] gallivm: try to fix build with LLVM <= 3.4 due to missing CallSite.h

2016-10-20 Thread Brian Paul
Reviewed-by: Brian Paul Tested-by: Brian Paul Thanks! On 10/20/2016 03:22 AM, Marek Olšák wrote: From: Marek Olšák untested --- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 6 +- 1 file changed, 5 insertions(+), 1

Re: [Mesa-dev] [PATCH v2] intel: genxml: add SO_WRITE_OFFSET register

2016-10-20 Thread Jason Ekstrand
On Oct 20, 2016 3:56 AM, "Lionel Landwerlin" wrote: > > One of the register we happen to program but don't have a description for > yet. Heh... I've got more-or less this same patch in my tree... > v2: Add SO_WRITE_OFFSET[1-3] on gen7+ (Kenneth) > > Signed-off-by: Lionel

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc1

2016-10-20 Thread Jason Ekstrand
On Oct 20, 2016 8:11 AM, "Emil Velikov" wrote: > > On 19 October 2016 at 20:31, Jason Ekstrand wrote: > > On Wed, Oct 19, 2016 at 12:16 PM, Emil Velikov > > wrote: > >> > >> On 19 October 2016 at 19:50, Kai Wasserbäch

Re: [Mesa-dev] [PATCH 18/21] st/mesa: use common system values read field

2016-10-20 Thread Marek Olšák
For patches 14, 16, 18: Reviewed-by: Marek Olšák Marek On Thu, Oct 20, 2016 at 10:47 AM, Timothy Arceri wrote: > --- > src/mesa/program/prog_to_nir.c | 1 - > src/mesa/program/program.c | 4 ++-- >

Re: [Mesa-dev] [ANNOUNCE] mesa 13.0.0-rc1

2016-10-20 Thread Emil Velikov
On 19 October 2016 at 20:31, Jason Ekstrand wrote: > On Wed, Oct 19, 2016 at 12:16 PM, Emil Velikov > wrote: >> >> On 19 October 2016 at 19:50, Kai Wasserbäch >> wrote: >> > Hey Emil, >> > just curious why you did the

Re: [Mesa-dev] [PATCH v4 11/18] configure.ac: Remove swr_llvm_check()

2016-10-20 Thread Emil Velikov
On 19 October 2016 at 18:51, Tobias Droste wrote: > Am Mittwoch, 19. Oktober 2016, 13:55:16 CEST schrieb Emil Velikov: >> On 16 October 2016 at 01:20, Tobias Droste wrote: >> > No need for an additional function here. >> > Use the same style for LLVM checks as the

Re: [Mesa-dev] [PATCH 1/2] egl/dri2: set max values for pbuffer width and height

2016-10-20 Thread Tapani Pälli
On 10/20/2016 07:12 PM, Emil Velikov wrote: On 20 October 2016 at 10:02, Tapani Pälli wrote: While these max values were previously fixed for pbuffer creation, this change makes also eglGetConfigAttrib() return correct values. Fixes following dEQP tests:

  1   2   >