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
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
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
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
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
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
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'
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
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
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
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
---
---
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
---
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
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
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
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
---
> > +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
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:
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
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,
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
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
---
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
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
---
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
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);
^~~
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
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
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
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
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
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
---
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
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
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
---
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
---
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
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,
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
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
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}, {}},
>> > + {
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
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
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
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
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
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
---
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
---
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
---
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
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(-)
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
---
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
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
---
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
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
+++
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
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
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
+++
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
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
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
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
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
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
>
>
> 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
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
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
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
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
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
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:
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.
> ---
>
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
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
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
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 =
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
101 - 178 of 178 matches
Mail list logo