2017-06-06 13:06 GMT+08:00 Chih-Wei Huang :
> 2017-06-05 21:04 GMT+08:00 Emil Velikov :
>> On 4 June 2017 at 04:31, Chih-Wei Huang wrote:
>>> Android bionic is derived from OpenBSD. So the logics of BSD
>>> almost apply to Android as well.
>>>
>> Having platform FOO define both PIPE_OS_BSD and PIP
On June 5, 2017 6:10:22 PM Varad Gautam wrote:
Hi Daniel,
On Mon, 2017-06-05 at 14:53 +0100, Daniel Stone wrote:
Hi Varad,
On 30 May 2017 at 12:53, Varad Gautam wrote:
>
> + /* We only support all planes from the same bo.
> +* brw_bo_gem_create_from_prime() should return the same poin
2017-06-05 3:57 GMT+08:00 Marek Olšák :
> NAK.
>
> In C/C++, the initializer is used to clear the memory to 0s, thus,
> adding 0s to the initializer is redundant and unnecessary. Empty
> initializer {} is also commonly used instead of memset.
Commonly used doesn't mean it's the right thing.
Otherw
The other user of print_sync_dispatch() was ending up with code that
looked like:
_mesa_glthread_finish(ctx);
_mesa_glthread_restore_dispatch(ctx);
_mesa_glthread_finish(ctx);
---
src/mapi/glapi/gen/gl_marshal.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
2017-06-05 21:15 GMT+08:00 Emil Velikov :
> On 5 June 2017 at 09:27, Tapani Pälli wrote:
>> that seems the case
>>
>> Acked-by: Tapani Pälli
>>
>> On 06/04/2017 07:53 AM, Chih-Wei Huang wrote:
>>>
>>> The pthread_barrier_* functions were introduced to bionic
>>> since Nougat.
>>>
> ... and pushed
On Mon, Jun 5, 2017 at 6:37 PM, Connor Abbott wrote:
> I pushed a v2 at
> https://cgit.freedesktop.org/~cwabbott0/mesa/log/?h=nir-divergence-v2.
> I'm not sure if I like this version better, though. I'll have to think
> about it. In the meantime, feel free to take a look.
>
I've taken a skim thr
This will be used in the next commit to conditionally include amdgpu.h
in ac_gpu_info.h
Signed-off-by: Aaron Watry
Cc: Jan Vesely
Cc: Emil Velikov
---
This worked earlier because I had an intermediate step where I had added
a HAVE_AMD_DRIVERS define elsewhere and didn't git clean before testing
On 06/06/17 01:50 AM, Marek Olšák wrote:
> From: Marek Olšák
>
> radeonsi won't flush caches if set_framebuffer_state doesn't change
> anything.
> ---
> src/mesa/state_tracker/st_cb_drawpixels.c | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git a/src/mesa/state_tracker/st_cb_drawpix
I pushed a v2 at
https://cgit.freedesktop.org/~cwabbott0/mesa/log/?h=nir-divergence-v2.
I'm not sure if I like this version better, though. I'll have to think
about it. In the meantime, feel free to take a look.
On Mon, Jun 5, 2017 at 2:43 PM, Jason Ekstrand wrote:
> On Mon, Jun 5, 2017 at 1:50 P
Hi Daniel,
On Mon, 2017-06-05 at 14:53 +0100, Daniel Stone wrote:
> Hi Varad,
>
> On 30 May 2017 at 12:53, Varad Gautam wrote:
> >
> > + /* We only support all planes from the same bo.
> > +* brw_bo_gem_create_from_prime() should return the same pointer for all
> > +* fds received her
> On Jun 5, 2017, at 11:14 AM, Emil Velikov wrote:
>
> On 3 June 2017 at 00:37, Ben Crocker wrote:
>> Implement assembly language API acceleration for PPC64LE,
>> analogous to long-standing implementations for X86 and X86-64.
>>
>> See also similar implementation in libglvnd.
>>
>> Tested wi
On Mon, Jun 5, 2017 at 5:22 PM, Ian Romanick wrote:
> From: Jason Ekstrand
>
> We call convert_to_single_slice so they may end up with a non-trivial
> offset that needs to be taken into account.
>
> v2 (idr): Also set needs_src_offset. Suggested by Jason.
>
> Fixes ES2-CTS.functional.texture.sp
Patches 1-3 should have been CC'd to stable.
On Mon, Jun 5, 2017 at 5:55 PM, Jason Ekstrand wrote:
> ---
> src/mesa/drivers/dri/i965/brw_blorp.c | 39 +++---
> -
> 1 file changed, 26 insertions(+), 13 deletions(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_blorp.
Reviewed-by: Jason Ekstrand
On Mon, Jun 5, 2017 at 5:55 PM, Jason Ekstrand wrote:
> From: Nanley Chery
>
> Signed-off-by: Nanley Chery
> ---
> src/intel/blorp/blorp_genX_exec.h | 8
> src/intel/vulkan/anv_blorp.c | 16
> 2 files changed, 16 insertions(+), 8 de
BLORP has been capable of doing gen8-style HiZ ops for a while now. We
might as well start using it. The one downside is that this may cause a
bit more state emission since we still re-emit most things for BLORP.
---
src/mesa/drivers/dri/i965/brw_blorp.c| 25 ++---
src/mesa/drivers/dri/
This also changes it to be predicated so we only do the flush/stall on
clears and HiZ resolves. The docs only say it's needed for clears but
empirical evidence says it's also needed for HiZ resolves.
---
src/mesa/drivers/dri/i965/brw_blorp.c| 18 ++
src/mesa/drivers/dri/i9
---
src/mesa/drivers/dri/i965/brw_blorp.c | 29 +++--
1 file changed, 11 insertions(+), 18 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c
b/src/mesa/drivers/dri/i965/brw_blorp.c
index 097903e..7fd6760 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp.c
+++
---
src/mesa/drivers/dri/i965/brw_blorp.c | 13 -
src/mesa/drivers/dri/i965/brw_blorp.h | 3 ++-
src/mesa/drivers/dri/i965/brw_clear.c | 10 --
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 4 ++--
src/mesa/drivers/dri/i965/intel_mipmap_tree.h | 4 -
The blorp_hiz_op entrypoint always acts on a full subresource of a HiZ
buffer so we can just set the flag unconditionally.
---
src/intel/blorp/blorp.c | 1 +
src/intel/blorp/blorp_genX_exec.h | 3 +++
src/intel/blorp/blorp_priv.h | 1 +
3 files changed, 5 insertions(+)
diff --git a
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=101283
---
src/intel/blorp/blorp_genX_exec.h | 9 +++--
src/intel/vulkan/genX_blorp_exec.c | 12
src/mesa/drivers/dri/i965/genX_blorp_exec.c | 13 +
3 files changed, 32 insertions(+), 2 deletion
From: Nanley Chery
Signed-off-by: Nanley Chery
---
src/intel/blorp/blorp_genX_exec.h | 8
src/intel/vulkan/anv_blorp.c | 16
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/src/intel/blorp/blorp_genX_exec.h
b/src/intel/blorp/blorp_genX_exec.h
ind
---
src/mesa/drivers/dri/i965/brw_blorp.c | 39 +++
1 file changed, 26 insertions(+), 13 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c
b/src/mesa/drivers/dri/i965/brw_blorp.c
index 1e4c0de..097903e 100644
--- a/src/mesa/drivers/dri/i965/brw_blorp
This commit does a few things:
1) Now that BLORP can do HiZ ops on gen8+, drop the gen6 prefix.
2) Switch parameters to uint32_t to match the rest of blorp.
3) Take a range of layers and loop internally.
---
src/intel/blorp/blorp.c | 104 ++
src/in
---
src/mesa/drivers/dri/i965/brw_blorp.c | 58 +++
src/mesa/drivers/dri/i965/brw_clear.c | 56 -
2 files changed, 58 insertions(+), 56 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_blorp.c
b/src/mesa/drivers/dri/i965/brw_
On Fri, Jun 2, 2017 at 1:09 PM, Chad Versace
wrote:
> On Fri 26 May 2017, Jason Ekstrand wrote:
> > ---
> > src/intel/isl/isl.c | 19 +++
> > src/intel/isl/isl.h | 4
> > 2 files changed, 23 insertions(+)
> >
> > diff --git a/src/intel/isl/isl.c b/src/intel/isl/isl.c
> > in
From: Jason Ekstrand
We call convert_to_single_slice so they may end up with a non-trivial
offset that needs to be taken into account.
v2 (idr): Also set needs_src_offset. Suggested by Jason.
Fixes ES2-CTS.functional.texture.specification.basic_copyteximage2d.cube_rgba
and ES2-CTS.functional.t
On Monday, June 5, 2017 2:03:45 AM PDT Tapani Pälli wrote:
> FWIW this change fixes also regression on Android wallpaper since that
> commit.
I'm planning on dropping this patch, as it seems that
commit 708664159e18487b6676fd5b4c33f52003f81d9e
Author: Jason Ekstrand
Date: Fri May 26 10:57:33
From: Dave Airlie
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_cmd_buffer.c | 4 +++-
src/amd/vulkan/radv_pipeline.c | 5 +
src/amd/vulkan/si_cmd_buffer.c | 12
3 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/am
From: Dave Airlie
---
src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_winsys.c
index 94fd8b8..bce8dd2 100644
--- a/src/amd/vul
From: Dave Airlie
We don't support these yet, and it'll take a bit of work to do so.
---
src/amd/vulkan/radv_device.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 5528bc5..1be92bc 100644
--- a/src/am
From: Dave Airlie
This adds gfx9 support for the texture descriptor along
with the fmask/cmask allocation routines.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_image.c | 189
1 file changed, 158 insertions(+), 31 deletions(-)
diff --git a/sr
From: Dave Airlie
This just adds support for initialising some GFX9 registers,
and handles the different init for the VGT reuse reg.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_cmd_buffer.c | 5 +--
src/amd/vulkan/si_cmd_buffer.c | 72
2 files
From: Dave Airlie
This just adds the strings and includes the gfx9 register defs
in some files that we need them in.
Signed-off-by: Dave Airlie
---
src/amd/common/ac_llvm_util.c| 3 +++
src/amd/vulkan/radv_cmd_buffer.c | 1 +
src/amd/vulkan/radv_device.c | 6 ++
src/amd/vulkan/radv
From: Dave Airlie
GFX9 needs to write event EOP to a fence buffer, allocate some
space for this, and just write an ever increasing number to it,
this isn't exactly what radeonsi does, but it seems to work.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_cmd_buffer.c | 8 ++
src/amd/vulkan
From: Dave Airlie
These are just some register changes ported from radeonsi for gfx9.
---
src/amd/vulkan/radv_cmd_buffer.c | 20 +++-
src/amd/vulkan/radv_device.c | 4
src/amd/vulkan/radv_pipeline.c | 3 ++-
3 files changed, 21 insertions(+), 6 deletions(-)
diff --g
From: Dave Airlie
This adds some rb+ support, as on GFX9 we have to disable
it as per radeonsi.
---
src/amd/vulkan/radv_cmd_buffer.c | 7 +++
src/amd/vulkan/radv_device.c | 6 ++
src/amd/vulkan/radv_meta_clear.c | 5 +
src/amd/vulkan/radv_private.h| 3 +++
4 files changed, 21
From: Dave Airlie
These are ported from radeonsi, don't know all the rules for
when they should be inserted.
---
src/amd/vulkan/radv_cmd_buffer.c | 16
1 file changed, 16 insertions(+)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index 312694
From: Dave Airlie
This adds support to the CP dma code for GFX9, ported from
radeonsi.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/si_cmd_buffer.c | 21 -
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd
From: Dave Airlie
Signed-off-by: Dave Airlie
---
src/amd/vulkan/si_cmd_buffer.c | 28
1 file changed, 16 insertions(+), 12 deletions(-)
diff --git a/src/amd/vulkan/si_cmd_buffer.c b/src/amd/vulkan/si_cmd_buffer.c
index 604a5e2..b848325 100644
--- a/src/amd/vulkan/s
From: Dave Airlie
This is ported from radeonsi.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_cmd_buffer.c | 53 +---
src/amd/vulkan/radv_device.c | 34 +-
src/amd/vulkan/radv_private.h| 2 ++
3 files changed, 74 inserti
This is an initial port of the vega code from radeonsi to radv.
It only support vertex/fragment shaders, tess/gs is going to
take a fair bit of work, but we don't have many tess/gs workloads
for radv yet, so it's not a major problem.
I've tested this on one very remote card, so can't try anything
From: Dave Airlie
This is ported from radeonsi.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_cmd_buffer.c | 53
src/amd/vulkan/radv_device.c | 30 ++-
src/amd/vulkan/radv_private.h| 2 ++
3 files changed, 69 insertions
Reviewed-by: Bas Nieuwenhuizen
On Tue, Jun 6, 2017 at 12:37 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> radeonsi never uses 512 here anymore.
>
> Signed-off-by: Dave Airlie
> ---
> src/amd/vulkan/radv_device.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> diff --git a/src/
On Monday 05 June 2017, Samuel Pitoiset wrote:
> Signed-off-by: Samuel Pitoiset
> Reviewed-by: Timothy Arceri
> ---
> src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +-
> src/mesa/main/varray.c | 15 +++
> src/mesa/main/varray.h |
Hi Lionel,
I went through this patch more than once, but I think I understood what you
did, and I think it highly simplifies the code, not necessarily in lines of
code but at least the logic is way easier to follow.
Just a minor nitpick below.
On Wed, May 31, 2017 at 10:32:52AM +0100, Lionel Lan
From: Dave Airlie
radeonsi never uses 512 here anymore.
Signed-off-by: Dave Airlie
---
src/amd/vulkan/radv_device.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 6c30cde..d80d746 100644
--- a/src/amd/vul
On Mon, Jun 5, 2017 at 5:31 PM, Jan Vesely wrote:
> On Mon, 2017-06-05 at 15:31 -0500, Aaron Watry wrote:
> > From: Jan Vesely
> >
> > Signed-off-by: Jan Vesely
> > Reviewed-by: Aaron Watry
>
> I think Emil preferred v2, with comments and split android changes.
>
> Fair enough. I missed/forgo
On Mon, 2017-06-05 at 15:31 -0500, Aaron Watry wrote:
> From: Jan Vesely
>
> Signed-off-by: Jan Vesely
> Reviewed-by: Aaron Watry
I think Emil preferred v2, with comments and split android changes.
Jan
> ---
> configure.ac| 3 ++-
> src/gallium/drivers/r600/A
On Tue, Jun 6, 2017 at 12:16 AM, Aaron Watry wrote:
> On Mon, Jun 5, 2017 at 3:53 PM, Marek Olšák wrote:
>>
>> Reviewed-by: Marek Olšák
>>
> Is that just for this patch, or the series?
Only this patch.
Thanks,
Marek
___
mesa-dev mailing list
mesa-dev
On 06/06/2017 12:10 AM, Timothy Arceri wrote:
Do we want to force inlining of blit_framebuffer()? Wrapping the error
variant calls in blit_framebuffer_err() to avoid excess inlining?
Mmh yeah, that might be too much to force inlining for both paths.
I will update this one, thanks.
On 06/0
On Mon, Jun 5, 2017 at 3:53 PM, Marek Olšák wrote:
> Reviewed-by: Marek Olšák
>
> Is that just for this patch, or the series?
I've pushed this one for now, and I'll push the rest later tonight if you
want me to.
--Aaron
> Would you please push this now, don't wait for other Rbs.
>
> Thanks
Do we want to force inlining of blit_framebuffer()? Wrapping the error
variant calls in blit_framebuffer_err() to avoid excess inlining?
On 06/06/17 07:43, Samuel Pitoiset wrote:
The whole GLES3 block has been moved before the buffer validation
checks.
Signed-off-by: Samuel Pitoiset
---
src
Reviewed-by: Timothy Arceri
On 06/06/17 07:44, Samuel Pitoiset wrote:
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/teximage.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.
14-15:
Reviewed-by: Timothy Arceri
On 06/06/17 07:44, Samuel Pitoiset wrote:
v2: - rebased (make use of blit_named_framebuffer())
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 18 ++
src/mesa/main/blit.h | 9 +
2 files changed, 27 insertions(+)
diff
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/gl_API.xml | 6 +++---
src/mesa/main/teximage.c | 43 +++
src/mesa/main/teximage.h | 18 ++
3 files changed, 64 insertions(+), 3 deletions(-)
diff
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/teximage.c | 40
1 file changed, 20 insertions(+), 20 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index 9285a96b68..b262e75b9d 100644
--- a/src/mesa/main/teximage.c
+++ b/s
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/ARB_copy_image.xml | 2 +-
src/mesa/main/copyimage.c | 23 +++
src/mesa/main/copyimage.h | 7 +++
3 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/src
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mesa/main/teximage.c | 34 +-
1 file changed, 17 insertions(+), 17 deletions(-)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index fed1dad262..9285a96b68 100644
--- a/src/mesa/
v2: - rebased (_mesa_texture_sub_image() is now static)
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri (v1)
---
src/mesa/main/teximage.c | 18 ++
1 file changed, 18 insertions(+)
diff --git a/src/mesa/main/teximage.c b/src/mesa/main/teximage.c
index b262e75b9d..f4c1
v2: - move 'i' inside the for loop
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri (v1)
---
src/mesa/main/copyimage.c | 76 ---
1 file changed, 45 insertions(+), 31 deletions(-)
diff --git a/src/mesa/main/copyimage.c b/src/mesa/main/copyim
v2: - rebased (make use of blit_named_framebuffer())
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 18 ++
src/mesa/main/blit.h | 9 +
2 files changed, 27 insertions(+)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index 46903b5181..e42eadf98d 1006
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mesa/main/copyimage.c | 24
1 file changed, 24 insertions(+)
diff --git a/src/mesa/main/copyimage.c b/src/mesa/main/copyimage.c
index 07c2359dda..6a74f7a1a8 100644
--- a/src/mesa/main/copyimage.c
+++ b/s
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mesa/main/copyimage.c | 34 ++
1 file changed, 18 insertions(+), 16 deletions(-)
diff --git a/src/mesa/main/copyimage.c b/src/mesa/main/copyimage.c
index cf25159e88..07c2359dda 100644
--- a/src/me
The whole GLES3 block has been moved before the buffer validation
checks.
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 192 +--
1 file changed, 95 insertions(+), 97 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 72 +++-
1 file changed, 43 insertions(+), 29 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index ee48e4845b..e04f5d79b2 100644
--- a/src/mesa/main/blit.c
+++ b/src/m
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 81 ++--
1 file changed, 47 insertions(+), 34 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index d2b662857c..ee48e4845b 100644
--- a/src/mesa/main/blit.c
+++ b/src/m
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 79 +---
1 file changed, 51 insertions(+), 28 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index 609df63d20..46903b5181 100644
--- a/src/mesa/main/blit.c
+++ b/src/m
Signed-off-by: Samuel Pitoiset
---
src/mapi/glapi/gen/ARB_framebuffer_object.xml | 2 +-
src/mesa/main/blit.c | 15 +++
src/mesa/main/blit.h | 6 ++
3 files changed, 22 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/ge
Signed-off-by: Samuel Pitoiset
---
src/mesa/main/blit.c | 138 ---
1 file changed, 77 insertions(+), 61 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index 970c357335..d2b662857c 100644
--- a/src/mesa/main/blit.c
+++ b/src/m
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/ARB_multi_bind.xml | 2 +-
src/mesa/main/varray.c| 13 +
src/mesa/main/varray.h| 5 +
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/gl_API.xml | 2 +-
src/mesa/main/bufferobj.c | 10 ++
src/mesa/main/bufferobj.h | 3 +++
3 files changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/gla
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/ARB_invalidate_subdata.xml | 2 +-
src/mesa/main/bufferobj.c | 10 ++
src/mesa/main/bufferobj.h | 5 +
3 files changed, 16 insertions(+), 1 deletion(-)
diff --
v2: - s/inline/ALWAYS_INLINE/
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri (v1)
---
src/mesa/main/bufferobj.c | 15 +++
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/bufferobj.c b/src/mesa/main/bufferobj.c
index 9e656a4c98..4f3c640248 100
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mesa/main/blit.c | 29 ++---
src/mesa/main/blit.h | 8
2 files changed, 14 insertions(+), 23 deletions(-)
diff --git a/src/mesa/main/blit.c b/src/mesa/main/blit.c
index e739130f98..2c0300eab3 10
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/ARB_invalidate_subdata.xml | 2 +-
src/mesa/main/bufferobj.c | 9 +
src/mesa/main/bufferobj.h | 3 +++
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri
---
src/mapi/glapi/gen/ARB_direct_state_access.xml | 2 +-
src/mesa/main/varray.c | 15 +++
src/mesa/main/varray.h | 6 ++
3 files changed, 22 insertions(+), 1 deletion(-)
This also adds a 'no_error' parameter to vertex_array_vertex_buffer()
to be used in a following patch.
v2: - add a patch description
Signed-off-by: Samuel Pitoiset
Reviewed-by: Timothy Arceri (v1)
---
src/mesa/main/varray.c | 108 -
1 file change
Hi,
Major changes from v2:
- rework the blit framebuffer codepath
- fix blit_framebuffer() when validation of buffers fail
Initial cover letter can be found here:
https://lists.freedesktop.org/archives/mesa-dev/2017-June/157553.html
Please, review!
Thanks.
Samuel Pitoiset (23):
mesa: add ve
On Mon, Jun 5, 2017 at 1:50 PM, Connor Abbott wrote:
> On Mon, Jun 5, 2017 at 1:37 PM, Jason Ekstrand
> wrote:
> > I'm not sure how I feel about having these as ALU operations. ALU
> > operations are generally pure functions (with the exception derivative)
> that
> > can be re-ordered at will.
For the series:
Reviewed-by: Marek Olšák
Marek
On Fri, Jun 2, 2017 at 2:31 PM, Samuel Pitoiset
wrote:
> Now, st_update_window_rectangles() won't be called when the
> scissor is going to be updated.
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/mesa/main/scissor.c | 4 +++-
> src
I approve the patch. If no driver expects the callback, it shouldn't
be called. The long term goal should be to get rid of all of these
driver state callbacks (I've already removed a few dozens of them),
but some classic drivers still rely on them and that's why mesa/main
has to call them.
Marek
There was a typo in the subject.
I meant mesa 17.1.2
BR,
J.A.
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Mesa 17.1.2 is now available.
In this release we have:
Several fixes in the autotools' configure that improves handling of target
platforms.
Mesa receives a fix for a leaking in a surface.
OMX has a couple of fixes when building in a X11-less setup.
ANV driver receives several fixes, like add
For the series:
Reviewed-by: Marek Olšák
Marek
On Fri, Jun 2, 2017 at 5:52 PM, Samuel Pitoiset
wrote:
> We usually check that given parameters are different before
> updating the state.
>
> Signed-off-by: Samuel Pitoiset
> ---
> src/mesa/main/multisample.c | 9 ++---
> 1 file changed, 6
Series is
Reviewed-by: Bas Nieuwenhuizen
On Mon, Jun 5, 2017 at 3:12 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> In advance of GFX9 to reduce chances for regression, refactor
> this code out so adding the GFX9 changes will be more obvious.
>
> Signed-off-by: Dave Airlie
> ---
> src/amd/vu
For the series:
Reviewed-by: Marek Olšák
Marek
On Sat, Jun 3, 2017 at 8:11 PM, Thomas Helland
wrote:
> ---
> src/util/u_dynarray.h | 8
> 1 file changed, 8 insertions(+)
>
> diff --git a/src/util/u_dynarray.h b/src/util/u_dynarray.h
> index ad3889a7c8..e9109ccd2d 100644
> --- a/src/
Reviewed-by: Bas Nieuwenhuizen
On Mon, Jun 5, 2017 at 2:47 AM, Dave Airlie wrote:
> From: Dave Airlie
>
> This is just ported from radeonsi.
>
> Signed-off-by: Dave Airlie
> ---
> src/amd/vulkan/radv_image.c | 28 ++
> src/amd/vulkan/radv_radeon_winsys.h
On 06/05/2017 07:12 PM, Marek Olšák wrote:
On Tue, May 30, 2017 at 10:36 PM, Samuel Pitoiset
wrote:
To share some common code between bound and bindless images.
Signed-off-by: Samuel Pitoiset
---
src/gallium/drivers/radeonsi/si_descriptors.c | 78 ---
1 file chang
Reviewed-by: Marek Olšák
Would you please push this now, don't wait for other Rbs.
Thanks,
Marek
On Mon, Jun 5, 2017 at 10:31 PM, Aaron Watry wrote:
> From: Emil Velikov
>
> The file was introduced to track which LLVM revision was required, yet
> that has quickly gone out of shape.
>
> It has
On 06/05/2017 10:47 PM, Marek Olšák wrote:
From: Samuel Pitoiset
When a stencil buffer is part of the framebuffer state, it is
decompressed but because it's bindless, all draw calls set
stencil_dirty_level_mask to 1.
v2: Marek - set the flags outside the loop
- also clear and set
On Mon, Jun 5, 2017 at 1:37 PM, Jason Ekstrand wrote:
> I'm not sure how I feel about having these as ALU operations. ALU
> operations are generally pure functions (with the exception derivative) that
> can be re-ordered at will. I don't really like breaking that. In fact, I'd
> almost be incli
Reviewed-by: Marek Olšák
Marek
On Mon, Jun 5, 2017 at 10:15 PM, Brian Paul wrote:
> Replace some static assertions with runtime assertions. The static
> asserts don't work/fail on MSVC, despite the offsets being multiples
> of 16 (checked with softpipe).
>
> Use correct parameter types for a f
From: Samuel Pitoiset
When a stencil buffer is part of the framebuffer state, it is
decompressed but because it's bindless, all draw calls set
stencil_dirty_level_mask to 1.
v2: Marek - set the flags outside the loop
- also clear and set framebuffer.do_update_surf_dirtiness there
On 06/05/2017 06:50 PM, Marek Olšák wrote:
From: Samuel Pitoiset
When a stencil buffer is part of the framebuffer state, it is
decompressed but because it's bindless, all draw calls set
stencil_dirty_level_mask to 1.
v2: Marek - set the flags outside the loop
- also clear and set
I'm not sure how I feel about having these as ALU operations. ALU
operations are generally pure functions (with the exception derivative)
that can be re-ordered at will. I don't really like breaking that. In
fact, I'd almost be inclined to make derivatives intrinsics and just
special-case them i
Build mesa 4523 completed
Commit 97f6404e50 by Juan A. Suarez Romero on 6/5/2017 8:27 PM:
docs: add release notes for 17.1.2\n\nSigned-off-by: Juan A. Suarez Romero
Configure your notification preferences
On 06/05/2017 06:50 PM, Marek Olšák wrote:
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_pipe.h | 1 +
src/gallium/drivers/radeonsi/si_shader.h| 3 +++
src/gallium/drivers/radeonsi/si_state.c | 21 +
src/gallium/drivers/radeonsi/si_s
On 06/05/2017 06:50 PM, Marek Olšák wrote:
From: Marek Olšák
so that LLVM IR looks like CSE has been run on it. It's also recommended
by the instruction combining pass.
This also fixes:
- GL45-CTS.arrays_of_arrays_gl.InteractionFunctionCalls2 (crash)
- piglit/spec/arb_shader_ballot/execution
On 06/05/2017 06:50 PM, Marek Olšák wrote:
From: Marek Olšák
---
src/gallium/drivers/radeonsi/si_pipe.h | 30 ++---
src/gallium/drivers/radeonsi/si_state_shaders.c | 6 ++---
2 files changed, 19 insertions(+), 17 deletions(-)
diff --git a/src/gallium/drivers
Reviewed-by: Samuel Pitoiset
On 06/05/2017 06:50 PM, Marek Olšák wrote:
From: Marek Olšák
We can use a union in si_shader_key::mono.
---
src/gallium/drivers/radeonsi/si_shader.c| 14 +++---
src/gallium/drivers/radeonsi/si_shader.h| 9 ++---
src/gallium/drivers
1 - 100 of 196 matches
Mail list logo