[Mesa-dev] [PATCH] glsl: Do not allow scalar types in vector relational functions

2016-10-30 Thread Boyan Ding
According to OpenGL Shading Language 4.50 spec, Section 8.7 "Vector Relational Functions", functions of this type do not operate on scalar types, so remove scalar types from signature definitions to make the behavior consistent with glslangValidator and other drivers. Signed-off-by: Boyan Ding --

[Mesa-dev] [Bug 97852] Unreal Engine corrupted preview viewport

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97852 Michel Dänzer changed: What|Removed |Added QA Contact|dri-devel@lists.freedesktop |intel-3d-bugs@lists.freedes

Re: [Mesa-dev] [PATCH mesa] egl/dri2: swap_buffers_with_damage falls back to swap_buffers

2016-10-30 Thread Tapani Pälli
On 10/31/2016 08:08 AM, Tapani Pälli wrote: On 10/26/2016 02:21 PM, Emil Velikov wrote: On 24 October 2016 at 23:41, Eric Engestrom wrote: CC: Rob Herring CC: Rob Clark Suggested-by: Emil Velikov Signed-off-by: Eric Engestrom Copied the commit msg from Rob's patch and pushed to master

Re: [Mesa-dev] [PATCH mesa] egl/dri2: swap_buffers_with_damage falls back to swap_buffers

2016-10-30 Thread Tapani Pälli
On 10/26/2016 02:21 PM, Emil Velikov wrote: On 24 October 2016 at 23:41, Eric Engestrom wrote: CC: Rob Herring CC: Rob Clark Suggested-by: Emil Velikov Signed-off-by: Eric Engestrom Copied the commit msg from Rob's patch and pushed to master. I'll pick it for 13.0 later on today. I don

Re: [Mesa-dev] [PATCH 4/8] glsl: simplified error checking for duplicated layout-qualifiers

2016-10-30 Thread Timothy Arceri
On Wed, 2016-10-26 at 18:30 +0300, Andres Gomez wrote: > Tthe GLSL parser has been simplified to check for the needed The > GL_ARB_shading_language_420pack extension just when merging the > qualifiers in the proper cases. > > Reviewed-by: Timothy Arceri > Signed-off-by: Andres Gomez > --- >  s

[Mesa-dev] [Bug 97879] [amdgpu] Rocket League: long hangs (several seconds) when loading assets (models/textures/shaders?)

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=97879 --- Comment #40 from Michel Dänzer --- (In reply to Stefano Cipriani from comment #39) > https://drive.google.com/open?id=0B41ZZ4daaP9hTmNDaUl2MHFWQlE While replaying this trace, I only see pauses of fractions of seconds (for shader compilations

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 Michel Dänzer changed: What|Removed |Added CC||emil.l.veli...@gmail.com -- You are rec

Re: [Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread mike . gorchak . qnx
J

Re: [Mesa-dev] [RFC] mesa: drop current draw/read buffer when ctx is released

2016-10-30 Thread Chih-Wei Huang
2016-10-28 22:09 GMT+08:00 Rob Herring : > +Mauro, Chih-Wei > > On Fri, Oct 28, 2016 at 7:22 AM, Rob Clark wrote: >> On Fri, Oct 28, 2016 at 1:24 AM, Tapani Pälli wrote: >>> On 10/27/2016 01:48 PM, Rob Clark wrote: On Thu, Oct 27, 2016 at 2:59 AM, Tapani Pälli wrote: > > O

Re: [Mesa-dev] [PATCH 1/2] configure.ac: Don't look for pthreads in Android platform

2016-10-30 Thread Gurchetan Singh
Removing the entire hunk causes build failures on CrOS mesa. Refer to this for more information: http://stackoverflow.com/questions/17055279/autotools- for-pthreads-not-setting-correct-linker-flags We can do one of the following: (1) Keep as is, with special case for android (2) Set PTHREAD_LIB

Re: [Mesa-dev] [PATCH 10/18] anv/image: Memset all aux surfaces (not just HiZ) to 0

2016-10-30 Thread Michael Schellenberger Costa
Hi Jason, the first word of the comment should be auxiliary? --Michael Am 28.10.2016 um 11:17 schrieb Jason Ekstrand: > Signed-off-by: Jason Ekstrand > --- > src/intel/vulkan/anv_image.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/src/intel/vulkan/anv_i

[Mesa-dev] [PATCHv3 1/2] clover: Add CL_PROGRAM_BINARY_TYPE support (CL1.2).

2016-10-30 Thread Francisco Jerez
From: Serge Martin v3 [Francisco Jerez]: Loosely based on Serge's v1 of this patch in order to avoid CL-specific enums in the clover module binary format. In addition to other changes made in v2: Represent the CL program binary type as the section type instead of adding a CL API-spec

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 --- Comment #4 from Mauro Santos --- Created attachment 127635 --> https://bugs.freedesktop.org/attachment.cgi?id=127635&action=edit Bisect log -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact f

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 --- Comment #3 from Mauro Santos --- After bisecting (hope I've done it right), the first bad commit is be239326aa4f9317d42ee07f0f51179c8b3d5b22 I've tried to revert this commit and test again but I haven't been able to do so. Bisect log is att

Re: [Mesa-dev] [PATCH v3 2/6] nv50/ir: implement mad post ra folding for nvc0+

2016-10-30 Thread Karol Herbst
2016-10-30 23:45 GMT+01:00 Matt Turner : > On Sun, Oct 30, 2016 at 2:20 PM, Karol Herbst wrote: >> Signed-off-by: Karol Herbst >> >> fixup >> >> Signed-off-by: Karol Herbst > > Oops. uhh totally missed that, thanks ___ mesa-dev mailing list mesa-dev@l

Re: [Mesa-dev] [PATCH v2] clover: add GetKernelArgInfo (CL 1.2)

2016-10-30 Thread Francisco Jerez
Serge Martin writes: > --- > src/gallium/state_trackers/clover/api/kernel.cpp | 47 -- > src/gallium/state_trackers/clover/core/kernel.cpp | 6 +++ > src/gallium/state_trackers/clover/core/kernel.hpp | 1 + > src/gallium/state_trackers/clover/core/module.hpp | 19 +-- >

Re: [Mesa-dev] [PATCH v3 2/6] nv50/ir: implement mad post ra folding for nvc0+

2016-10-30 Thread Matt Turner
On Sun, Oct 30, 2016 at 2:20 PM, Karol Herbst wrote: > Signed-off-by: Karol Herbst > > fixup > > Signed-off-by: Karol Herbst Oops. ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH v2 2/2] clover: add missing clGetDeviceInfo CL1.2 queries

2016-10-30 Thread Francisco Jerez
Serge Martin writes: > --- > src/gallium/state_trackers/clover/api/device.cpp | 23 > +++ > src/gallium/state_trackers/clover/core/device.cpp | 10 ++ > src/gallium/state_trackers/clover/core/device.hpp | 2 ++ > 3 files changed, 35 insertions(+) > > diff --git a/s

[Mesa-dev] [PATCH v3] nv50/ir: Split 64-bit integer MAD/MUL operations

2016-10-30 Thread Pierre Moreau
Hardware does not support 64-bit integers MAD and MUL operations, so we need to transform them in 32-bit operations. Signed-off-by: Pierre Moreau --- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 116 + 1 file changed, 116 insertions(+) Tested with (the GPU result was

Re: [Mesa-dev] [PATCH v3 1/6] nv50/ir: restructure postraconstantfolding pass

2016-10-30 Thread Ilia Mirkin
On Sun, Oct 30, 2016 at 5:20 PM, Karol Herbst wrote: > we might want to add more folding passes here, so make it a bit more generic > > v2: leave the comment and reword commit message > > Signed-off-by: Karol Herbst > Reviewed-by: Samuel Pitoiset > --- > .../drivers/nouveau/codegen/nv50_ir_peep

Re: [Mesa-dev] [PATCH v3 5/6] gm107/ir: add LIMM form of mad

2016-10-30 Thread Ilia Mirkin
I would recommend moving the emit part of this and the previous patch up in the series, so you then just have a patch generalizing the PostRaConstFolding pass. (Ugh, what a bad name. I'll send a separate comment about that.) On Sun, Oct 30, 2016 at 5:20 PM, Karol Herbst wrote: > v2: renamed commi

Re: [Mesa-dev] [PATCH v3 3/6] nv50/ra: always prefer def == src2 for mad/sad

2016-10-30 Thread Ilia Mirkin
On Sun, Oct 30, 2016 at 5:20 PM, Karol Herbst wrote: > total instructions in shared programs : 3491273 -> 3487792 (-0.10%) > total gprs used in shared programs: 453803 -> 453804 (0.00%) > total local used in shared programs : 21621 -> 21621 (0.00%) > total bytes used in shared programs : 3

[Mesa-dev] [PATCH v3 4/6] gk110/ir: add LIMM form of mad

2016-10-30 Thread Karol Herbst
v2: renamed commit reordered modifiers add assert(dst == src2) v3: removed wrong neg mod emission Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 50 ++ .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 2 +- 2 files changed, 3

[Mesa-dev] [PATCH v3 6/6] nv50/ir: replace post_ra_dead by Instruction::isDead

2016-10-30 Thread Karol Herbst
Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 +- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 24 -- 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.h b/src/gallium/

[Mesa-dev] [PATCH v3 2/6] nv50/ir: implement mad post ra folding for nvc0+

2016-10-30 Thread Karol Herbst
changes for GpuTest /test=pixmark_piano /benchmark /no_scorebox /msaa=0 /benchmark_duration_ms=6 /width=1024 /height=640: score: 1026 -> 1044 changes for shader-db: total instructions in shared programs : 3499445 -> 3491273 (-0.23%) total gprs used in shared programs: 453803 -> 453803 (0

[Mesa-dev] [PATCH v3 1/6] nv50/ir: restructure postraconstantfolding pass

2016-10-30 Thread Karol Herbst
we might want to add more folding passes here, so make it a bit more generic v2: leave the comment and reword commit message Signed-off-by: Karol Herbst Reviewed-by: Samuel Pitoiset --- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 121 +++-- 1 file changed, 63 insertion

[Mesa-dev] [PATCH v3 5/6] gm107/ir: add LIMM form of mad

2016-10-30 Thread Karol Herbst
v2: renamed commit reordered modifiers add assert(dst == src2) v3: reordered modifiers again Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 35 -- .../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 3 +- 2 files changed, 27 ins

[Mesa-dev] [PATCH v3 0/6] nv50/ir: PostRaConstantFolding improvements

2016-10-30 Thread Karol Herbst
This series reworks the structure of the pass to make it easier to add more optimisations to it. Patches 1-3 can be merged without 4-6 v2: swaped the last two commits v3: reworked order changes for shader-db: total instructions in shared programs : 3499445 -> 3487792 (-0.33%) total gprs used in

[Mesa-dev] [PATCH v3 3/6] nv50/ra: always prefer def == src2 for mad/sad

2016-10-30 Thread Karol Herbst
total instructions in shared programs : 3491273 -> 3487792 (-0.10%) total gprs used in shared programs: 453803 -> 453804 (0.00%) total local used in shared programs : 21621 -> 21621 (0.00%) total bytes used in shared programs : 3272 -> 31968072 (-0.10%) localgpr

Re: [Mesa-dev] [PATCH v6] clover: Introduce CLOVER_EXTRA_*_OPTIONS environment variables

2016-10-30 Thread Francisco Jerez
Vedran Miletić writes: > The options specified in the CLOVER_EXTRA_BUILD_OPTIONS shell > variable are appended to the options specified by the OpenCL program > in the clBuildProgram function call, if any. > Analogously, the options specified in the CLOVER_EXTRA_COMPILE_OPTIONS > and CLOVER_EXTRA_

Re: [Mesa-dev] [PATCH] clover: clGetExtensionFunctionAddressForPlatform

2016-10-30 Thread Francisco Jerez
Serge Martin writes: > On Saturday 01 October 2016 19:03:11 Serge Martin wrote: >> On Sunday 27 September 2015 11:15:14 Serge Martin wrote: >> > add clGetExtensionFunctionAddressForPlatform (CL 1.2) >> >> ping (one year reminder :p ) > > CC curro > R-b and pushed. >> >> > --- >> > >> > src/

Re: [Mesa-dev] [PATCH v2] clover: Allow OpenCL version override

2016-10-30 Thread Francisco Jerez
Vedran Miletić writes: > CLOVER_CL_VERSION_OVERRIDE allows overriding default OpenCL version > supported by Clover, analogous to MESA_GL_VERSION_OVERRIDE for OpenGL. > CLOVER_CL_C_VERSION_OVERRIDE allows overridng default OpenCL C version. > > v2: > - move version getters to version.hpp, simpli

Re: [Mesa-dev] [PATCH v4] clover: Pass unquoted compiler arguments to Clang

2016-10-30 Thread Francisco Jerez
Vedran Miletić writes: > OpenCL apps can quote arguments they pass to the OpenCL compiler, most > commonly include paths containing spaces. > > If the Clang OpenCL compiler was called via a shell, the shell would > split the arguments with respect to to quotes and then remove quotes > before pass

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 --- Comment #2 from Mauro Santos --- I'll try to bisect and see if I can find the offending commit, I'll post back when I have a result. Are there any tests you'd like me to do or other information you'd like me to post? -- You are receiving t

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 --- Comment #1 from Alex Deucher --- If this is a regression can you bisect? -- You are receiving this mail because: You are the assignee for the bug. You are the QA Contact for the bug.___ mesa-dev m

[Mesa-dev] [Bug 98502] Delay when starting firefox, thunderbird or chromium and dmesg spam

2016-10-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=98502 Bug ID: 98502 Summary: Delay when starting firefox, thunderbird or chromium and dmesg spam Product: Mesa Version: 13.0 Hardware: x86-64 (AMD64) OS: Linux (A