Re: [Mesa-dev] [PATCH 02/13] mesa/dri: always link against shared glapi

2017-05-06 Thread Grazvydas Ignotas
This causes a strange build failure for me: make[7]: Entering directory '/home/notaz/src/radeon/mesa/src/mesa/drivers/dri' make[7]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/opt/xorg/lib/dri/' /bin/bash ../../../../libtool --mode=install /usr/bin/install -c mesa_dri_drivers.la

Re: [Mesa-dev] [PATCH 3/4] nv50/ir: Remove unused translation methods

2017-05-06 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Sat, May 6, 2017 at 5:47 PM, Pierre Moreau wrote: > This code was merged commented out, and has stayed that way ever since. > > Signed-off-by: Pierre Moreau > --- > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 12 +++- > src/gallium/drivers/nouveau/code

Re: [Mesa-dev] [PATCH v03 35/38] i965: Port gen4+ emit vertices code to genxml.

2017-05-06 Thread Kenneth Graunke
On Saturday, May 6, 2017 12:34:33 AM PDT Pohjolainen, Topi wrote: > On Sat, May 06, 2017 at 12:30:05AM -0700, Kenneth Graunke wrote: > > On Thursday, May 4, 2017 10:38:53 PM PDT Pohjolainen, Topi wrote: > > > On Thu, May 04, 2017 at 12:16:53PM -0700, Rafael Antognolli wrote: > > > > On Thu, May 04,

Re: [Mesa-dev] [PATCH 4/4] nv50/ir: Replace NV50_PROGRAM_IR_* by PIPE_SHADER_IR_*

2017-05-06 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Sat, May 6, 2017 at 5:47 PM, Pierre Moreau wrote: > Signed-off-by: Pierre Moreau > --- > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 2 +- > src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 7 +-- > src/gallium/drivers/nouveau/nouveau_compiler.c

Re: [Mesa-dev] [PATCH 2/4] nv50/ir: Free target if we failed to create a program

2017-05-06 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Sat, May 6, 2017 at 5:47 PM, Pierre Moreau wrote: > Signed-off-by: Pierre Moreau > --- > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp > b/

Re: [Mesa-dev] [PATCH 1/4] nv50/ir: Fail if encountering unknown shader type

2017-05-06 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Sat, May 6, 2017 at 5:47 PM, Pierre Moreau wrote: > Signed-off-by: Pierre Moreau > --- > src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp > b

[Mesa-dev] [PATCH 2/4] nv50/ir: Free target if we failed to create a program

2017-05-06 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp index 1f640a348a..a4b46eb13f 100644 --- a/src/

[Mesa-dev] [PATCH 4/4] nv50/ir: Replace NV50_PROGRAM_IR_* by PIPE_SHADER_IR_*

2017-05-06 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 2 +- src/gallium/drivers/nouveau/codegen/nv50_ir_driver.h | 7 +-- src/gallium/drivers/nouveau/nouveau_compiler.c | 2 +- src/gallium/drivers/nouveau/nv50/nv50_program.c | 4 +++- src/gallium/d

[Mesa-dev] [PATCH 1/4] nv50/ir: Fail if encountering unknown shader type

2017-05-06 Thread Pierre Moreau
Signed-off-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp index b67a1ddbd5..1f640a348a 100644 --- a/src

[Mesa-dev] [PATCH 3/4] nv50/ir: Remove unused translation methods

2017-05-06 Thread Pierre Moreau
This code was merged commented out, and has stayed that way ever since. Signed-off-by: Pierre Moreau --- src/gallium/drivers/nouveau/codegen/nv50_ir.cpp | 12 +++- src/gallium/drivers/nouveau/codegen/nv50_ir.h | 1 - 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/

Re: [Mesa-dev] [PATCH 6/9] i965/vec4: Use NIR remapping for VS attributes

2017-05-06 Thread Kenneth Graunke
On Saturday, May 6, 2017 11:13:37 AM PDT Jason Ekstrand wrote: > On May 5, 2017 4:30:31 PM Kenneth Graunke wrote: > > > On Friday, May 5, 2017 12:31:40 PM PDT Jason Ekstrand wrote: > >> On Fri, May 5, 2017 at 12:38 AM, Alejandro Piñeiro > >> wrote: > >> > >> > On 05/05/17 04:11, Jason Ekstrand w

[Mesa-dev] [GSOC] Community bonding discussion

2017-05-06 Thread Gurkirpal Singh
Hi, I was recently accepted as a Google Summer of Code (GSoC) student to work on adding omx state tracker in Mesa/Gallium that uses tizonia instead of bellagio. My mentor for this project, Julien Isorce, suggested that I should take this opportunity to interact with the mesa community and core mai

Re: [Mesa-dev] [PATCH 6/9] i965/vec4: Use NIR remapping for VS attributes

2017-05-06 Thread Jason Ekstrand
On May 5, 2017 4:30:31 PM Kenneth Graunke wrote: On Friday, May 5, 2017 12:31:40 PM PDT Jason Ekstrand wrote: On Fri, May 5, 2017 at 12:38 AM, Alejandro Piñeiro wrote: > On 05/05/17 04:11, Jason Ekstrand wrote: > > We have to pass inputs_read through from prog_data because we may add an > >

Re: [Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-06 Thread Jason Ekstrand
On May 6, 2017 7:56:02 AM Samuel Pitoiset wrote: ARB_bindless_texture allows to declare image types inside structures, Of course it does... It's not like having samplers and uniforms in structures is a massive source of pain or anything like that... which means we need to keep track of th

Re: [Mesa-dev] [PATCH] android: i965: add per-gen libmesa_i965_gen{4, 45, 5} static

2017-05-06 Thread Jason Ekstrand
Acked-by: Jason Ekstrand On May 6, 2017 7:05:39 AM Mauro Rossi wrote: Needed to fix android building errors: external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:148: error: undefined reference to 'gen5_init_atoms' external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:150: error

Re: [Mesa-dev] Building error in android-x86

2017-05-06 Thread Marek Olšák
On Sat, May 6, 2017 at 4:16 PM, Mauro Rossi wrote: > 2017-05-06 12:15 GMT+02:00 Marek Olšák : >> >> Hi, >> >> There are several options: >> - Use Mesa 17.1 instead of master >> - Drop support for radeonsi in Nougat if you have to use master >> - Revert the commit removing LLVM 3.8 support, resolve

[Mesa-dev] [PATCH 2/2] docs: extend until the end of August

2017-05-06 Thread Andres Gomez
Completed the 17.1 cycle and added the beginning of the 17.2 one. Cc: Emil Velikov Cc: Juan A. Suarez Romero Signed-off-by: Andres Gomez --- docs/release-calendar.html | 62 +- 1 file changed, 61 insertions(+), 1 deletion(-) diff --git a/docs/releas

[Mesa-dev] [PATCH 1/2] docs: update "Release manager" column

2017-05-06 Thread Andres Gomez
Cc: Emil Velikov Cc: Juan A. Suarez Romero Signed-off-by: Andres Gomez --- docs/release-calendar.html | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/release-calendar.html b/docs/release-calendar.html index fa67987da1..897fb41ead 100644 --- a/docs/release-calend

[Mesa-dev] [PATCH 0/2] Extended the release calendar

2017-05-06 Thread Andres Gomez
Calendar updated and extended until end of August. Andres Gomez (2): docs: update "Release manager" column docs: extend until the end of August docs/release-calendar.html | 68 +++--- 1 file changed, 64 insertions(+), 4 deletions(-) -- 2.11.0 __

Re: [Mesa-dev] [RFC PATCH 04/17] include/pipe: Store the byte-size of a SPIR-V binary

2017-05-06 Thread Pierre Moreau
This seems like a good idea. I changed the code locally to use `pipe_llvm_program_header` instead; it does not seem worth it to create a `pipe_spirv_program_header`, since it would only contain a `num_bytes` attributes for now. signature.asc Description: PGP signature

[Mesa-dev] [PATCH 2/2] glsl: apply the image format for members of structures

2017-05-06 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/compiler/glsl/ast_to_hir.cpp | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/src/compiler/glsl/ast_to_hir.cpp b/src/compiler/glsl/ast_to_hir.cpp index 7ae83dfd83..1114d9e459 100644 --- a/src/compiler

[Mesa-dev] [PATCH 0/2] Two simple follow up patches for GLSL and bindless

2017-05-06 Thread Samuel Pitoiset
Noticed after sending the v3, I thought the issue was in GLSL->TGSI but actually one important bit is missing when images are declared inside structures. Plese review! Thanks. Samuel Pitoiset (2): glsl: store the image format in glsl_struct_field glsl: apply the image format for members of st

[Mesa-dev] [PATCH 1/2] glsl: store the image format in glsl_struct_field

2017-05-06 Thread Samuel Pitoiset
ARB_bindless_texture allows to declare image types inside structures, which means we need to keep track of the format. Signed-off-by: Samuel Pitoiset --- src/compiler/glsl/builtin_variables.cpp | 1 + src/compiler/glsl_types.cpp | 3 +++ src/compiler/glsl_types.h | 8 ++

[Mesa-dev] [Bug 100928] exported opengl function in generated dll was mangled when building with msvc 2015 Update 3

2017-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100928 --- Comment #3 from jon yang --- yeah you right my linux build is x64. And on windows is I just missing very tiny stuff MESA_GL_VERSION_OVERRIDE . you can close this bug as this is a false positive bug. thank you. -- You are receiving this ma

Re: [Mesa-dev] Building error in android-x86

2017-05-06 Thread Mauro Rossi
2017-05-06 12:15 GMT+02:00 Marek Olšák : > > Hi, > > There are several options: > - Use Mesa 17.1 instead of master > - Drop support for radeonsi in Nougat if you have to use master > - Revert the commit removing LLVM 3.8 support, resolve merge conflicts, and > send it for review. > > I'd be OK wi

[Mesa-dev] [PATCH] bin/get-fixes-pick-list.sh: don't warn if more than one, go over them

2017-05-06 Thread Andres Gomez
If an identified commit was having more than one fix, we would warn about that and only treat the first. Now, we don't warn but treat all of them. Signed-off-by: Andres Gomez --- bin/get-fixes-pick-list.sh | 51 +++--- 1 file changed, 26 insertions(+), 25

[Mesa-dev] [PATCH] android: i965: add per-gen libmesa_i965_gen{4, 45, 5} static

2017-05-06 Thread Mauro Rossi
Needed to fix android building errors: external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:148: error: undefined reference to 'gen5_init_atoms' external/mesa/src/mesa/drivers/dri/i965/brw_state_upload.c:150: error: undefined reference to 'gen45_init_atoms' external/mesa/src/mesa/drivers/d

Re: [Mesa-dev] [PATCH 7/8] android: support creating texture from gralloc buffer

2017-05-06 Thread Tomasz Figa
On Sat, May 6, 2017 at 2:14 AM, Rob Herring wrote: > On Mon, May 1, 2017 at 9:55 AM, Tomasz Figa wrote: >> On Mon, May 1, 2017 at 11:17 PM, Mauro Rossi wrote: >>> Hi all, >>> >>> another try to merge android swrast patches in mesa 17.1 or mesa-dev >>> if they are somehow considered useful for an

Re: [Mesa-dev] [PATCH 7/8] android: support creating texture from gralloc buffer

2017-05-06 Thread Tomasz Figa
On Sat, May 6, 2017 at 7:13 PM, Mauro Rossi wrote: > > > 2017-05-05 19:14 GMT+02:00 Rob Herring : >> >> On Mon, May 1, 2017 at 9:55 AM, Tomasz Figa wrote: >> > On Mon, May 1, 2017 at 11:17 PM, Mauro Rossi >> > wrote: >> >> Hi all, >> >> >> >> another try to merge android swrast patches in mesa 1

[Mesa-dev] [Bug 100951] vkcube fails with vkMapMemory failed

2017-05-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=100951 Vedran Miletić changed: What|Removed |Added CC||ved...@miletic.net -- You are receivi

Re: [Mesa-dev] Building error in android-x86

2017-05-06 Thread Marek Olšák
Hi, There are several options: - Use Mesa 17.1 instead of master - Drop support for radeonsi in Nougat if you have to use master - Revert the commit removing LLVM 3.8 support, resolve merge conflicts, and send it for review. I'd be OK with any but I recommend the first one. Marek Marek On May

Re: [Mesa-dev] [PATCH 7/8] android: support creating texture from gralloc buffer

2017-05-06 Thread Mauro Rossi
2017-05-05 19:14 GMT+02:00 Rob Herring : > On Mon, May 1, 2017 at 9:55 AM, Tomasz Figa wrote: > > On Mon, May 1, 2017 at 11:17 PM, Mauro Rossi > wrote: > >> Hi all, > >> > >> another try to merge android swrast patches in mesa 17.1 or mesa-dev > >> if they are somehow considered useful for andro

[Mesa-dev] Building error in android-x86

2017-05-06 Thread Mauro Rossi
Hi, mesa-dev is about to be polished for marshmallow, nougat and O and radeonsi was working on both marshmallow-x86 and nougat-x86 Now I see that llvm 3.8 is considered dropped, but commit "radeonsi: drop support for LLVM 3.8" does not mention that nougat is gone. Is there a chance that we can t

Re: [Mesa-dev] [PATCH v03 35/38] i965: Port gen4+ emit vertices code to genxml.

2017-05-06 Thread Pohjolainen, Topi
On Sat, May 06, 2017 at 12:30:05AM -0700, Kenneth Graunke wrote: > On Thursday, May 4, 2017 10:38:53 PM PDT Pohjolainen, Topi wrote: > > On Thu, May 04, 2017 at 12:16:53PM -0700, Rafael Antognolli wrote: > > > On Thu, May 04, 2017 at 11:19:24AM +0300, Pohjolainen, Topi wrote: > > > > On Mon, May 01

Re: [Mesa-dev] [PATCH v03 35/38] i965: Port gen4+ emit vertices code to genxml.

2017-05-06 Thread Kenneth Graunke
On Thursday, May 4, 2017 10:38:53 PM PDT Pohjolainen, Topi wrote: > On Thu, May 04, 2017 at 12:16:53PM -0700, Rafael Antognolli wrote: > > On Thu, May 04, 2017 at 11:19:24AM +0300, Pohjolainen, Topi wrote: > > > On Mon, May 01, 2017 at 06:43:23PM -0700, Rafael Antognolli wrote: [snip] > > > > + i