Re: [Mesa-dev] gallium: Reduce trace_dump_box_bytes size by box->x.

2017-06-27 Thread Michel Dänzer
On 27/06/17 04:10 AM, Marek Olšák wrote: > In my opinion, dumping resources isn't very useful. I think it would > be better to remove that completely. You'd have to remove the whole trace driver along with it, since its purpose is to generate a trace which can be replayed. -- Earthling Michel

Re: [Mesa-dev] [PATCH 08/92] nir: add nir_lower_uniforms_to_ubo pass

2017-06-27 Thread Nicolai Hähnle
On 26.06.2017 21:07, Connor Abbott wrote: I think this would probably be a lot simpler if it ran after nir_lower_io, since you wouldn't need to do all the dereference munging to compute the offset. That is, instead of translating load_var intrinsics, it would translate load_uniform intrinsics

Re: [Mesa-dev] [PATCH 16/92] st/nir: make nir_lower_tex configurable

2017-06-27 Thread Nicolai Hähnle
On 26.06.2017 21:09, Rob Clark wrote: So the solution to this so far has been to call this both from driver and from mesa/st. (The mesa/st call to nir_lower_tex is only in the rare case of gles + yuv EGLImageExternal (ie. basically a hack because android expects YUV texture support. So I guess

Re: [Mesa-dev] [PATCH 01/92] glsl: add glsl_base_type_is_integer

2017-06-27 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 06/26/2017 04:09 PM, Nicolai Hähnle wrote: From: Nicolai Hähnle We will use this from radeonsi/nir, which we want to keep as pure C code. --- src/compiler/glsl_types.h | 11 +++ 1 file changed, 11

Re: [Mesa-dev] [PATCH] i965: skip varyings without slot

2017-06-27 Thread Juan A. Suarez Romero
On Tue, 2017-06-27 at 09:29 +1000, Timothy Arceri wrote: > On 16/06/17 18:12, Juan A. Suarez Romero wrote: > > > Commit 00620782c9 (i965: use nir_shader_gather_info() over > > do_set_program_inouts()) changed how we compute the outputs written. > > > > In the previous version it was using the IR

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 9:07 AM, Roland Scheidegger wrote: > Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: >> These chips can't do border color? I wonder how they got away with that >> with d3d since afaik it isn't optional. > Err, I should have known better, EVERYTHING

[Mesa-dev] [PATCH 00/42] Some various KHR_no_error patches

2017-06-27 Thread Samuel Pitoiset
Hi, This series adds KHR_no_error support to various GL calls, mostly the ones used by the DOW3 benchmark. Piglit updates are coming shortly. I didn't do any benchmarks, but this should save few CPU time here and there. Please review, Thanks! Samuel Pitoiset (42): mesa: pass the 'caller'

[Mesa-dev] [PATCH 02/42] mesa: rename attach_shader() to attach_shader_err()

2017-06-27 Thread Samuel Pitoiset
And add a no_error variant. Signed-off-by: Samuel Pitoiset --- src/mesa/main/shaderapi.c | 42 +- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index

[Mesa-dev] [PATCH 03/42] mesa: add KHR_no_error support for glAttachShader() and glAttachObjectARB()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 4 ++-- src/mesa/main/shaderapi.c | 28 src/mesa/main/shaderapi.h | 7 ++- 3 files changed, 36 insertions(+), 3 deletions(-) diff --git

[Mesa-dev] [PATCH 01/42] mesa: pass the 'caller' function to attach_shader()

2017-06-27 Thread Samuel Pitoiset
In order to fix GL error messages. Signed-off-by: Samuel Pitoiset --- src/mesa/main/shaderapi.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index

[Mesa-dev] [PATCH 14/42] mesa: add bind_texture_unit() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/texobj.c | 56 ++ 1 file changed, 34 insertions(+), 22 deletions(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index a5988159a57..5337f0513e4 100644 ---

[Mesa-dev] [PATCH 08/42] mesa: add KHR_no_error support for glCullFace()

2017-06-27 Thread Samuel Pitoiset
--- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/polygon.c | 8 src/mesa/main/polygon.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 415ed6a98bb..ba71d36451e 100644 ---

[Mesa-dev] [PATCH 09/42] mesa: add front_face() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/polygon.c | 27 +-- src/mesa/main/polygon.h | 2 +- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index

[Mesa-dev] [PATCH 10/42] mesa: add KHR_no_error support for glFrontFace()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/polygon.c | 8 src/mesa/main/polygon.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml

[Mesa-dev] [PATCH 06/42] mesa: add KHR_no_error support for glCreateShader() and glCreateShaderObjectARB()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 4 ++-- src/mesa/main/shaderapi.c | 16 src/mesa/main/shaderapi.h | 6 ++ 3 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/mapi/glapi/gen/gl_API.xml

[Mesa-dev] [PATCH 19/42] mesa: prepare create_textures() helper for KHR_no_error support

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/texobj.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 0fcf5839689..1b2bb50d1d3 100644 ---

Re: [Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-27 Thread Gert Wollny
> > +TEST_F(LifetimeEvaluatorExactTest, SimpleMoveAddMoveTexoffset) > > +{ > > +   const vector code = { > > +  { TGSI_OPCODE_MOV, {1}, {in0}, {}}, > > +  { TGSI_OPCODE_MOV, {2}, {in1}, {}}, > > +  { TGSI_OPCODE_UADD, {out0}, {},  {1,2}}, > > UADD doesn't have texoffsets. The test

Re: [Mesa-dev] [st/va] Fix leak in VAAPI subpictures

2017-06-27 Thread Namburu, Chandu-babu
Sure Emil, Will take care of it next time. Thank you for the suggestion. Regards, Chandu -Original Message- From: Emil Velikov [mailto:emil.l.veli...@gmail.com] Sent: Thursday, June 22, 2017 9:48 PM To: Namburu, Chandu-babu Cc: mesa-dev@lists.freedesktop.org Subject: Re:

[Mesa-dev] [PATCH mesa] build systems: uniformize git_sha1.h generation

2017-06-27 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Note: Autotools and SCons are tested, but Android isn't. --- git_sha1_gen.sh | 13 + src/Makefile.am | 13 + src/SConscript | 28

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
These chips can't do border color? I wonder how they got away with that with d3d since afaik it isn't optional. So what happens if you use these border wrap modes? You just get black border? I suppose another question is if you couldn't announce support for it nevertheless. Without a border color,

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
Am 27.06.2017 um 15:11 schrieb Ilia Mirkin: > On Tue, Jun 27, 2017 at 9:07 AM, Roland Scheidegger > wrote: >> Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: >>> These chips can't do border color? I wonder how they got away with that >>> with d3d since afaik it isn't

[Mesa-dev] [PATCH 41/42] mesa: add clear() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/clear.c | 54 +-- 1 file changed, 31 insertions(+), 23 deletions(-) diff --git a/src/mesa/main/clear.c b/src/mesa/main/clear.c index 884cf986c70..1b07a756ee4 100644 ---

[Mesa-dev] [PATCH 38/42] mesa: add KHR_no_error support for gl*ReadBuffer()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/buffers.c| 33 ++ src/mesa/main/buffers.h

[Mesa-dev] [PATCH 30/42] mesa: add fence_sync() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/syncobj.c | 42 +- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index 1347a0fcc4b..4278827b11d 100644 ---

[Mesa-dev] [PATCH 31/42] mesa: add KHR_no_error support for glFenceSync()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_sync.xml | 2 +- src/mesa/main/syncobj.c | 8 src/mesa/main/syncobj.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/ARB_sync.xml

[Mesa-dev] [PATCH mesa] mesa: add missing include

2017-06-27 Thread Eric Engestrom
src/mesa/drivers/x11/xm_dd.c:688:7: warning: implicit declaration of function ‘_mesa_update_draw_buffer_bounds’; did you mean ‘_mesa_has_ARB_draw_buffers_blend’? [-Wimplicit-function-declaration] _mesa_update_draw_buffer_bounds(ctx, ctx->DrawBuffer); ^~~

Re: [Mesa-dev] [PATCH 01/11] etnaviv: fill in layer_stride for imported resources

2017-06-27 Thread Wladimir J. van der Laan
On Fri, Jun 23, 2017 at 05:50:18PM +0200, Lucas Stach wrote: > The layer stride information is used in various parts of the driver, > so it needs to be present regardless if the driver allocated the > buffer itself or merely imported it from an external source. Reviewed-by: Wladimir J. van der

[Mesa-dev] [PATCH 42/42] mesa: add KHR_no_error support for glClear()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/clear.c | 8 src/mesa/main/clear.h | 2 ++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml

[Mesa-dev] [PATCH 20/42] mesa: add KHR_no_error support for gl*Textures()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/texobj.c | 16 src/mesa/main/texobj.h | 6

[Mesa-dev] [PATCH 40/42] mesa: add KHR_no_error support for glBindAttribLocation()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/shader_query.cpp | 11 +++ src/mesa/main/shaderapi.h | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml

[Mesa-dev] [PATCH 26/42] mesa: add KHR_no_error support for gl*Renderbuffers()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/ARB_framebuffer_object.xml | 2 +- src/mesa/main/fbobject.c | 16 src/mesa/main/fbobject.h | 6

[Mesa-dev] [PATCH 25/42] mesa: prepare create_render_buffers() for KHR_no_error support

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/fbobject.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index 74b38180900..d16fe6bd21a 100644 ---

[Mesa-dev] [PATCH 35/42] mesa: add KHR_no_error support for glShaderStorageBlockBinding()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_shader_storage_buffer_object.xml | 2 +- src/mesa/main/uniforms.c| 12 src/mesa/main/uniforms.h| 6 ++ 3 files changed, 19

[Mesa-dev] [PATCH 27/42] mesa: add KHR_no_error support for glCheckFramebufferStatus()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_framebuffer_object.xml | 2 +- src/mesa/main/fbobject.c | 10 ++ src/mesa/main/fbobject.h | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH 21/42] mesa: prepare create_samplers() helper for KHR_no_error support

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/samplerobj.c | 37 ++--- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/src/mesa/main/samplerobj.c b/src/mesa/main/samplerobj.c index d3ed4da3932..2fbaab9a8dc 100644 ---

[Mesa-dev] [PATCH 28/42] mesa: add client_wait_sync() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/syncobj.c | 42 ++ 1 file changed, 26 insertions(+), 16 deletions(-) diff --git a/src/mesa/main/syncobj.c b/src/mesa/main/syncobj.c index a3124e40056..ce9c99725ea 100644 ---

[Mesa-dev] [PATCH 17/42] mesa: add KHR_no_error support for gl*Buffers()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/bufferobj.c | 16 src/mesa/main/bufferobj.h | 6

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
This functionality is only available on NV20, NV25, and NV28 (i.e. all the NV2x boards). These are all AGP-only (discounting the NV2A inside Xbox), and I don't have any AGP systems. The way I tested it, through an emulation layer inside the NV3x hardware which lets it present the NV25's 3d class,

[Mesa-dev] [PATCHv2] etnaviv: Add support for ETC2 texture compression

2017-06-27 Thread Wladimir J. van der Laan
Add support for ETC2 compressed textures in the etnaviv driver. One step closer towards GL ES 3 support. For now, treat SRGB and RGB formats the same. It looks like these are distinguished using a different bit in sampler state, and not part of the format, but I have not yet been able to confirm

[Mesa-dev] [PATCH 29/42] mesa: add KHR_no_error support for glClientWaitSync()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_sync.xml | 2 +- src/mesa/main/syncobj.c | 10 ++ src/mesa/main/syncobj.h | 3 +++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/ARB_sync.xml

Re: [Mesa-dev] [PATCH v5 3/6] mesa/st: glsl_to_tgsi: add tests for the new temporary lifetime tracker

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 8:10 AM, Gert Wollny wrote: >> > +TEST_F(LifetimeEvaluatorExactTest, SimpleMoveAddMoveTexoffset) >> > +{ >> > + const vector code = { >> > + { TGSI_OPCODE_MOV, {1}, {in0}, {}}, >> > + { TGSI_OPCODE_MOV, {2}, {in1}, {}}, >> > + {

Re: [Mesa-dev] [PATCHv2] etnaviv: Add support for ETC2 texture compression

2017-06-27 Thread Wladimir J. van der Laan
On Tue, Jun 27, 2017 at 02:54:56PM +0200, Wladimir J. van der Laan wrote: > Add support for ETC2 compressed textures in the etnaviv driver. > > One step closer towards GL ES 3 support. > > For now, treat SRGB and RGB formats the same. It looks like these are > distinguished using a different bit

Re: [Mesa-dev] [PATCH v5 0/6] mesa/st: glsl_to_tgsi: improved temp-reg lifetime estimation

2017-06-27 Thread Gert Wollny
Am Montag, den 26.06.2017, 15:13 +0200 schrieb Nicolai Hähnle: > Thanks for the update. Do you have the series on an accessible git  > repository somewhere? E.g. on GitHub or Gitlab or wherever? That > would be helpful. I've put the code on https://github.com/gerddie/mesa and I am already

[Mesa-dev] [PATCH 07/42] mesa: add cull_face() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/polygon.c | 33 - src/mesa/main/polygon.h | 2 +- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c index

[Mesa-dev] [PATCH 11/42] mesa: add depth_func() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/depth.c | 51 ++- src/mesa/main/depth.h | 2 +- 2 files changed, 31 insertions(+), 22 deletions(-) diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index

[Mesa-dev] [PATCH 15/42] mesa: add KHR_no_error support for glBindTextureUnit()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mesa/main/texobj.c | 8 src/mesa/main/texobj.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH 39/42] mesa: add bind_attrib_location() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/shader_query.cpp | 27 +-- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/shader_query.cpp b/src/mesa/main/shader_query.cpp index 6efbc379656..98441075551 100644 ---

[Mesa-dev] [PATCH 32/42] mesa: add uniform_block_binding() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/uniforms.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index 71acb288864..ef57866d6dc 100644 ---

[Mesa-dev] [PATCH 34/42] mesa: add shader_storage_block_binding() helper

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/uniforms.c | 28 +++- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/src/mesa/main/uniforms.c b/src/mesa/main/uniforms.c index a71e0695b05..28f530c4f68 100644 ---

[Mesa-dev] [PATCH 13/42] mesa: add KHR_no_error support for glDepthRangeIndexed()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_viewport_array.xml | 2 +- src/mesa/main/viewport.c | 9 + src/mesa/main/viewport.h | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git

[Mesa-dev] [PATCH 33/42] mesa: add KHR_no_error support for glUniformBlockBinding()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_uniform_buffer_object.xml | 2 +- src/mesa/main/uniforms.c | 10 ++ src/mesa/main/uniforms.h | 5 + 3 files changed, 16 insertions(+), 1 deletion(-)

[Mesa-dev] [PATCH 37/42] mesa: create read_buffer_err() and always inline read_buffer()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/buffers.c | 46 +- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index d85974afe60..dfee7a4421e 100644 ---

[Mesa-dev] [PATCH 36/42] mesa: add KHR_no_error support for glVertex*AttribBinding()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/ARB_vertex_attrib_binding.xml | 2 +- src/mesa/main/varray.c | 23 +++ src/mesa/main/varray.h

[Mesa-dev] [PATCH 23/42] mesa: prepare create_program_pipelines() for KHR_no_error support

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/pipelineobj.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/mesa/main/pipelineobj.c b/src/mesa/main/pipelineobj.c index 0f0d1dafffe..ca17fa3f06c 100644 ---

[Mesa-dev] [PATCH 24/42] mesa: add KHR_no_error support for gl*ProgramPipelines()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/ARB_separate_shader_objects.xml | 2 +- src/mesa/main/pipelineobj.c| 14 ++ src/mesa/main/pipelineobj.h

[Mesa-dev] [PATCH 18/42] mesa: fix an error message in create_textures()

2017-06-27 Thread Samuel Pitoiset
Trivial. Signed-off-by: Samuel Pitoiset --- src/mesa/main/texobj.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index 30d3c961e6e..0fcf5839689 100644 --- a/src/mesa/main/texobj.c +++

[Mesa-dev] [PATCH 22/42] mesa: add KHR_no_error support for gl*Samplers()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mapi/glapi/gen/ARB_sampler_objects.xml | 2 +- src/mesa/main/samplerobj.c | 14 ++ src/mesa/main/samplerobj.h | 7

[Mesa-dev] [PATCH 16/42] mesa: prepare create_buffers() helper for KHR_no_error support

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/bufferobj.c | 45 ++--- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c index 6e2979f6db9..e31fcc357da 100644

[Mesa-dev] [PATCH 04/42] mesa: pass the 'caller' function to create_shader()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mesa/main/shaderapi.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index 7318833e9b8..bb944191813 100644 --- a/src/mesa/main/shaderapi.c +++

[Mesa-dev] [PATCH 12/42] mesa: add KHR_no_error support for glDepthFunc()

2017-06-27 Thread Samuel Pitoiset
Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/depth.c | 8 src/mesa/main/depth.h | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/src/mapi/glapi/gen/gl_API.xml

[Mesa-dev] [PATCH 05/42] mesa: rename create_shader() to create_shader_err()

2017-06-27 Thread Samuel Pitoiset
And add a no_error variant. Signed-off-by: Samuel Pitoiset --- src/mesa/main/shaderapi.c | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c index

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: > These chips can't do border color? I wonder how they got away with that > with d3d since afaik it isn't optional. Err, I should have known better, EVERYTHING is optional with d3d9 (albeit it doesn't mean apps were actually prepared for hw not

Re: [Mesa-dev] [PATCH 15/42] mesa: add KHR_no_error support for glBindTextureUnit()

2017-06-27 Thread Timothy Arceri
5-15: Reviewed-by: Timothy Arceri On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +- src/mesa/main/texobj.c | 8

Re: [Mesa-dev] [PATCH 23/42] mesa: prepare create_program_pipelines() for KHR_no_error support

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mesa/main/pipelineobj.c | 33 +++-- 1 file changed, 19 insertions(+), 14 deletions(-) diff --git a/src/mesa/main/pipelineobj.c

Re: [Mesa-dev] [PATCH 19/42] mesa: prepare create_textures() helper for KHR_no_error support

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mesa/main/texobj.c | 34 +- 1 file changed, 21 insertions(+), 13 deletions(-) diff --git a/src/mesa/main/texobj.c b/src/mesa/main/texobj.c index

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Dave Airlie
> > > Drive-by: Yes, I agree that this doesn't match Vulkan particularly well. > It's a very X11 or drm_fourcc way of described formats and is nothing like > anything else we have in mesa. That doesn't mean it's strictly wrong, just > that it's awkward to people who are used to some of the other

Re: [Mesa-dev] [PATCH 01/12] genxml: Silence about a billion unused parameter warnings

2017-06-27 Thread Dylan Baker
Quoting Dylan Baker (2017-06-27 10:04:47) > Quoting Ian Romanick (2017-06-26 16:22:34) > > From: Ian Romanick > > > > v2: Use textwrap.dedent to make the source line a lot shorter. > > Shortening (?) the line was requested by Jason. > > > > Signed-off-by: Ian Romanick

Re: [Mesa-dev] [PATCH 27/30] i965/screen: Support import and export of surfaces with CCS

2017-06-27 Thread Jason Ekstrand
On Mon, Jun 26, 2017 at 12:50 PM, Pohjolainen, Topi < topi.pohjolai...@gmail.com> wrote: > On Fri, Jun 16, 2017 at 03:41:49PM -0700, Jason Ekstrand wrote: > > --- > > src/mesa/drivers/dri/i965/intel_screen.c | 55 > +--- > > 1 file changed, 50 insertions(+), 5

Re: [Mesa-dev] [PATCH 37/42] mesa: create read_buffer_err() and always inline read_buffer()

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mesa/main/buffers.c | 46 +- 1 file changed, 29 insertions(+), 17 deletions(-) diff --git a/src/mesa/main/buffers.c

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Jason Ekstrand
On Tue, Jun 27, 2017 at 4:29 PM, Chad Versace wrote: > On Fri 23 Jun 2017, alexandros.frant...@collabora.com wrote: > > From: Alexandros Frantzis > > > > Introduce utilities to describe, find and compare Vulkan formats based > > on

Re: [Mesa-dev] [PATCH 12/30] i965/miptree: Allocate mt earlier in update winsys

2017-06-27 Thread Jason Ekstrand
On Tue, Jun 27, 2017 at 12:19 PM, Chad Versace wrote: > On Mon 26 Jun 2017, Pohjolainen, Topi wrote: > > On Fri, Jun 16, 2017 at 03:41:34PM -0700, Jason Ekstrand wrote: > > > From: Ben Widawsky > > > > > > Allows us to continue utilizing common

[Mesa-dev] [Bug 101614] OSMesa 17.1.3 simd16intrin build FAIL on Win/MinGW - 'expected initializer before _simd16_setzero_ps ...'

2017-06-27 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=101614 Bug ID: 101614 Summary: OSMesa 17.1.3 simd16intrin build FAIL on Win/MinGW - 'expected initializer before _simd16_setzero_ps ...' Product: Mesa Version: 17.1 Hardware:

Re: [Mesa-dev] [PATCH 1/2] vulkan/util: Introduce format utilities

2017-06-27 Thread Chad Versace
On Fri 23 Jun 2017, alexandros.frant...@collabora.com wrote: > From: Alexandros Frantzis > > Introduce utilities to describe, find and compare Vulkan formats based > on their color component masks, taking into account system endianness. > --- >

[Mesa-dev] [AppVeyor] mesa master #4772 failed

2017-06-27 Thread AppVeyor
Build mesa 4772 failed Commit 74db56b97a by Chad Versace on 5/30/2017 7:27 PM: i965: Add a RGBX->RGBA fallback for glEGLImageTextureTarget2D()\n\nThis enables support for importing RGBX EGLImage textures on\nSkylake.\n\nChrome OS needs support for RGBX

Re: [Mesa-dev] [PATCH 25/42] mesa: prepare create_render_buffers() for KHR_no_error support

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mesa/main/fbobject.c | 30 -- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index

Re: [Mesa-dev] [PATCH 40/42] mesa: add KHR_no_error support for glBindAttribLocation()

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mapi/glapi/gen/gl_API.xml | 2 +- src/mesa/main/shader_query.cpp | 11 +++ src/mesa/main/shaderapi.h | 3 +++ 3 files changed, 15 insertions(+), 1 deletion(-) diff

[Mesa-dev] [PATCH] scons: add code to generate format_fallback.c file

2017-06-27 Thread Brian Paul
Fixes broken SCons build since a1983223d8839a0c9 --- src/mesa/SConscript | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/SConscript b/src/mesa/SConscript index fa4efe1..b63e15a 100644 --- a/src/mesa/SConscript +++ b/src/mesa/SConscript @@ -79,6 +79,13 @@ format_unpack =

Re: [Mesa-dev] [PATCH 16/42] mesa: prepare create_buffers() helper for KHR_no_error support

2017-06-27 Thread Timothy Arceri
On 27/06/17 21:20, Samuel Pitoiset wrote: Signed-off-by: Samuel Pitoiset --- src/mesa/main/bufferobj.c | 45 ++--- 1 file changed, 26 insertions(+), 19 deletions(-) diff --git a/src/mesa/main/bufferobj.c

<    1   2