[Mesa-dev] [PATCH] gallium/radeon*: Remove useless casts

2015-12-05 Thread Edward O'Callaghan
These are unnecessary and are likely just left overs from prior work. Signed-off-by: Edward O'Callaghan --- src/gallium/drivers/r600/compute_memory_pool.c | 13 + src/gallium/drivers/r600/evergreen_compute.c | 4 ++--

[Mesa-dev] [Bug 79688] [dri3] Latest git breaks PRIME Offloading to Nouveau GPU

2015-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 --- Comment #25 from poma --- (In reply to Tobias Klausmann from comment #24) ... > If you mean a running firefox process without a window showing up, i would > guess this is not DRI3's fault, as other applications

[Mesa-dev] [Bug 93261] GL/DRI3 over ssh broken

2015-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93261 poma changed: What|Removed |Added See Also|

[Mesa-dev] [Bug 93261] GL/DRI3 over ssh broken

2015-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=93261 Bug ID: 93261 Summary: GL/DRI3 over ssh broken Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal

[Mesa-dev] [PATCH 1/2] mesa: move pipeline input/output validation inside _mesa_validate_program_pipeline()

2015-12-05 Thread Timothy Arceri
This allows validation to be done on rendering calls also. Fixes 3 dEQP-GLES31.functional.separate tests. Cc: "11.1" Cc: Tapani Pälli Cc: Kenneth Graunke --- src/mesa/main/pipelineobj.c | 30

[Mesa-dev] [PATCH 2/2] mesa: move GL_INVALID_OPERATION error to rendering call

2015-12-05 Thread Timothy Arceri
The validation api doesn't trigger this error so just move it to the code called during rendering. Cc: Tapani Pälli Cc: Kenneth Graunke --- src/mesa/main/context.c | 7 --- src/mesa/main/pipelineobj.c | 30 +-

Re: [Mesa-dev] [Mesa-stable] [PATCH] configure.ac: use pkg-config for libelf

2015-12-05 Thread Jonathan Gray
On Tue, Dec 01, 2015 at 04:56:54PM +, Emil Velikov wrote: > Hi Jonathan, > > On 23 November 2015 at 03:24, Jonathan Gray wrote: > > Use PKG_CHECK_MODULES to get the flags to link libelf. > > > > Signed-off-by: Jonathan Gray > > Cc: "11.0 11.1"

[Mesa-dev] [PATCH] gallium: Remove redundant NULL ptr checks

2015-12-05 Thread Edward O'Callaghan
Signed-off-by: Edward O'Callaghan --- src/gallium/auxiliary/draw/draw_pipe_aaline.c | 3 +-- src/gallium/auxiliary/pipebuffer/pb_bufmgr_debug.c | 10 -- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git

[Mesa-dev] [PATCH] configure: check for python2.7 for PYTHON2

2015-12-05 Thread Jonathan Gray
Check for a 'python2.7' binary, 'python' and 'python2' are not provided by the OpenBSD python 2.7.x packages. Signed-off-by: Jonathan Gray Cc: "11.0 11.1" --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH] mesa: move GLES checks for SSO input/output validation

2015-12-05 Thread Timothy Arceri
This function is unfinished there is a bunch more validation rules that need to be applied here. We will still want to call it for desktop GL we just don't want to validate precision so move the ES check to reflect this. Cc: Tapani Pälli ---

Re: [Mesa-dev] [PATCH 2/2] svga: use the debug callback to report issues to the state tracker

2015-12-05 Thread Brian Paul
On 12/04/2015 07:38 PM, Ilia Mirkin wrote: On Fri, Dec 4, 2015 at 7:52 PM, Brian Paul wrote: Use the new debug callback hook to report conformance, performance and fallbacks to the state tracker. The state tracker, in turn can report this issues to the user via the

[Mesa-dev] [PATCH 1/2] gallium/util: check callback pointers for non-null in pipe_debug_message()

2015-12-05 Thread Brian Paul
So the callers don't have to do it. v2: also check cb!=NULL in the macro and move the conditional in _pipe_debug_message() to enclose all code. --- src/gallium/auxiliary/util/u_debug.c | 9 + src/gallium/auxiliary/util/u_debug.h | 8 +--- 2 files changed, 10 insertions(+), 7

[Mesa-dev] [Bug 79688] [dri3] Latest git breaks PRIME Offloading to Nouveau GPU

2015-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=79688 Tobias Klausmann changed: What|Removed |Added Status|NEW |RESOLVED

[Mesa-dev] [PATCH 0/2] Remove _mesa_is_array_texture

2015-12-05 Thread Alejandro Piñeiro
Recently I realized that there are two methods that provides the same functionality, _mesa_is_array_texture (at teximage.[ch]) and _mesa_tex_target_is_array (at texformat.[ch]) so it makes sense to remove one. This two-patch series removes _mesa_is_array_texture just because

[Mesa-dev] [PATCH 2/2] mesa: remove _mesa_is_array_texture

2015-12-05 Thread Alejandro Piñeiro
_mesa_tex_target_is_array provides the same functionality and is older. --- src/mesa/main/teximage.c | 23 --- src/mesa/main/teximage.h | 3 --- 2 files changed, 26 deletions(-) diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c index 60fc7cc..f7fac37 100644

[Mesa-dev] [PATCH 1/2] i965: use _mesa_tex_target_is_array instead of _mesa_is_array_texture

2015-12-05 Thread Alejandro Piñeiro
Both methods provide the same functionality, so one would be removed. _mesa_tex_target_is_array is the older one. --- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 2 +- src/mesa/drivers/dri/i965/gen8_surface_state.c| 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [Mesa-dev] [PATCH 2/2] svga: use the debug callback to report issues to the state tracker

2015-12-05 Thread Ilia Mirkin
On Sat, Dec 5, 2015 at 2:10 PM, Brian Paul wrote: > Use the new debug callback hook to report conformance, performance > and fallbacks to the state tracker. The state tracker, in turn can > report this issues to the user via the GL_ARB_debug_output extension. > > More issues

[Mesa-dev] [PATCH 2/2] svga: use the debug callback to report issues to the state tracker

2015-12-05 Thread Brian Paul
Use the new debug callback hook to report conformance, performance and fallbacks to the state tracker. The state tracker, in turn can report this issues to the user via the GL_ARB_debug_output extension. More issues can be reported in the future; this is just a start. v2: remove conditionals

Re: [Mesa-dev] [PATCH 1/2] gallium/util: check callback pointers for non-null in pipe_debug_message()

2015-12-05 Thread Ilia Mirkin
On Sat, Dec 5, 2015 at 2:10 PM, Brian Paul wrote: > So the callers don't have to do it. > > v2: also check cb!=NULL in the macro and move the conditional in > _pipe_debug_message() to enclose all code. > --- > src/gallium/auxiliary/util/u_debug.c | 9 + >

Re: [Mesa-dev] [PATCH v2 1/9] vc4: Do all uniform loads with byte offsets

2015-12-05 Thread Jason Ekstrand
On Sat, Dec 5, 2015 at 2:33 AM, Michael Schellenberger Costa wrote: > Hi Jason, > > Am 05/12/2015 um 00:11 schrieb Jason Ekstrand: >> Previously, we lowered direct uniform loads to dword offsets and indirect >> loads to byte offsets in vc4_nir_lower_io.

Re: [Mesa-dev] [PATCH 0/2] Remove _mesa_is_array_texture

2015-12-05 Thread Brian Paul
On 12/05/2015 11:47 AM, Alejandro Piñeiro wrote: Recently I realized that there are two methods that provides the same functionality, _mesa_is_array_texture (at teximage.[ch]) and _mesa_tex_target_is_array (at texformat.[ch]) so it makes sense to remove one. This two-patch series removes

Re: [Mesa-dev] [PATCH 1/2] gallium/util: check callback pointers for non-null in pipe_debug_message()

2015-12-05 Thread Brian Paul
On 12/05/2015 12:17 PM, Ilia Mirkin wrote: On Sat, Dec 5, 2015 at 2:10 PM, Brian Paul wrote: So the callers don't have to do it. v2: also check cb!=NULL in the macro and move the conditional in _pipe_debug_message() to enclose all code. ---

Re: [Mesa-dev] [PATCH 1/2] gallium/util: check callback pointers for non-null in pipe_debug_message()

2015-12-05 Thread Ilia Mirkin
On Sat, Dec 5, 2015 at 2:48 PM, Brian Paul wrote: > On 12/05/2015 12:17 PM, Ilia Mirkin wrote: >> >> On Sat, Dec 5, 2015 at 2:10 PM, Brian Paul wrote: >>> >>> So the callers don't have to do it. >>> >>> v2: also check cb!=NULL in the macro and move the

[Mesa-dev] [Bug 92850] Segfault loading War Thunder

2015-12-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=92850 --- Comment #47 from higu...@gmx.net --- well, I also having crash in warthunder... i'm using slackware64, kernel 4.3.0 llvm 3.7.0 and mesa 11.1-rc2 and after applying the patch from Bug 92709 to fix the "unsupported call to function ldexpf in

[Mesa-dev] [PATCH v2 2/2] mesa: remove _mesa_tex_target_is_array

2015-12-05 Thread Alejandro Piñeiro
_mesa_is_array_texture provides the same functionality and: 1. it returns bool instead of GLboolean 2. it's not related to the texture format (texformat.c) 3. the name's a little shorter v2: remove _mesa_tex_target_is_array instead (Brian Paul) --- src/mesa/main/texformat.c | 14 --

[Mesa-dev] [PATCH v2 1/2] i965: use _mesa_is_array_texture instead of _mesa_tex_target_is_array

2015-12-05 Thread Alejandro Piñeiro
Both methods provide the same functionality, so one would be removed. v2: use _mesa_is_array_texture and not the other way (Brian Paul) --- src/mesa/drivers/dri/i965/gen7_wm_surface_state.c | 2 +- src/mesa/drivers/dri/i965/gen8_surface_state.c| 2 +- 2 files changed, 2 insertions(+), 2

[Mesa-dev] [PATCH] glsl: re-validate program pipeline after sampler change

2015-12-05 Thread Timothy Arceri
Cc: "11.1" Cc: Tapani Pälli Cc: Kenneth Graunke https://bugs.freedesktop.org/show_bug.cgi?id=93180 --- src/mesa/main/uniform_query.cpp | 4 1 file changed, 4 insertions(+) diff --git