Re: [Mesa-dev] [PATCH v3 1/5] Add MESA_image_sRGB spec.

2014-04-27 Thread John Kåre Alsaker
I don't have commit access and would like to see this series merged. On Sat, Apr 26, 2014 at 4:25 PM, John Kåre Alsaker wrote: > --- > docs/specs/MESA_image_sRGB.spec | 155 > > 1 file changed, 155 insertions(+) > create mode 100644 docs/specs/MESA_imag

Re: [Mesa-dev] [PATCHES 0/9] Draw Indirect and Cube Map Arrays for RadeonSI

2014-04-27 Thread Marek Olšák
No, I haven't, but it shouldn't be too difficult. Marek On Mon, Apr 28, 2014 at 12:03 AM, Ian Romanick wrote: > You'll also get GL_ARB_multi_draw_indirect for "free" because the TNL > module chops the multidraw into a series of "single" draw indirect > commands. For performance, this is probabl

Re: [Mesa-dev] [PATCHES 0/9] Draw Indirect and Cube Map Arrays for RadeonSI

2014-04-27 Thread Ian Romanick
You'll also get GL_ARB_multi_draw_indirect for "free" because the TNL module chops the multidraw into a series of "single" draw indirect commands. For performance, this is probably not the interface you (or anyone) want. I've been thinking about how to fix this a little bit, but I haven't had any

Re: [Mesa-dev] [PATCH 00/19] Implement GL_ARB_multi_bind v2

2014-04-27 Thread Fredrik Höglund
On Tuesday 22 April 2014, Brian Paul wrote: > On 04/21/2014 03:57 PM, Fredrik Höglund wrote: > > So here is version two of the ARB_multi_bind series. > > > > This incorporates feedback from Brian, Matt and Francisco, and also > > fixes an issue I happened to notice myself. It occurred to me that >

Re: [Mesa-dev] [PATCH 1/6] glsl: Clean up apply_implicit_conversion

2014-04-27 Thread Chris Forbes
On Sun, Apr 27, 2014 at 9:44 PM, Chris Forbes wrote: > + /* Prior to GLSL 1.10, there are no implicit conversions */ Oops, botched the comment. Will fix. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/li

[Mesa-dev] [PATCH 15/15] i965: Avoid null access in intelMakeCurrent()

2014-04-27 Thread Juha-Pekka Heikkila
separate two null checks connected with && to their own if branches. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_context.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/

[Mesa-dev] [PATCH 14/15] mesa/drivers: Add extra null check in blitframebuffer_texture()

2014-04-27 Thread Juha-Pekka Heikkila
If texObj == NULL here it mean there is already GL_INVALID_VALUE or GL_OUT_OF_MEMORY error set to context. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/common/meta_blit.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/drivers/common/meta_blit.c b/src/mesa/drivers

[Mesa-dev] [PATCH 10/15] glsl: Add null check in loop_analysis.cpp

2014-04-27 Thread Juha-Pekka Heikkila
Check return value from hash_table_find before using it as a pointer Signed-off-by: Juha-Pekka Heikkila --- src/glsl/loop_analysis.cpp | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/glsl/loop_analysis.cpp b/src/glsl/loop_analysis.cpp index d6a9ac7..78ac300 100644 -

[Mesa-dev] [PATCH 11/15] glsl: check _mesa_hash_table_create return value in link_uniform_blocks

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/glsl/link_uniform_blocks.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/link_uniform_blocks.cpp b/src/glsl/link_uniform_blocks.cpp index 1a0e643..3643734 100644 --- a/src/glsl/link_uniform_blocks.cpp +++ b/src/glsl/link_uniform_blo

[Mesa-dev] [PATCH 13/15] glx: Added missing null check in GetDrawableAttribute()

2014-04-27 Thread Juha-Pekka Heikkila
For GLX_BACK_BUFFER_AGE_EXT query added extra null check. Signed-off-by: Juha-Pekka Heikkila --- src/glx/glx_pbuffer.c | 4 1 file changed, 4 insertions(+) diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 0cd0554..bbfdd65 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx/glx

[Mesa-dev] [PATCH 12/15] i965/fs: Check variable_storage return value in fs_visitor::visit

2014-04-27 Thread Juha-Pekka Heikkila
check variable_storage() found the requested fs_reg. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp index 2a

[Mesa-dev] [PATCH 09/15] mesa: add null checks in symbol_table.c

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/program/symbol_table.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/src/mesa/program/symbol_table.c b/src/mesa/program/symbol_table.c index 9462978..5b22745 100644 --- a/src/mesa/program/symbol_table.c +++ b/sr

[Mesa-dev] [PATCH 07/15] mesa: add missing null check in _mesa_NewHashTable()

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/hash.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/src/mesa/main/hash.c b/src/mesa/main/hash.c index 4c92005..b80d1c4 100644 --- a/src/mesa/main/hash.c +++ b/src/mesa/main/hash.c @@ -115,10 +115,20 @@ _mesa_NewHashTable(void

[Mesa-dev] [PATCH 04/15] mesa: In emit_texenv() type mismatch was forced with typecast

2014-04-27 Thread Juha-Pekka Heikkila
Type mismatch caused random memory to be copied when casted memory area was smaller than expected type. Signed-off-by: Juha-Pekka Heikkila --- src/mesa/main/ff_fragment_shader.cpp | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/mesa/main/ff_fragment_shad

[Mesa-dev] [PATCH 08/15] i965: check malloc return value in intel_resolve_map_set()

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/mesa/drivers/dri/i965/intel_resolve_map.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/drivers/dri/i965/intel_resolve_map.c b/src/mesa/drivers/dri/i965/intel_resolve_map.c index 04b5c94..c5a4cd7 100644 --- a/src/mesa/drivers/dri/i

[Mesa-dev] [PATCH 03/15] mesa: add extra null checks in vbo_rebase_prims()

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila Reviewed-by: Matt Turner --- src/mesa/vbo/vbo_rebase.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/src/mesa/vbo/vbo_rebase.c b/src/mesa/vbo/vbo_rebase.c index f3fe5f7..374d129 100644 --- a/src/mesa/vbo/vbo_rebase.c +++ b/src/mesa/vb

[Mesa-dev] [PATCH 00/15] Klocwork patches again

2014-04-27 Thread Juha-Pekka Heikkila
Most of these were earlier on the list but they seem to have vanished to void already. This set pass piglit quick set on my ivybridge without regressions. Patch 15 (i965: Avoid null access in intelMakeCurrent()) I'm was a bit iffy if its the same behavior which I replaced. In patch 14 (mesa/drive

[Mesa-dev] [PATCH 01/15] mesa: Add _mesa_error_no_memory for logging out-of-memory messages

2014-04-27 Thread Juha-Pekka Heikkila
From: Ian Romanick This can be called from locations that don't have a context pointer handy. This patch also adds enough infrastructure so that the unit tests for the GLSL compiler and the stand-alone compiler will build and function. This patch was originally signed off by Ian Romanick, now v

[Mesa-dev] [PATCH 05/15] mesa: Add missing null checks into prog_hash_table.c

2014-04-27 Thread Juha-Pekka Heikkila
Check calloc return values in hash_table_insert() and hash_table_replace() Signed-off-by: Juha-Pekka Heikkila --- src/mesa/program/prog_hash_table.c | 8 1 file changed, 8 insertions(+) diff --git a/src/mesa/program/prog_hash_table.c b/src/mesa/program/prog_hash_table.c index f45ed46.

[Mesa-dev] [PATCH 06/15] glsl: add missing null check in tfeedback_decl::init()

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila --- src/glsl/link_varyings.cpp | 5 + 1 file changed, 5 insertions(+) diff --git a/src/glsl/link_varyings.cpp b/src/glsl/link_varyings.cpp index c925c00..c3cc509 100644 --- a/src/glsl/link_varyings.cpp +++ b/src/glsl/link_varyings.cpp @@ -278,6 +278,11 @@ t

[Mesa-dev] [PATCH 02/15] mesa: add missing null checks in _tnl_register_fastpath()

2014-04-27 Thread Juha-Pekka Heikkila
Signed-off-by: Juha-Pekka Heikkila Reviewed-by: Matt Turner --- src/mesa/tnl/t_vertex.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/mesa/tnl/t_vertex.c b/src/mesa/tnl/t_vertex.c index b3deac0..421bae2 100644 --- a/src/mesa/tnl/t_vertex.c +++ b/src/mesa

[Mesa-dev] [Bug 78010] Simple Qt5 app causes strange overlay to appear on screen

2014-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78010 --- Comment #3 from Bruce Merry --- I've also discovered that if I disable the compositor in Settings -> Window manager tweaks -> Compositor, then the extra window thing goes away, but I still have the bug that the hardware renderer does not clea

[Mesa-dev] [Bug 78010] Simple Qt5 app causes strange overlay to appear on screen

2014-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78010 --- Comment #2 from Bruce Merry --- Created attachment 98091 --> https://bugs.freedesktop.org/attachment.cgi?id=98091&action=edit Screenshot with LIBGL_ALWAYS_SOFTWARE -- You are receiving this mail because: You are the assignee for the bug.

[Mesa-dev] [Bug 78010] Simple Qt5 app causes strange overlay to appear on screen

2014-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78010 --- Comment #1 from Bruce Merry --- Created attachment 98090 --> https://bugs.freedesktop.org/attachment.cgi?id=98090&action=edit Screenshot when not setting LIBGL_ALWAYS_SOFTWARE Screenshot without setting any environment variables. What look

[Mesa-dev] [Bug 78010] New: Simple Qt5 app causes strange overlay to appear on screen

2014-04-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=78010 Priority: medium Bug ID: 78010 Assignee: mesa-dev@lists.freedesktop.org Summary: Simple Qt5 app causes strange overlay to appear on screen Severity: normal Classification

[Mesa-dev] [PATCH] clover : Implement sub-devices

2014-04-27 Thread EdB
The implementation is basically a NOP but it conforms with OpenCL 1.2 As before, it needed CL 1.2 headers --- src/gallium/state_trackers/clover/api/device.cpp | 59 ++ src/gallium/state_trackers/clover/api/dispatch.cpp | 6 +-- src/gallium/state_trackers/clover/api/dispatch

Re: [Mesa-dev] [PATCH v3 00/11] Map support for GBM

2014-04-27 Thread Thomas Hellstrom
On 04/25/2014 11:36 PM, Kristian Høgsberg wrote: > On Tue, Apr 8, 2014 at 1:49 PM, Thomas Hellstrom > wrote: >> On 04/08/2014 10:28 PM, Ander Conselvan de Oliveira wrote: >>> From: Ander Conselvan de Oliveira >>> >>> Changes from previous version: >>> >>> - make it clearer that the interface i

Re: [Mesa-dev] Broadcom VideoCore IV

2014-04-27 Thread Mohamed MEDIOUNI
Le 21 avr. 2014 13:16, "Rob Clark" a écrit : > > On Sat, Apr 19, 2014 at 9:32 AM, Mohamed MEDIOUNI > wrote: > > The VideoCore IV GPU has 14 cores: > > > > - 2 VPU Cores : Full-blown cores which run the ThreadX RTOS. > > There is an experimental LLVM port to it and also the VBCC C89 > > compiler(w

[Mesa-dev] [PATCH 3/6] glsl: Pass parse state to parameter_lists_match()

2014-04-27 Thread Chris Forbes
The available implicit conversions depend on the GLSL version we're compiling. Signed-off-by: Chris Forbes --- src/glsl/ir_function.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/glsl/ir_function.cpp b/src/glsl/ir_function.cpp index 40cf589..4f0d9da 100644 --- a

[Mesa-dev] [PATCH 6/6] docs: Update GL3.txt

2014-04-27 Thread Chris Forbes
Signed-off-by: Chris Forbes --- docs/GL3.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GL3.txt b/docs/GL3.txt index d8a8894..e758662 100644 --- a/docs/GL3.txt +++ b/docs/GL3.txt @@ -104,7 +104,7 @@ GL 4.0: - 'precise' qualifiernot

[Mesa-dev] [PATCH 2/6] glsl: Add support for int -> uint implicit conversions

2014-04-27 Thread Chris Forbes
This is required for ARB_gpu_shader5. Signed-off-by: Chris Forbes --- src/glsl/ast_to_hir.cpp | 8 1 file changed, 8 insertions(+) diff --git a/src/glsl/ast_to_hir.cpp b/src/glsl/ast_to_hir.cpp index 39ad418..17c68e7 100644 --- a/src/glsl/ast_to_hir.cpp +++ b/src/glsl/ast_to_hir.cpp @@

[Mesa-dev] [PATCH 0/6] ARB_gpu_shader5 implicit conversions

2014-04-27 Thread Chris Forbes
This series adds support for new int -> uint implicit conversions from ARB_gpu_shader5, and lays some groundwork for ARB_gpu_shader_fp64's implicit conversions from various types to doubles. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http:/

[Mesa-dev] [PATCH 4/6] glsl: Pass parse state to can_implicitly_convert_to()

2014-04-27 Thread Chris Forbes
Signed-off-by: Chris Forbes --- src/glsl/ast_function.cpp | 4 ++-- src/glsl/glsl_types.cpp | 3 ++- src/glsl/glsl_types.h | 3 ++- src/glsl/ir_function.cpp | 4 ++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/glsl/ast_function.cpp b/src/glsl/ast_function.cpp index

[Mesa-dev] [PATCH 5/6] glsl: Allow int -> uint implicit conversions on function parameters

2014-04-27 Thread Chris Forbes
Signed-off-by: Chris Forbes --- src/glsl/glsl_types.cpp | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/glsl/glsl_types.cpp b/src/glsl/glsl_types.cpp index eb03a66..39c34c0 100644 --- a/src/glsl/glsl_types.cpp +++ b/src/glsl/glsl_types.cpp @@ -688,10 +688

[Mesa-dev] [PATCH 1/6] glsl: Clean up apply_implicit_conversion

2014-04-27 Thread Chris Forbes
We're about to add new implicit conversions, first for ARB_gpu_shader5, and then later for ARB_gpu_shader_fp64. Pull out the opcode determination into its own function, and get rid of the bool -> float case that could never be hit anyway [since it fails the is_numeric() check]. Signed-off-by: Chri

Re: [Mesa-dev] [PATCHES 0/9] Draw Indirect and Cube Map Arrays for RadeonSI

2014-04-27 Thread Kai Wasserbäch
Hi Marek, could you add the progress to GL3.txt, please? (In patches 2 and 9.) Thank you, Kai Marek Olšák schrieb am 26.04.2014 15:27: > Hi everyone, > > This series adds support for ARB_texture_cube_map_array and ARB_draw_indirect > to the radeonsi driver. There is also Gallium infrastructure

Re: [Mesa-dev] libxatracker: automake and spurious symbols

2014-04-27 Thread Kai Wasserbäch
Dear Emil, Emil Velikov schrieb am 25.04.2014 20:59: > [snip] > > Did you manage to try any of the suggestions - was it a llvm/clang issue or > mesa ? Please open a bugreport if you're still having issues building the > opencl library. I managed to build Mesa again, seems to have been an issue wit