[Mesa-dev] [AppVeyor] mesa-webhook master #15068 failed

2020-03-27 Thread AppVeyor
Build mesa-webhook 15068 failed Commit e609737526 by Marek Olšák on 3/20/2020 9:34 PM: radeonsi/gfx10: fix descriptors and compute registers for compute-based culling\n\nAcked-by: Pierre-Eric Pelloux-Prayer \nTested-by: Marge Bot \nPart-of:

[Mesa-dev] [AppVeyor] mesa-webhook master #15063 completed

2020-03-27 Thread AppVeyor
Build mesa-webhook 15063 completed Commit 6cfe074b86 by Jesse Natalie on 3/17/2020 5:53 PM: wgl: use gldrv.h instead of stw_icd.h\n\nNow that we have the official header, let's use that instead of\nstw_icd.h.\n\nReviewed-by: Jose Fonseca \nTested-by: Marge Bot

[Mesa-dev] [AppVeyor] mesa-webhook master #15062 failed

2020-03-27 Thread AppVeyor
Build mesa-webhook 15062 failed Commit c9091f1f24 by Karol Herbst on 9/20/2019 6:27 PM: nv50, nvc0: fix must_check warning of util_dynarray_resize_bytes\n\nSigned-off-by: Karol Herbst \nReviewed-by: Erik Faye-Lund \nTested-by: Marge Bot \nPart-of:

Re: [Mesa-dev] Drop scons for 20.1?

2020-03-27 Thread Jose Fonseca
From: Michel Dänzer Sent: Friday, March 27, 2020 15:56 To: Jose Fonseca ; Marek Olšák Cc: Neha Bhende ; Kristian Høgsberg ; Dylan Baker ; mesa-dev Subject: Re: [Mesa-dev] Drop scons for 20.1? On 2020-03-27 2:29 p.m., Jose Fonseca wrote: > > If SCons is such

Re: [Mesa-dev] Drop scons for 20.1?

2020-03-27 Thread Michel Dänzer
On 2020-03-27 2:29 p.m., Jose Fonseca wrote: > > If SCons is such a time sink, then the best we can do is suggest to > take it off Marge-bot. That would be something like https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4352 then. > The onus of fixing SCons will go back to us, as it

[Mesa-dev] [PATCH v3 3/8] nv50/ir: Add nv50_ir_prog_info_out serialize and deserialize

2020-03-27 Thread Mark Menzynski
Adds functions for serializing and deserializing nv50_ir_prog_info_out structure, which are needed for shader caching. Signed-off-by: Mark Menzynski --- .../drivers/nouveau/codegen/nv50_ir_driver.h | 44 + .../nouveau/codegen/nv50_ir_emit_gk110.cpp| 14 +-

[Mesa-dev] [PATCH v3 8/8] nv50: Add shader disk caching

2020-03-27 Thread Mark Menzynski
Adds shader disk caching for nv50 to reduce the need to every time compile shaders. Shaders are saved into disk_shader_cache from nv50_screen structure. It serializes the input nv50_ir_prog_info to compute the hash key and also to do a byte compare between the original nv50_ir_prog_info and the

[Mesa-dev] [PATCH v3 7/8] nv50: Add separate functions for varying bits

2020-03-27 Thread Mark Menzynski
This separation will be needed for shader disk caching. The reason for it is that when loading shaders from cache, data in info structure already gets loaded. That means varying bits for info is needed only when compiling shaders and not needed when loading from cache. Varying bits for prog are

[Mesa-dev] [PATCH v3 2/8] nv50/ir: add nv50_ir_prog_info_out

2020-03-27 Thread Mark Menzynski
From: Karol Herbst Split out the output relevant fields from the nv50_ir_prog_info struct in order to have a cleaner separation between the input and output of the compilation. Signed-off-by: Karol Herbst --- .../drivers/nouveau/codegen/nv50_ir.cpp | 49 ++--

[Mesa-dev] [PATCH v3 5/8] nv50/ir: Add nv50_ir_prog_info serialize

2020-03-27 Thread Mark Menzynski
Adds a function for serializing a nv50_ir_prog_info structure, which is needed for shader caching. Signed-off-by: Mark Menzynski --- .../drivers/nouveau/codegen/nv50_ir_driver.h | 4 ++ .../nouveau/codegen/nv50_ir_serialize.cpp | 42 +++ 2 files changed, 46 insertions(+)

[Mesa-dev] [PATCH v3 6/8] nvc0: Add shader disk caching

2020-03-27 Thread Mark Menzynski
Adds shader disk caching for nvc0 to reduce the need to every time compile shaders. Shaders are saved into disk_shader_cache from nvc0_screen structure. It serializes the input nv50_ir_prog_info to compute the hash key and also to do a byte compare between the original nv50_ir_prog_info and the

[Mesa-dev] [PATCH v3 4/8] nv50/ir: Add prog_info_out print

2020-03-27 Thread Mark Menzynski
Adds a function for printing nv50_ir_prog_info_out structure in JSON-like format, which could be used in debugging. Signed-off-by: Mark Menzynski --- .../drivers/nouveau/codegen/nv50_ir_driver.h | 3 + .../drivers/nouveau/codegen/nv50_ir_print.cpp | 154 ++ 2 files changed,

[Mesa-dev] [PATCH v3 1/8] nv50/ir: remove symbol table support for compute shaders

2020-03-27 Thread Mark Menzynski
From: Karol Herbst The initial plan was to use this for OpenCL kernels, but back then the plan was to convert from LLVM to TGSI. As it turns out, we didn't went that way. Right now for OpenCL we don't reqiure supporting multiple entry points inside the same binary and if we want to support it

Re: [Mesa-dev] Drop scons for 20.1?

2020-03-27 Thread Jose Fonseca
In the long term we should reduce the complexity of the project. scons is a maintenance burden. We all agree here. And we are making progress. Even a couple of weeks ago I had to debug and fix weird Meson behaviour -- https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4186 Every time