vk_error() is a macro that calls __vk_errorf() with instance == NULL.
Then, __vk_errorf() passes a pointer to instance->debug_report_callbacks
to vk_debug_error(), which segfaults as this pointer is invalid but not
NULL.
Signed-off-by: Samuel Iglesias Gonsálvez
---
src/intel/vulkan/anv_util.c |
https://bugs.freedesktop.org/show_bug.cgi?id=104654
--- Comment #4 from Gert Wollny ---
Created attachment 136842
--> https://bugs.freedesktop.org/attachment.cgi?id=136842&action=edit
resduce stuttering
This change is taken from Dave Airlie CS WIP tree and is one of the hacks that
didn't make
This code to re-set the type of the source and destination is not
necessary since we never manipulate the types. Looks like a
left over from a time where we had to retype to float temporarily
to handle 64-bit inputs.
---
src/intel/compiler/brw_fs_nir.cpp | 13 ++---
1 file changed, 2 inser
Divide it by two as we do for other stages. This is because the
component layout qualifier is always in 32-bit units.
Fixes issues in a new CTS test (still WIP):
KHR-GL45.enhanced_layouts.varying_double_components
---
src/intel/compiler/brw_fs_nir.cpp | 3 +++
1 file changed, 3 insertions(+)
dif
Reviewed-by: Tapani Pälli
(Fixes e5b1bd6ab8)
On 01/19/2018 09:59 AM, Samuel Iglesias Gonsálvez wrote:
vk_error() is a macro that calls __vk_errorf() with instance == NULL.
Then, __vk_errorf() passes a pointer to instance->debug_report_callbacks
to vk_debug_error(), which segfaults as this poi
Yep, that is addition to GLES 3.2 spec.
Reviewed-by: Tapani Pälli
On 01/19/2018 07:36 AM, Eric Anholt wrote:
We've been requiring this since GLES 3.0 was introduced, but the GLES 3.2
spec is the one that has "Supporting blending on a per-draw-buffer basis"
in the new features. V3D 3.3 would r
Sorry, my Reviewed-by accounted for both patches in this series.
Christian.
Am 19.01.2018 um 00:23 schrieb Grazvydas Ignotas:
Anyone cares about vdpau?
Gražvydas
On Tue, Jan 16, 2018 at 12:03 AM, Grazvydas Ignotas wrote:
Signed-off-by: Grazvydas Ignotas
---
src/gallium/state_trackers/vdp
On Thu, 2018-01-18 at 15:14 +, Emil Velikov wrote:
> On 18 January 2018 at 13:43, Andres Gomez wrote:
> > On Thu, 2018-01-18 at 09:56 +0100, Juan A. Suarez Romero wrote:
> > > On Wed, 2018-01-17 at 18:03 +, Emil Velikov wrote:
> > > > On 22 December 2017 at 23:05, Andres Gomez wrote:
> >
On Thu, 2018-01-18 at 23:26 +, Eric Engestrom wrote:
> On Thursday, 2018-01-18 23:06:40 +, Andres Gomez wrote:
> > For scons, windows/mingw dealing with LLVM_CONFIG is done before
> > untarring.
>
> Isn't this a no-op change?
Yes, it is. A real nitpick to be able to copy and paste more
co
On 2018-01-18 22:08:17, Tapani Pälli wrote:
>
>
> On 01/18/2018 08:18 PM, Jordan Justen wrote:
> > On 2018-01-15 04:31:43, Tapani Pälli wrote:
> >> This can/should be modified depending on needs. AFAIK by default,
> >> this is the only path that can be read/written to by anyone.
> >>
> >> Signed-
Reviewed-by: Timothy Arceri
On 19/01/18 11:23, Bas Nieuwenhuizen wrote:
When a channel was not set we also did not increase the LDS address,
while that obviously should happen.
The output loading code was inadvertently fixed which resulted in a
mismatch causing the SaschaWillems tessellation d
Hi Leo,
Do you have enough data to start the merge ?
Thx
Julien
On 18 January 2018 at 02:28, Gurkirpal Singh wrote:
>
>
> On Wed, Jan 17, 2018 at 10:39 PM, Dylan Baker wrote:
>
>> The meson build for omx-bellagio has landed along with the other media
>> state
>> trackers that are in tree. Cur
Obtained from: FreeBSD ports
---
src/util/futex.h | 22 ++
1 file changed, 22 insertions(+)
diff --git a/src/util/futex.h b/src/util/futex.h
index 4402893069..425e34a2cd 100644
--- a/src/util/futex.h
+++ b/src/util/futex.h
@@ -51,6 +51,28 @@ static inline int futex_wait(uint32
Rebased, updated and improved patches.
Now with util headers for anonymous fds (memfd/SHM_ANON/mkostemp) and
physical memory size, reducing code duplication across the codebase.
A few other meson patches were sent as
https://patchwork.freedesktop.org/series/36714/
Greg V (5):
meson: fix miss
On 01/18/2018 22:49, Dylan Baker wrote:
Quoting Emil Velikov (2018-01-18 10:40:40)
On 18 January 2018 at 17:13, Dylan Baker wrote:
I'm not sure how Emil feels about this (and the related patches) but I think it
might be better to handle this at the build system level, for meson it would
look s
Move the Weston os_create_anonymous_file code from egl/wayland into util,
add support for Linux memfd and FreeBSD SHM_ANON,
use that code in anv instead of explicit memfd calls for portability.
---
src/egl/drivers/dri2/platform_wayland.c | 116 +-
src/intel/vulkan/anv_allocator
Am Donnerstag, den 18.01.2018, 14:15 -0800 schrieb Ian Romanick:
> Patches 2, 3, and 4 are
>
> Reviewed-by: Ian Romanick
>
Thanks,
I send out a lot of patches that fix warnings. I like to copy-and-
paste the warnings that are eliminated into the commit message. It's
not required, but I feel
On 01/18/2018 20:58, Emil Velikov wrote:
On 6 January 2018 at 01:50, Dylan Baker wrote:
On January 5, 2018 5:00:59 PM PST, Greg V wrote:
On 01/06/2018 01:36, Dylan Baker wrote:
Quoting Greg V (2017-12-31 08:55:25)
---
../src/gallium/include/state_tracker/vdpau_dmabuf.h:37:10: fatal error
FreeBSD does not have MAP_POPULATE
---
src/intel/vulkan/anv_allocator.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/intel/vulkan/anv_allocator.c b/src/intel/vulkan/anv_allocator.c
index aa669359d7..1fe00f9ef6 100644
--- a/src/intel/vulkan/anv_allocator.c
+++ b/src/intel/vulkan/anv_
---
src/gallium/drivers/radeonsi/meson.build | 2 +-
src/mesa/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/meson.build
b/src/gallium/drivers/radeonsi/meson.build
index 97c7a41244..f41c0b4f18 100644
--- a/src/ga
Move the os_get_total_physical_memory function from gallium to util,
simplify it (all BSDs support sysconf, no need for sysctl),
use it in gallium, anv, dri/i915, dri/i965 and dri/swrast.
---
src/gallium/auxiliary/os/os_misc.c | 60 ---
src/gallium/auxiliary/os/os_misc.h
Hi Dave
Am 19.01.2018 um 00:22 schrieb Dave Airlie:
From: Dave Airlie
The code to decide how to allocate sgprs didn't take into
account the merged shaders on gfx9.
This updates the code to count the correct number of requires
sgprs, which means we should be able to enable push const
inlining
Signed-off-by: Tapani Pälli
---
Small crucible test available here:
https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_EXT_global_priority
src/intel/vulkan/anv_device.c | 25 +++
src/intel/vulkan/anv_extensions.py | 2 ++
src/intel/vulkan/anv_gem.c | 49 +++
Anyone could take a look at this patch?
Thanks in advance!
J.A.
On Thu, 2018-01-11 at 16:35 +0100, Juan A. Suarez Romero wrote:
> Enable these kind of texture when proper extensions are available.
>
> Fixes KHR-GLES2.texture_3d.* with these textures.
> ---
> src/mesa/main/teximage.c
For the series,
Reviewed-by: Juan A. Suarez
J.A.
On Fri, 2018-01-19 at 00:29 +0200, Andres Gomez wrote:
> Just a series to add the missing "final release" note for 17.1.10 and
> 17.2.8, as commented at:
> https://lists.freedesktop.org/archives/mesa-dev/2018-January/182322.html
>
> Addi
https://bugs.freedesktop.org/show_bug.cgi?id=104214
--- Comment #56 from Sven ---
(In reply to Juan A. Suarez from comment #55)
> Is this bug already fixed? With commit:
>
> commit 897c54d522ab960a879b763a15e489f630c491ee
> Author: Thomas Hellstrom
> Date: Thu Jan 11 10:19:23 2018 +0100
>
>
Quoting Tapani Pälli (2018-01-19 10:44:49)
> diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c
> index 34c0989108..46069dcdc7 100644
> --- a/src/intel/vulkan/anv_gem.c
> +++ b/src/intel/vulkan/anv_gem.c
> @@ -302,6 +302,55 @@ close_and_return:
> return swizzled;
> }
>
> +s
On 01/19/2018 11:22 AM, Jordan Justen wrote:
On 2018-01-18 22:08:17, Tapani Pälli wrote:
On 01/18/2018 08:18 PM, Jordan Justen wrote:
On 2018-01-15 04:31:43, Tapani Pälli wrote:
This can/should be modified depending on needs. AFAIK by default,
this is the only path that can be read/written
Fixes a bunch of ARB_sample_shading piglit tests.
---
src/gallium/drivers/radeonsi/si_shader_nir.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_shader_nir.c
b/src/gallium/drivers/radeonsi/si_shader_nir.c
index a9e852c0bc..4455322392 100644
--- a/src/galli
On 01/19/2018 01:00 PM, Chris Wilson wrote:
Quoting Tapani Pälli (2018-01-19 10:44:49)
diff --git a/src/intel/vulkan/anv_gem.c b/src/intel/vulkan/anv_gem.c
index 34c0989108..46069dcdc7 100644
--- a/src/intel/vulkan/anv_gem.c
+++ b/src/intel/vulkan/anv_gem.c
@@ -302,6 +302,55 @@ close_and_retur
On 19/01/18 11:44, Tapani Pälli wrote:
> Signed-off-by: Tapani Pälli
> ---
>
> Small crucible test available here:
> https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_EXT_global_priority
>
> src/intel/vulkan/anv_device.c | 25 +++
> src/intel/vulkan/anv_extensions.
Oh, Chris was faster :)
Sam
On 19/01/18 12:08, Samuel Iglesias Gonsálvez wrote:
>
> On 19/01/18 11:44, Tapani Pälli wrote:
>> Signed-off-by: Tapani Pälli
>> ---
>>
>> Small crucible test available here:
>> https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_EXT_global_priority
>>
>> src
With RADV_DEBUG=preoptir.
Signed-off-by: Samuel Pitoiset
---
src/amd/common/ac_nir_to_llvm.c | 3 +++
src/amd/common/ac_nir_to_llvm.h | 1 +
src/amd/vulkan/radv_debug.h | 1 +
src/amd/vulkan/radv_device.c| 1 +
src/amd/vulkan/radv_shader.c| 2 ++
5 files changed, 8 insertions(+)
dif
On 01/19/2018 01:08 PM, Samuel Iglesias Gonsálvez wrote:
On 19/01/18 11:44, Tapani Pälli wrote:
Signed-off-by: Tapani Pälli
---
Small crucible test available here:
https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_EXT_global_priority
src/intel/vulkan/anv_device.c | 25
On 19/01/18 12:11, Tapani Pälli wrote:
>
>
> On 01/19/2018 01:08 PM, Samuel Iglesias Gonsálvez wrote:
>>
>>
>> On 19/01/18 11:44, Tapani Pälli wrote:
>>> Signed-off-by: Tapani Pälli
>>> ---
>>>
>>> Small crucible test available here:
>>> https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK
https://bugs.freedesktop.org/show_bug.cgi?id=104654
mirh changed:
What|Removed |Added
CC||m...@protonmail.ch
--
You are receiving this ma
On 01/19/2018 01:03 PM, Tapani Pälli wrote:
On 01/19/2018 11:22 AM, Jordan Justen wrote:
On 2018-01-18 22:08:17, Tapani Pälli wrote:
On 01/18/2018 08:18 PM, Jordan Justen wrote:
On 2018-01-15 04:31:43, Tapani Pälli wrote:
This can/should be modified depending on needs. AFAIK by default,
On 01/19/2018 01:20 PM, Samuel Iglesias Gonsálvez wrote:
On 19/01/18 12:11, Tapani Pälli wrote:
On 01/19/2018 01:08 PM, Samuel Iglesias Gonsálvez wrote:
On 19/01/18 11:44, Tapani Pälli wrote:
Signed-off-by: Tapani Pälli
---
Small crucible test available here:
https://cgit.freedesktop
v2: add ANV_CONTEXT_REALTIME_PRIORITY (Chris)
use unreachable with unknown priority (Samuel)
Signed-off-by: Tapani Pälli
---
Small crucible test available here:
https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_EXT_global_priority
src/intel/vulkan/anv_device.c | 25 ++
Fixes the following piglit tests:
arb_tessellation_shader/fs-primitiveid-instanced
glsl-1.50/primitive-id-no-gs
glsl-1.50/primitive-id-no-gs-first-vertex
glsl-1.50/primitive-id-no-gs-instanced
glsl-1.50/primitive-id-no-gs-strip
glsl-1.50/primitive-id-no-gs-strip-first-vertex
---
src/gallium/drive
Reviewed-by: Samuel Iglesias Gonsálvez
Sam
On 19/01/18 12:36, Tapani Pälli wrote:
> v2: add ANV_CONTEXT_REALTIME_PRIORITY (Chris)
> use unreachable with unknown priority (Samuel)
>
> Signed-off-by: Tapani Pälli
> ---
>
> Small crucible test available here:
> https://cgit.freedesktop.org/~tp
On 18 January 2018 at 22:29, Andres Gomez wrote:
> Cc: Emil Velikov
> Cc: Juan A. Suarez Romero
> Signed-off-by: Andres Gomez
> ---
> docs/releasing.html | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/releasing.html b/docs/releasing.html
> index d105bc96f6a..a022
Quoting Samuel Iglesias Gonsálvez (2018-01-19 11:58:24)
> Reviewed-by: Samuel Iglesias Gonsálvez
Me too!
Reviewed-by: Chris Wilson
-Chris
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
https://bugs.freedesktop.org/show_bug.cgi?id=104214
Thomas Hellström changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
On Jan 19, 2018 1:28 AM, "Timothy Arceri" wrote:
Fixes the following piglit test on radeonsi:
./bin/arb_enhanced_layouts-gs-stream-location-aliasing
---
src/amd/common/ac_nir_to_llvm.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/amd/common/ac_nir_to_llvm.c b/src
We missed to mention this.
NOTE: It is anticipated that 17.2.8 will be the final release in the
17.2 series. Users of 17.2 are encouraged to migrate to the 17.3 series
in order to obtain future fixes.
On Sat, 2017-12-23 at 01:05 +0200, Andres Gomez wrote:
> Mesa 17.2.8 is now available.
>
> In
On Wednesday, 2018-01-17 23:54:15 +0300, Greg V wrote:
> Reviewed-by: Dylan Baker
A couple questions and a nit-pick for the error messages, but with that:
Reviewed-by: Eric Engestrom
> ---
> meson.build | 44 +++-
> 1 file changed, 23 insertions(+), 21 d
Cc: mesa-sta...@lists.freedesktop.org
---
src/amd/vulkan/radv_meta_clear.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index b42ecedfc9..98fb8fa6a7 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vulkan/r
On 18 January 2018 at 08:57, Gert Wollny wrote:
> v2: Remove the unused ctx parameter from _mesa_optimize_program.
>
> v1: Annotate the unused parameter
> v1 was reviewed by Reviewed-by: Emil Velikov
>
> Signed-off-by: Gert Wollny
For the future please make the changelog something like:
v2: Don
without this flag, it fails an assertion
with assertions disabled it retries with this flag set
---
src/gallium/winsys/amdgpu/drm/amdgpu_cs.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
b/src/gallium/winsys/amdgpu/drm/amdgpu_cs.c
On Tuesday, 2018-01-16 18:35:40 +, Emil Velikov wrote:
> On 15 January 2018 at 22:03, Grazvydas Ignotas wrote:
> > Found with the help of following Coccinelle semantic patch:
> > //
> > @@
> > expression E;
> > @@
> >
> > \(pthread_mutex_lock\|mtx_lock\|simple_mtx_lock\)(E)
> > ...
> > (
On 19 January 2018 at 14:46, Eric Engestrom wrote:
> On Tuesday, 2018-01-16 18:35:40 +, Emil Velikov wrote:
>> On 15 January 2018 at 22:03, Grazvydas Ignotas wrote:
>> > Found with the help of following Coccinelle semantic patch:
>> > //
>> > @@
>> > expression E;
>> > @@
>> >
>> > \(pthre
On 19 January 2018 at 11:36, Tapani Pälli wrote:
> +#define ANV_CONTEXT_LOW_PRIORITY ((I915_CONTEXT_MIN_USER_PRIORITY-1)/2)
> +#define ANV_CONTEXT_MEDIUM_PRIORITY (I915_CONTEXT_DEFAULT_PRIORITY)
> +#define ANV_CONTEXT_HIGH_PRIORITY ((I915_CONTEXT_MAX_USER_PRIORITY+1)/2)
You want to document why t
Reviewed-by: Samuel Pitoiset
On 01/19/2018 03:11 PM, Matthew Nicholls wrote:
Cc: mesa-sta...@lists.freedesktop.org
---
src/amd/vulkan/radv_meta_clear.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index b42ecedf
Reviewed-by: Alex Smith
On 19 January 2018 at 15:14, Samuel Pitoiset
wrote:
> Reviewed-by: Samuel Pitoiset
>
>
> On 01/19/2018 03:11 PM, Matthew Nicholls wrote:
>
>> Cc: mesa-sta...@lists.freedesktop.org
>> ---
>> src/amd/vulkan/radv_meta_clear.c | 6 ++
>> 1 file changed, 6 insertions(
From: Emil Velikov
Already used as such through the codebase.
Signed-off-by: Emil Velikov
---
src/mesa/drivers/dri/i965/brw_context.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mesa/drivers/dri/i965/brw_context.h
b/src/mesa/drivers/dri/i965/brw_context.h
index 79e
Why? I think it's probably fine but changing signedness of a variable is
always a bit tricky.
On January 19, 2018 08:04:24 Emil Velikov wrote:
From: Emil Velikov
Already used as such through the codebase.
Signed-off-by: Emil Velikov
---
src/mesa/drivers/dri/i965/brw_context.h | 2 +-
1
On 18 January 2018 at 19:01, Cherniak, Bruce wrote:
> Apologies for not seeing this over the holidays.
>
> Reviewed-by: Bruce Cherniak
>
No worries - we all need to chill sometimes ;-)
Pushed to master.
-Emil
___
mesa-dev mailing list
mesa-dev@lists.fr
On 18 January 2018 at 21:30, Dylan Baker wrote:
> Quoting Emil Velikov (2018-01-18 10:57:02)
>> On 18 January 2018 at 18:29, Greg V wrote:
>> >
>> > On 01/18/2018 21:18, Emil Velikov wrote:
>> >>
>> >> Hi Greg,
>> >>
>> >> On 31 December 2017 at 16:55, Greg V wrote:
>> >>>
>> >>> Hello everyone
I'm not 100% sure why but GMail has decided that every single e-mail you
send to the mailing list is spam. You might want to check that out. :)
On Sun, Dec 31, 2017 at 8:55 AM, Greg V wrote:
> Use umtx for futex, and SHM_ANON for memfd.
>
> Also use temp files as memfd fallback for other OSes.
Hi,
On 19 January 2018 at 16:26, Emil Velikov wrote:
> On 18 January 2018 at 21:30, Dylan Baker wrote:
>> I'm willing to defer to you on this, if you think that checking headers for
>> ETIME is too fragile then we can leave it (you definitely have more
>> experience
>> in these things). I'm jus
On 18 January 2018 at 21:51, Greg V wrote:
> On 01/18/2018 22:49, Dylan Baker wrote:
>>
>> Quoting Emil Velikov (2018-01-18 10:40:40)
>>>
>>> On 18 January 2018 at 17:13, Dylan Baker wrote:
I'm not sure how Emil feels about this (and the related patches) but I
think it
might b
On Fri, Jan 19, 2018 at 3:36 AM, Tapani Pälli
wrote:
> v2: add ANV_CONTEXT_REALTIME_PRIORITY (Chris)
> use unreachable with unknown priority (Samuel)
>
> Signed-off-by: Tapani Pälli
> ---
>
> Small crucible test available here:
> https://cgit.freedesktop.org/~tpalli/crucible/commit/?h=VK_
>
From: Emil Velikov
The ifdef spaghetty in st_vdpau.c is rather confusing and misleading.
Simplily it by introducing a static inline helper noop (when
HAVE_ST_VDPAU is not defined) in the header.
Signed-off-by: Emil Velikov
---
src/mesa/state_tracker/st_vdpau.c | 9 +++--
src/mesa/state_tra
On 18 January 2018 at 20:49, Greg V wrote:
>> Actually a better solution is to remove the unnecessary includes, all
>> together:
>> - vdpau_dmabuf.h - add forward declaration for VdpVideoSurface and
>> drop the header
>
> There's more than VdpVideoSurface, it also uses VdpOutputSurface and
> Vd
On 18 January 2018 at 22:54, Greg V wrote:
> Move the Weston os_create_anonymous_file code from egl/wayland into util,
> add support for Linux memfd and FreeBSD SHM_ANON,
> use that code in anv instead of explicit memfd calls for portability.
> ---
Looks quite good - a few small suggestions below
Don't know enough of FreeBSD to actually review this but it looks sane.
Acked-by: Emil Velikov
-Emil
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
---
src/mesa/main/mtypes.h | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index fe5f9d7..bcec9d7 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -4372,9 +4372,7 @@ union gl_dlist_node;
/**
- * Provide
It's only used in this file.
---
src/mesa/main/mtypes.h | 9 -
src/mesa/vbo/vbo_save_api.c | 5 +
2 files changed, 5 insertions(+), 9 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 1f1792e..ec51d41 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mes
---
src/mesa/main/mtypes.h | 4
1 file changed, 4 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index ec51d41..5fda348 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -291,10 +291,6 @@ struct gl_config
#define MAT_ATTRIB_SHININESS(f)(MAT_ATTRI
It's only used in this file and has nothing VBO-specific about it.
---
src/mesa/main/api_validate.c | 68 ++--
src/mesa/vbo/vbo.h | 4 ---
src/mesa/vbo/vbo_exec.c | 65 --
3 files changed, 65 insertions
It's only used in this one file.
---
src/mesa/vbo/vbo.h| 16
src/mesa/vbo/vbo_exec_array.c | 31 ---
2 files changed, 24 insertions(+), 23 deletions(-)
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index c1c3e0e..7fc7c55 100644
--- a
_vbo_DestroyContext() can be safely called even if there's no VBO
module. Removes a dependency on the vbo_context() function.
---
src/mesa/drivers/dri/nouveau/nouveau_context.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_context.c
b/
---
src/mesa/main/mtypes.h | 150 +++--
1 file changed, 82 insertions(+), 68 deletions(-)
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 5fda348..fe5f9d7 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -270,11 +27
Things which should not be used outside the VBO module.
More public/private clean-ups coming.
---
src/mesa/vbo/vbo.h | 9 --
src/mesa/vbo/vbo_context.c | 19
src/mesa/vbo/vbo_context.h | 158 +---
src/mesa/vbo/vbo_exec.c
Non-VBO sources files sometimes included vbo.h while others included
vbo_context.h. We're moving all public types, functions to the former.
---
src/mesa/vbo/vbo.h | 6 ++
src/mesa/vbo/vbo_context.c | 2 +-
src/mesa/vbo/vbo_context.h | 40 ---
Now vbo.h is the public interface to the VBO module.
---
src/mesa/Makefile.sources | 1 -
src/mesa/drivers/dri/i965/brw_context.c | 2 +-
src/mesa/drivers/dri/i965/brw_draw.c | 2 +-
src/mesa/drivers/dri/nouveau/nouveau_render.h | 2 +-
src/mesa/main/state.c
Instead of reaching into the vbo_context object in vtxfmt.c
---
src/mesa/main/vtxfmt.c | 3 +--
src/mesa/vbo/vbo_context.c | 10 ++
src/mesa/vbo/vbo_context.h | 4
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/src/mesa/main/vtxfmt.c b/src/mesa/main/vtxfmt.c
ind
Instead of poking into the vbo_context object.
---
src/mesa/drivers/dri/i965/brw_draw.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c
b/src/mesa/drivers/dri/i965/brw_draw.c
index fc349ad..73f2e1f 100644
--- a/src/mesa/drivers/dri/i96
---
src/mesa/vbo/vbo_primitive_restart.c | 1 -
src/mesa/vbo/vbo_save.c | 1 -
src/mesa/vbo/vbo_split.c | 2 --
src/mesa/vbo/vbo_split_inplace.c | 1 -
4 files changed, 5 deletions(-)
diff --git a/src/mesa/vbo/vbo_primitive_restart.c
b/src/mesa/vbo/vbo_primitive_rest
---
src/mesa/vbo/vbo.h| 3 ---
src/mesa/vbo/vbo_rebase.c | 10 --
2 files changed, 13 deletions(-)
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index ec2ac0e..0007029 100644
--- a/src/mesa/vbo/vbo.h
+++ b/src/mesa/vbo/vbo.h
@@ -153,10 +153,7 @@ void vbo_split_prims( struc
It's only used in brw_draw_prims().
s/GLboolean/bool/, etc.
---
src/mesa/drivers/dri/i965/brw_draw.c | 18 +-
src/mesa/vbo/vbo.h | 2 --
src/mesa/vbo/vbo_rebase.c| 11 ---
3 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/src/m
---
src/mesa/vbo/vbo.h | 112 -
1 file changed, 68 insertions(+), 44 deletions(-)
diff --git a/src/mesa/vbo/vbo.h b/src/mesa/vbo/vbo.h
index 30c83fc..164477f 100644
--- a/src/mesa/vbo/vbo.h
+++ b/src/mesa/vbo/vbo.h
@@ -42,7 +42,8 @@ struct gl_ve
---
src/mesa/vbo/vbo_split_inplace.c | 215 ---
1 file changed, 111 insertions(+), 104 deletions(-)
diff --git a/src/mesa/vbo/vbo_split_inplace.c b/src/mesa/vbo/vbo_split_inplace.c
index a2717ab..2c363c2 100644
--- a/src/mesa/vbo/vbo_split_inplace.c
+++ b/src/m
On 18 January 2018 at 22:54, Greg V wrote:
> ---
> src/gallium/drivers/radeonsi/meson.build | 2 +-
> src/mesa/meson.build | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/meson.build
> b/src/gallium/drivers/radeonsi/mes
On 18 January 2018 at 00:22, Dylan Baker wrote:
> This adds the meson.build, meson_options.txt, and a few scripts that are
> used exclusively by the meson build.
>
> Signed-off-by: Dylan Baker
> ---
With the nit mentioned by Eric, the patch is
Reviewed-by: Emil Velikov
-Emil
___
On 18 January 2018 at 19:36, Dylan Baker wrote:
> Quoting Emil Velikov (2018-01-18 11:12:30)
>> On 17 January 2018 at 18:34, Dylan Baker wrote:
>> > The linkage of all of the gallium media targets is broken in various
>> > ways in the meson build. This series should correct that by doing more
>>
On 2018-01-19 03:03:43, Tapani Pälli wrote:
> On 01/19/2018 11:22 AM, Jordan Justen wrote:
> > On 2018-01-18 22:08:17, Tapani Pälli wrote:
> >> On 01/18/2018 08:18 PM, Jordan Justen wrote:
> >>> On 2018-01-15 04:31:43, Tapani Pälli wrote:
> This can/should be modified depending on needs. AFAIK
On 17 January 2018 at 21:34, Dylan Baker wrote:
> Currently there is not a separate option for setting the search path of
> DRI drivers in meson, like there is in scons and autotools. This is an
> oversight and needs to be fixed. This adds an extra option
> `dri-search-path`, which will default to
Am Donnerstag, 18. Januar 2018, 19:05:41 CET schrieb Dylan Baker:
> Signed-off-by: Dylan Baker
> ---
> meson.build | 2 +-
> src/gallium/state_trackers/va/meson.build | 6 +++---
> 2 files changed, 4 insertions(+), 4 deletions(-)
vainfo reports no longer an error, s
The lower bits seem to have extra fields in every platform but gen8
(even though we don't use them in gen9). So just go ahead and avoid
using them for the address.
Signed-off-by: Rafael Antognolli
---
src/intel/vulkan/anv_image.c | 30 +-
1 file changed, 17 insertions
Second version of this series, with (hopefully) full support for this in
Vulkan.
Rafael Antognolli (12):
anv/image: Do not override lower bits of dword.
genxml: Preserve fields that share dword space with addresses.
intel/genxml: Use a single field for clear color address on gen10.
intel/i
Similarly to vulkan where we store the clear value in the aux surface,
we can do the same in GL.
v2: Remove unneeded extra function.
Signed-off-by: Rafael Antognolli
---
src/mesa/drivers/dri/i965/intel_mipmap_tree.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/src/mesa/drive
gen10 can emit the clear color by setting it on a buffer somewhere, and
then adding only the address to the surface state.
This commit add support for that on isl_surf_fill_state, and if that is
requested, skip setting the clear value itself.
v2: Add assert to make sure we are at least on gen10.
Some instructions contain fields that are either an address or a value
of some type based on the content of other fields, such as clear color
values vs address. That works fine if these fields are in the less
significant dword, the lower 32 bits of the address, because they get
OR'ed with the addre
On Gen10, whenever the fast clear color changes, update it on the clear
color entry buffer. This allow us to use it directly when emitting the
surface state.
Signed-off-by: Rafael Antognolli
---
src/mesa/drivers/dri/i965/brw_blorp.c | 26 ++
1 file changed, 26 insertions(
genxml does not support having two address fields with different names
but same position in the state struct. Both "Clear Color Address"
and "Clear Depth Address Low" mean the same thing, only for different
surface types.
To workaround this genxml limitation, rename "Clear Color Address"
to "Clear
On Gen10, when emitting the surface state, use the value stored in the
clear color entry buffer by using a clear color address in the surface
state.
Signed-off-by: Rafael Antognolli
---
src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 16
1 file changed, 16 insertions(+)
diff
On Gen10+, if we use the clear state address field in the surface state
instead of the clear color directly, there's a restriction that the
address must point to the lower part of a 64 byte cache-line. So we add
a padding to the state buffer to make it align to 64 bytes when multiple
LOD is present
On gen10+, if surface->clear_color_addr is present, use it directly
intead of copying it to the surface state.
Signed-off-by: Rafael Antognolli
---
src/intel/blorp/blorp_genX_exec.h | 12 +---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/intel/blorp/blorp_genX_exec.h
1 - 100 of 173 matches
Mail list logo