[Mesa-dev] [PATCH] nv50/ir/ra: fix memory corruption when spilling

2019-11-12 Thread Karol Herbst
When doing RA we end up with adding ValueDef references to Values across all over the shader. This is all fine until we remove the Instruction defining those Values, which happens when spilling values. So before actually removing those instructions, clean up any stale references to its definitions.

Re: [Mesa-dev] [PATCH] Call shmget() with permission 0600 instead of 0777

2019-11-12 Thread Kristian Høgsberg
Looks good, Reviewed-by: Kristian H. Kristensen On Tue, Nov 12, 2019 at 10:47 AM Brian Paul wrote: > > Ping again. > > > On 10/24/2019 03:25 PM, Brian Paul wrote: > > Ping. Anyone? > > > > -Brian > > > > On Tue, Oct 22, 2019 at 3:52 PM Brian Paul > > wrote: > > > >

Re: [Mesa-dev] [PATCH] Call shmget() with permission 0600 instead of 0777

2019-11-12 Thread Brian Paul
Ping again. On 10/24/2019 03:25 PM, Brian Paul wrote: Ping.  Anyone? -Brian On Tue, Oct 22, 2019 at 3:52 PM Brian Paul > wrote: A security advisory (TALOS-2019-0857/CVE-2019-5068) found that creating shared memory regions with permission mode 0777 could all

[Mesa-dev] V3D Vulkan DeviceWaitIdle

2019-11-12 Thread abergmeier
On the quest of implementing Vulkan (using V3D (DRM)), I am currently trying to implement things like `_DeviceWaitIdle`.   For devices the current plan is to have an active `v3d_job` together with a collection of available `v3d_job`s similar to Gallium. IIUC the device would then be the owner of

Re: [Mesa-dev] [PATCH] nir: fix a couple signed/unsigned comparison warnings in nir_builder.h

2019-11-12 Thread Jason Ekstrand
Reviewed-by: Jason Ekstrand On Mon, Nov 11, 2019 at 5:45 PM Brian Paul wrote: > --- > src/compiler/nir/nir_builder.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/compiler/nir/nir_builder.h > b/src/compiler/nir/nir_builder.h > index de00fe7..aed4759 100644 >

Re: [Mesa-dev] [PATCH] s/APIENTRY/GLAPIENTRY/ in teximage.c

2019-11-12 Thread Kristian Høgsberg
On Mon, Nov 11, 2019 at 3:45 PM Brian Paul wrote: > > The later is the right symbol for entrypoint functions. Reviewed-by: Kristian H. Kristensen > --- > src/mesa/main/texgetimage.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/mesa/main/texgetimage.c b/src/mesa/

Re: [Mesa-dev] [PATCH] spirv: s/{}/{0}/ initializer to fix MSVC build

2019-11-12 Thread Erik Faye-Lund
There's already this one: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/2695 On Mon, 2019-11-11 at 16:46 -0700, Brian Paul wrote: > Trivial. > --- > src/compiler/spirv/vtn_variables.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/compiler/spirv/vtn_varia