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 > --- >

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

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 +- >

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(-) >

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(-)

[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

[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

[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

[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

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: >

[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

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

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

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'

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

[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

[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

[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

[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 +++

[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

[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. --

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

[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,

[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'

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

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

[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

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

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

[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

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

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] > > > > +

Re: [Mesa-dev] [PATCH 2/2] i965/genxml: Mostly style fixes for emit_vertices code.

2017-05-06 Thread Pohjolainen, Topi
On Fri, May 05, 2017 at 11:22:19AM -0700, Rafael Antognolli wrote: > Several issues were caught on review after the original patch landed. > This commit fixes them. > > Signed-off-by: Rafael Antognolli > Cc: "Pohjolainen, Topi" > --- >

Re: [Mesa-dev] [PATCH] i965/vec4: Delete the system value infastructure

2017-05-06 Thread Alejandro Piñeiro
BTW, just noticed a typo on the commit message: "infastructure" instead of "infrastructure". Sorry for the noise. On 06/05/17 00:02, Jason Ekstrand wrote: > --- > src/intel/compiler/brw_vec4.h | 5 > src/intel/compiler/brw_vec4_gs_nir.cpp | 32 - >

Re: [Mesa-dev] [PATCH] i965/vec4: Delete the system value infastructure

2017-05-06 Thread Alejandro Piñeiro
On 06/05/17 00:02, Jason Ekstrand wrote: > --- > src/intel/compiler/brw_vec4.h | 5 > src/intel/compiler/brw_vec4_gs_nir.cpp | 32 - > src/intel/compiler/brw_vec4_gs_visitor.cpp | 20 > src/intel/compiler/brw_vec4_gs_visitor.h | 2

Re: [Mesa-dev] [PATCH 1/2] i965: Update gen6_depth_stencil_state to use genX macro.

2017-05-06 Thread Pohjolainen, Topi
On Fri, May 05, 2017 at 11:22:18AM -0700, Rafael Antognolli wrote: > While moving depth stencil state to use genxml, this one was left > behind. > > Signed-off-by: Rafael Antognolli > Cc: "Pohjolainen, Topi" Reviewed-by: Topi Pohjolainen

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

2017-05-06 Thread Alejandro Piñeiro
On 05/05/17 21:31, 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 9/9] i965/vec4: Use NIR to do GS input remapping

2017-05-06 Thread Alejandro Piñeiro
On 05/05/17 21:24, Jason Ekstrand wrote: > On Fri, May 5, 2017 at 1:04 AM, Alejandro Piñeiro > > wrote: > > On 05/05/17 04:11, Jason Ekstrand wrote: > > We're already doing this in the FS back-end. This just does the > same > >