On Fri, Sep 29, 2017 at 06:00:13PM +0200, Wladimir J. van der Laan wrote:
> If an RS blit is done with source exactly the same as destination, and
> the hardware supports this, do an in-place resolve.
>
> This is the same as the blob does and potentially saves significant
> bandwidth when doing i.
These shouldn't matter for non-cubes, and we always enable them all
for cubes, so we may as well set them all the time. We can just mark
the fields "mbo" (must be one) and genxml will automatically set them
for us, and we never even have to think about them.
---
src/intel/genxml/gen10.xml
https://bugs.freedesktop.org/show_bug.cgi?id=101397
Carlos Alberto Lopez Perez changed:
What|Removed |Added
See Also||https://bugs.freedesktop.or
From: Ian Romanick
This happens to work now because ir_binop_all_equal is used. This
causes vector typed init-expressions to produce scalar Boolean values
after comparison.
The next commit changes ir_binop_all_equal to ir_binop_equal. Vector
typed init-expressions will then produce vector Bool
Just to be consistent.
v2: - update meson.build too
Signed-off-by: Dylan Baker
---
meson.build | 2 +-
meson_options.txt | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/meson.build b/meson.build
index add27b5dbac..2e1de2b2e20 100644
--- a/meson.build
+++ b/meson.b
Matt Turner writes:
> The documentation says it applies only to Gens 8 and 9.
Patch 10 & 13:
Reviewed-by: Scott D Phillips
> ---
> src/intel/compiler/brw_fs_generator.cpp | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/intel/compiler/brw_fs_generator.cpp
> b/src/intel/compiler/b
Matt Turner writes:
> Align1 mode offers some nice features over align16, like access to more
> data types and the ability to use a 16-bit immediate. This patch does
> not start using any new features. It just emits ternary instructions in
> align1 mode.
> ---
> src/intel/compiler/brw_fs_generat
Matt Turner writes:
> ---
> src/intel/compiler/brw_eu_emit.c | 196
> ---
> 1 file changed, 143 insertions(+), 53 deletions(-)
>
> diff --git a/src/intel/compiler/brw_eu_emit.c
> b/src/intel/compiler/brw_eu_emit.c
> index f1a2283de8..7f3980f83e 100644
> ---
Matt Turner writes:
> ---
> src/intel/compiler/brw_disasm.c | 399
> +---
> src/intel/compiler/brw_eu_defines.h | 11 -
> 2 files changed, 322 insertions(+), 88 deletions(-)
>
> diff --git a/src/intel/compiler/brw_disasm.c b/src/intel/compiler/brw_disasm.c
>
Matt Turner writes:
> ---
> src/intel/compiler/brw_inst.h | 114
> ++
> 1 file changed, 114 insertions(+)
>
> diff --git a/src/intel/compiler/brw_inst.h b/src/intel/compiler/brw_inst.h
> index e6169057e3..b9c03fa88f 100644
> --- a/src/intel/compiler/brw_i
Matt Turner writes:
> ---
> src/intel/compiler/brw_disasm.c | 12 ---
> src/intel/compiler/brw_inst.h | 4 +--
> src/intel/compiler/brw_reg_type.c | 76
> ---
> src/intel/compiler/brw_reg_type.h | 7 ++--
> 4 files changed, 79 insertions(+), 20 de
Matt Turner writes:
> The instruction word contains SubRegNum[4:2] so it's in units of dwords
> (hence the * 4 to get it in terms of bytes). Before this patch, the
> subreg would have been wrong for DF arguments.
Trying to grok the subregnum stuff here, in brw_eu_emit.c I see:
static int
get_3s
From: Gurchetan Singh
The kms_swrast extension is an actively developed software fallback,
and platform_surfaceless can use it if there are no available
hardware drivers.
---
src/egl/drivers/dri2/platform_surfaceless.c | 77 ++---
1 file changed, 48 insertions(+), 29 dele
This implementation is correct (afaict), but takes two shortcuts
regarding the import/export of Android sync fds.
Shortcut 1. When Android calls vkAcquireImageANDROID to import a sync
fd into a VkSemaphore or VkFence, the driver instead simply blocks on
the sync fd, then puts the VkSemaphore
On Friday, September 29, 2017 1:03:14 PM PDT Chris Wilson wrote:
> Quoting Kenneth Graunke (2017-09-29 20:55:53)
> > On Friday, September 29, 2017 3:25:09 AM PDT Chris Wilson wrote:
> > > Hook up the RendererQuery for __DRI2_RENDERER_HAS_CONTEXT_PRIORITY to
> > > report the available DRM_I915_GEM_C
Aaron Watry writes:
> On Fri, Sep 29, 2017 at 10:14 AM, Emil Velikov
> wrote:
>> Hi all,
>>
>> Currently nearly all the distributions I've seen* enable and use the ICD.
>> Only Gentoo does not use it, but manages the OpenCL.so conflicts via eselect.
>>
>> They have the ocl-icd library as a sepa
For the series, Reviewed-by: Brian Paul
On 09/29/2017 03:27 PM, Marek Olšák wrote:
From: Marek Olšák
for C++ editors
---
src/egl/drivers/dri2/platform_wayland.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/driv
From: Marek Olšák
Use st_egl_image instead. radeonsi doesn't like when we create
a pipe_surface with PIPE_FORMAT_NV12.
This fixes NV12 texturing on radeonsi using kmscube.
Cc: 17.1 17.2
---
src/mesa/state_tracker/st_cb_eglimage.c | 96 +
1 file changed, 50 inse
From: Marek Olšák
for C++ editors
---
src/gallium/auxiliary/vl/vl_winsys_dri.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/src/gallium/auxiliary/vl/vl_winsys_dri.c
b/src/gallium/auxiliary/vl/vl_winsys_dri.c
index b4fb47e..79ebf75 100644
---
From: Marek Olšák
for C++ editors
---
src/egl/drivers/dri2/platform_wayland.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_wayland.c
b/src/egl/drivers/dri2/platform_wayland.c
index dc6fcc1..ae33477 100644
--- a/src/egl/drivers/dri2/plat
From: Marek Olšák
for C++ editors
---
src/gallium/drivers/radeonsi/si_uvd.c | 14 +++---
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_uvd.c
b/src/gallium/drivers/radeonsi/si_uvd.c
index 9f5daad..758e5cb 100644
--- a/src/gallium/drivers/ra
From: Marek Olšák
for C++ editors
---
src/glx/dri_glx.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/glx/dri_glx.c b/src/glx/dri_glx.c
index 2d435f0..5c4346c 100644
--- a/src/glx/dri_glx.c
+++ b/src/glx/dri_glx.c
@@ -551,28 +551,28 @@ CallCreateNewScreen(Display
Reviewed-by: Tapani Pälli
Reviewed-by: Ian Romanick
---
src/util/ralloc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/util/ralloc.c b/src/util/ralloc.c
index 9cce9e0..42cfa2e 100644
--- a/src/util/ralloc.c
+++ b/src/util/ralloc.c
@@ -285,7 +285,7 @@ ralloc_steal(const
This way any image uniforms end up having locations higher than
MAX_PUSH_CONSTANT_SIZE. There's no bug here at the moment, but this
consistency will make the next commit easier. Also, because
nir_apply_pipeline_layout properly increments nir->num_uniforms when
it expands the param array, we no lo
The Vulkan driver does not support pull constants. It simply limits
things such that we can always push everything. Previously, we were
determining whether or not to push things based on whether or not the
prog_data::pull_param array is non-null. This is rather hackish and
about to stop working.
---
src/intel/compiler/brw_compiler.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/intel/compiler/brw_compiler.h
b/src/intel/compiler/brw_compiler.h
index 1ec79f6..f9679a3 100644
--- a/src/intel/compiler/brw_compiler.h
+++ b/src/intel/compiler/brw_compiler.h
@@ -28,6 +28
Instead of making the caller of brw_compile_cs add something to the
param array for thread_local_id_index, just add it on-demand in
brw_nir_intrinsics and grow the array. This is now safe to do because
everyone is now using ralloc for prog_data::param.
---
src/intel/compiler/brw_fs.cpp
Now that everything is nicely ralloc'd, we can allocate the pull_param
array in assign_constant_locations instead of higher up. We can also
re-allocate the param array so that it's exactly the needed size. This
should save us some memory because we're not allocating the total needed
param space f
Now that the only thing we put in the array up-front are client push
constants, we can simplify anv_pipeline_compile a bit.
---
src/intel/vulkan/anv_pipeline.c | 23 +--
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/src/intel/vulkan/anv_pipeline.c b/src/intel/v
This is a lot more natural than special casing it all over the place.
We still have to do a bit of special-casing in assign_constant_locations
but it's not special-cased quite as bad as it was before.
---
src/intel/compiler/brw_compiler.h | 3 +-
src/intel/compiler/brw_fs.cpp
Now that we're always growing the param array as-needed, we can
allocate the param array in common code and stop repeating the
allocation everywere. In order to keep things sane, we ralloc the
[pull_]param array off of the compile context and then steal it back
to a NULL context later. This doesn
Before, we were calculating up-front and then filling in later. Now we
just grow as needed in anv_nir_apply_pipeline_layout.
---
src/intel/vulkan/anv_nir_apply_pipeline_layout.c | 5 -
src/intel/vulkan/anv_pipeline.c | 7 +--
2 files changed, 5 insertions(+), 7 deletions(
Instead of requiring the caller of brw_compile_vs to figure it out, just
grow the param array on-demand.
---
src/intel/compiler/brw_fs_visitor.cpp | 7 +++
src/intel/compiler/brw_vec4_vs_visitor.cpp | 7 +++
src/mesa/drivers/dri/i965/brw_vs.c | 5 -
3 files changed, 14 ins
This lets us avoid some of the manual ralloc stealing and prepares for
future commits in which we will want to ralloc prog_data::param.
---
src/intel/vulkan/anv_pipeline.c | 72 ++---
1 file changed, 39 insertions(+), 33 deletions(-)
diff --git a/src/intel/vulk
This way we stop leaking it. This is completely safe because, when we
hand it off to anv_shader_bin_create or anv_pipeline_cache_upload_kernel,
they make a copy of the entire param array.
---
src/intel/vulkan/anv_pipeline.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src
This should be just as good as looking in prog_data but removes our one
state setup dependency on brw_stage_prog_data::nr_image_param.
---
src/mesa/drivers/dri/i965/gen7_l3_state.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/gen7_l3_state.c
b
Otherwise, in the ARB program case _mesa_add_state_reference may grow
the parameter array which will cause brw_nir_setup_arb_uniforms to write
past the end of the param array because it only looks at the parameter
list length but the parma array is allocated based on nir->num_uniforms.
The only rea
We haven't needed this ever since we started using NIR for lowering
rectangle textures.
---
src/mesa/drivers/dri/i965/brw_cs.c | 3 ---
src/mesa/drivers/dri/i965/brw_wm.c | 3 ---
2 files changed, 6 deletions(-)
diff --git a/src/mesa/drivers/dri/i965/brw_cs.c
b/src/mesa/drivers/dri/i965/brw_cs.c
This moves us away to the array of pointers model and onto a model where
each param is represented by a generic uint32_t handle. We reserve 2^16
of these handles for builtins that get generated by somewhere inside the
compiler and have well-defined meanings. Generic params have handles
whose mean
This little series reworks basically the entire world of push/pull params.
This refactor has been on my ToDo list ever since I hooked up push
constants in Vulkan over two years ago. Recently, thanks to some
up-and-coming Vulkan features, the pain of the old system increased enough
to finally push
The only thing it was handling was push constants. We pull the actual
constant upload code into gen6_constant_state.c and the atoms into
genX_state_upload.c.
---
src/mesa/drivers/dri/i965/Makefile.sources | 1 -
src/mesa/drivers/dri/i965/brw_state.h | 5 +
src/mesa/drivers/dri/
This burns an extra 10k of memory or so in the case where you don't have
any images. However, if you have several shaders which use images, this
should be much less memory. It also gets rid of a part of prog_data
that really has nothing to do with the compiler.
---
src/intel/compiler/brw_compile
---
src/mesa/drivers/dri/i965/brw_curbe.c | 12 ++--
src/mesa/drivers/dri/i965/brw_state.h | 7 +++
src/mesa/drivers/dri/i965/gen6_constant_state.c | 26 +++--
3 files changed, 33 insertions(+), 12 deletions(-)
diff --git a/src/mesa/drivers/dri
---
src/mesa/drivers/dri/i965/brw_state.h| 2 +-
src/mesa/drivers/dri/i965/brw_vs_surface_state.c | 63 ---
src/mesa/drivers/dri/i965/gen6_constant_state.c | 64
3 files changed, 65 insertions(+), 64 deletions(-)
diff --git a/src/mesa/dri
> Miguel I believe the comment correctly describes the design plan, while
> addressing Dan's comment that things look a bit ugly.
Yes. Thank you.
Also, the whole series:
Reviewed-by: Miguel A. Vico
Thanks.
On Fri, 29 Sep 2017 14:48:58 +0100
Daniel Stone wrote:
> On 29 September 2017 at 13:
Quoting Chris Wilson (2017-09-29 21:03:14)
> Quoting Kenneth Graunke (2017-09-29 20:55:53)
> > Typically we wait to pull in new headers until the kernel patches land
> > in airlied's drm-next tree.
>
> drm-intel is a non-rebasing tree, once the commit lands there, it is
> stable all the way throug
Quoting Kenneth Graunke (2017-09-29 20:55:53)
> On Friday, September 29, 2017 3:25:09 AM PDT Chris Wilson wrote:
> > Hook up the RendererQuery for __DRI2_RENDERER_HAS_CONTEXT_PRIORITY to
> > report the available DRM_I915_GEM_CONTEXT_SETPARAM options based on the
> > the default context. The kernel
On Friday, September 29, 2017 3:25:09 AM PDT Chris Wilson wrote:
> Hook up the RendererQuery for __DRI2_RENDERER_HAS_CONTEXT_PRIORITY to
> report the available DRM_I915_GEM_CONTEXT_SETPARAM options based on the
> the default context. The kernel will validate the request to change the
> property, so
On Friday, September 29, 2017 3:25:08 AM PDT Chris Wilson wrote:
> Decode the EGL/DRI priority enum into the [-1023, 1023] range as
> interpreted by the kernel and call DRM_I915_GEM_CONTEXT_SETPARAM to
> adjust the priority. We use 0 as the default medium priority (also the
> kernel default) and so
On Friday, September 29, 2017 3:25:07 AM PDT Chris Wilson wrote:
> Mention to the debug log if the kernel scheduler is enabled; and in
> particular if it has preemption enabled.
>
> Signed-off-by: Chris Wilson
> Cc: Joonas Lahtinen
> Cc: Ben Widawsky
> Reviewed-by: Joonas Lahtinen
> ---
> src
On 29.09.2017 21:31, Juan A. Suarez Romero wrote:
Hello list,
The candidate for the Mesa 17.2.2 is now available. Currently we have:
- 43 queued
- 7 nominated (outstanding)
- and 3 rejected patches
In the current queue we have:
In build and integration system, we add a dependency on lib
Build mesa 5652 completed
Commit b78c664115 by Jason Ekstrand on 9/26/2017 4:42 PM:
vulkan/wsi/wayland: Return better error messages\n\nReviewed-by: Daniel Stone \nCc: mesa-sta...@lists.freedesktop.org\n(cherry picked from commit 4fe3913b9699ac929715b16ecbf5b93
On Friday, September 29, 2017 4:08:17 AM PDT Iago Toral wrote:
> On Fri, 2017-09-29 at 03:53 -0700, Kenneth Graunke wrote:
> > On Friday, September 29, 2017 3:36:34 AM PDT Iago Toral Quiroga
> > wrote:
> > > We can start reading the URB at the first offset that contains
> > > varyings
> > > that ar
Hello list,
The candidate for the Mesa 17.2.2 is now available. Currently we have:
- 43 queued
- 7 nominated (outstanding)
- and 3 rejected patches
In the current queue we have:
In build and integration system, we add a dependency on libunwind when
running make distcheck, as this is optional
Thanks. I'm keeping my patch and adding yours on top as a separate
cleanup commit. I will push this after I get Rb tags for my patch from
other guys.
Marek
On Fri, Sep 29, 2017 at 9:09 PM, Benedikt Schemmer wrote:
> From: Benedikt Schemmer
> Date: Fri, 29 Sep 2017 21:02:13 +0200
> Subject: [PAT
https://bugs.freedesktop.org/show_bug.cgi?id=99856
Jan Vesely changed:
What|Removed |Added
Status|REOPENED|RESOLVED
Resolution|---
From: Benedikt Schemmer
Date: Fri, 29 Sep 2017 21:02:13 +0200
Subject: [PATCH V2] radeonsi/uvd: fix planar formats broken since
f70f6baaa3bb0f8b280ac2eaea69bb
V2: remove code duplication and one unnessecary variable, minor whitespace fix
---
src/gallium/drivers/radeonsi/si_uvd.c | 40 +
Build mesa 5651 failed
Commit d5e7ce28b5 by Kamil Páral on 9/22/2017 9:31 PM:
drirc: whitelist glthread for Outlast\n\nFPS increase 10-20% in starting locations on Core i5-4570 +\nRadeon R9 270.
Configure your notification preferences
___
On Fri, Sep 29, 2017 at 7:54 PM, Benedikt Schemmer wrote:
> Would it be ok to rewrite the patch like below?
> Avoids code duplication and one variable.
Yes, I'll commit it if send me a proper git patch.
>
> Otherwise your original patch works fine so FWIW you have my
>
> Tested-by: Benedikt Sche
Would it be ok to rewrite the patch like below?
Avoids code duplication and one variable.
Otherwise your original patch works fine so FWIW you have my
Tested-by: Benedikt Schemmer
Cheers,
Benedikt
diff --git a/src/gallium/drivers/radeonsi/si_uvd.c
b/src/gallium/drivers/radeonsi/si_uvd.c
---
The 17.1 tag should be removed, bindless is a thing only for the latest
release.
On 09/29/2017 07:32 PM, Samuel Pitoiset wrote:
Missed that.
Reviewed-by: Samuel Pitoiset
On 09/29/2017 02:25 PM, Marek Olšák wrote:
From: Marek Olšák
We emitted instructions loading the bindless handle after
Missed that.
Reviewed-by: Samuel Pitoiset
On 09/29/2017 02:25 PM, Marek Olšák wrote:
From: Marek Olšák
We emitted instructions loading the bindless handle after the memory
instruction.
Cc: 17.1 17.2
---
src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 18 ++
1 file changed,
On Fri, Sep 29, 2017 at 4:48 AM, Iago Toral wrote:
> On Thu, 2017-09-28 at 23:05 -0700, Matt Turner wrote:
>> ... without the float -> double conversion. Low power parts have
>> additional restrictions when it comes to operating on 64-bit types,
>> and
>> the instruction used to do the conversion
On Mon, 2017-09-18 at 16:46 +0100, Eric Engestrom wrote:
> On Monday, 2017-09-18 11:10:37 -0400, Jan Vesely wrote:
> > On Mon, 2017-09-18 at 11:13 +0100, Eric Engestrom wrote:
> > > On Sunday, 2017-09-17 02:02:33 -0400, Jan Vesely wrote:
> > > > v2: Use direct llvm repo link instead of alias
> > >
On 09/29/2017 11:37 AM, Leo Liu wrote:
On 09/29/2017 10:45 AM, Andy Furniss wrote:
Marek Olšák wrote:
Can you test this?
My mpv test case is fixed by
radeonsi/uvd: fix planar formats broken since
f70f6baaa3bb0f8b280ac2eaea69bb
With Andy's information that this happens on newer MPV, an
https://bugs.freedesktop.org/show_bug.cgi?id=102463
--- Comment #2 from Hi-Angel ---
@Fabian Maurer on aside note I wanted to mention that it's your right to demand
from the original author to get SpaceEngine working at least in Wine.
The donations SpaceEngine got long time crossed the 25k$ need
Just to be consistent.
Signed-off-by: Dylan Baker
---
meson_options.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/meson_options.txt b/meson_options.txt
index 082ade7f480..d0f7cc9c7ed 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -22,9 +22,9 @@ option('pl
Signed-off-by: Dylan Baker
---
meson.build | 4
1 file changed, 4 insertions(+)
diff --git a/meson.build b/meson.build
index 5353a417484..add27b5dbac 100644
--- a/meson.build
+++ b/meson.build
@@ -53,6 +53,10 @@ if _vulkan_drivers != ''
endif
prog_python2 = find_program('python2')
+has_
On Fri, Sep 29, 2017 at 10:14 AM, Emil Velikov wrote:
> Hi all,
>
> Currently nearly all the distributions I've seen* enable and use the ICD.
> Only Gentoo does not use it, but manages the OpenCL.so conflicts via eselect.
>
> They have the ocl-icd library as a separate option, which makes me
> won
For the series:
Reviewed-by: Marek Olšák
Marek
On Fri, Sep 29, 2017 at 1:01 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> ---
> src/gallium/drivers/radeonsi/si_state.c| 7 ++-
> src/gallium/drivers/radeonsi/si_state.h| 2 ++
> src/gallium/drivers/radeonsi/si_viewport.c |
I had this exact same change in my wip tree,
Reviewed-by: Dylan Baker
Quoting Eric Engestrom (2017-09-29 08:06:39)
> Signed-off-by: Eric Engestrom
> ---
> meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meson.build b/meson.build
> index 5353a4174849334b6db
On 09/28/2017 11:25 AM, Federico Dossena wrote:
Sorry if I insist on this again, but can someone who knows the internals
of Mesa better than me please tell me which files implement pbuffers in
gallium llvmpipe? Specifically, the parts that are involved in creating
a pbuffer, its texture, framebuf
On Fri, Sep 29, 2017 at 03:40:11PM +0200, Lucas Stach wrote:
> The logic to decide if we need to flush the GPU command stream was broken
> and hard to reason about. Fix and clarify this.
>
> Fixes the data sync subtests from piglit arb_vertex_buffer_object.
>
> Signed-off-by: Lucas Stach
Review
On Wed, 2017-09-27 at 11:25 -0700, Francisco Jerez wrote:
> Jan Vesely writes:
>
> > On Tue, 2017-09-26 at 14:51 -0700, Francisco Jerez wrote:
> > > Jan Vesely writes:
> > >
> > > > On Wed, 2017-09-20 at 19:10 -0500, Aaron Watry wrote:
> > > > > [SNIP]
> > > > >
> > > > > Not trying to rain on
If an RS blit is done with source exactly the same as destination, and
the hardware supports this, do an in-place resolve.
This is the same as the blob does and potentially saves significant
bandwidth when doing i.MX6qp scanout using PRE, and when rendering to
textures (though here using sampler T
GET_MAX_SCISSOR(rctx) occurs twice where rctx doesn't exist.
Marek
___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_image.c | 3 ++-
src/amd/vulkan/radv_meta_clear.c | 5 -
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_image.c
index c0578ff5d3..ce446f6569 100644
--- a/src/amd/vulka
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_cmd_buffer.c | 12
1 file changed, 4 insertions(+), 8 deletions(-)
diff --git a/src/amd/vulkan/radv_cmd_buffer.c b/src/amd/vulkan/radv_cmd_buffer.c
index f13979cc9e..f0c49f9ab4 100644
--- a/src/amd/vulkan/radv_cmd_buffer.c
+++ b
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 70 ++--
1 file changed, 31 insertions(+), 39 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index a354ceecba..affdbc6d61 100644
--- a/src/amd/
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_private.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index 6927942550..4a10af91ed 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -396,7 +
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_decompress.c | 9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_decompress.c
b/src/amd/vulkan/radv_meta_decompress.c
index fedcfad3ae..ff5a8404cc 100644
--- a/src/amd/vulkan/radv_meta_d
It can't change during the decompression pass.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_fast_clear.c | 23 +++
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_fast_clear.c
b/src/amd/vulkan/radv_meta_fast_clear.c
ind
To be consistent with other meta operations.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 72 ++--
src/amd/vulkan/radv_private.h| 8 ++---
2 files changed, 36 insertions(+), 44 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_c
We shouldn't reach this point because HTILE is only enabled
when the number of levels is 1.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index bc0b26f1
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index 458e2b8186..72efe4608e 100644
--- a/src/amd/vulkan/radv_meta_clear.c
+++ b/src/amd/vu
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 52
1 file changed, 32 insertions(+), 20 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index affdbc6d61..458e2b8186 100644
--- a/src/amd/
Similar to radv_layout_has_htile(). Also remove an assertion
which was always false.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_cmd_buffer.c | 12 +---
src/amd/vulkan/radv_image.c | 10 --
src/amd/vulkan/radv_meta_clear.c | 4 ++--
src/amd/vulkan/radv_private.h
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_blit2d.c | 12 +++-
1 file changed, 3 insertions(+), 9 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_blit2d.c
b/src/amd/vulkan/radv_meta_blit2d.c
index 461d097d05..f7809b4486 100644
--- a/src/amd/vulkan/radv_meta_blit2d.c
Unnecessary to double check that handles are not NULL.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_blit.c | 91 ++---
src/amd/vulkan/radv_meta_blit2d.c | 49 --
src/amd/vulkan/radv_meta_buffer.c | 45 ++--
src/
It's unused.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta.h| 3 --
src/amd/vulkan/radv_meta_decompress.c | 69 +--
src/amd/vulkan/radv_pipeline.c| 1 -
src/amd/vulkan/radv_private.h | 2 -
4 files changed, 10 insertion
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_clear.c | 15 ++-
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/src/amd/vulkan/radv_meta_clear.c b/src/amd/vulkan/radv_meta_clear.c
index 9cb9506b81..8b3745d6d7 100644
--- a/src/amd/vulkan/radv_meta_clear.c
++
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_device.c | 2 +-
src/amd/vulkan/radv_image.c | 2 +-
src/amd/vulkan/radv_private.h | 5 +
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 28a941e219..402c
This should be a no-op.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_fast_clear.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/amd/vulkan/radv_meta_fast_clear.c
b/src/amd/vulkan/radv_meta_fast_clear.c
index b92fb7cd5a..7e0738f44f 100644
--- a/src/amd/vulkan/radv_met
Add helpers and some comments to make the thing more readable.
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_image.c | 85 ++---
1 file changed, 57 insertions(+), 28 deletions(-)
diff --git a/src/amd/vulkan/radv_image.c b/src/amd/vulkan/radv_imag
Signed-off-by: Samuel Pitoiset
---
src/amd/vulkan/radv_meta_blit.c | 1 -
src/amd/vulkan/radv_meta_blit2d.c | 2 --
src/amd/vulkan/radv_meta_buffer.c | 2 --
src/amd/vulkan/radv_meta_bufimage.c | 8
src/amd/vulkan/radv_meta_clear.c | 2 --
src/amd/vulkan/radv_meta_de
Hi,
After glancing at this code a lot, it appears that some cleanups are
needed. I think it's also definitely possible to reduce the meta-related
code, I have something in mind but not yet finished.
Please review, Thanks!
Samuel Pitoiset (19):
radv: skip the decompression color pass when CMASK
si_state_viewport.c maybe?
Marek
On Fri, Sep 29, 2017 at 1:01 PM, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> This is purely a file-move + #include fixup + build system changes.
> Other cleanups will follow in subsequent commits.
> ---
> src/gallium/drivers/radeon/Makefile.sources
On 09/29/2017 10:45 AM, Andy Furniss wrote:
Marek Olšák wrote:
Can you test this?
My mpv test case is fixed by
radeonsi/uvd: fix planar formats broken since
f70f6baaa3bb0f8b280ac2eaea69bb
With Andy's information that this happens on newer MPV, and with Marek's
fixes, we know MPV is chan
On 29.09.2017 17:01, Marek Olšák wrote:
I think it can still be renderable in desktop OpenGL.
The function has an early exit for desktop OpenGL.
Cheers,
Nicolai
Marek
On Fri, Sep 29, 2017 at 1:30 PM, Nicolai Hähnle wrote:
From: Nicolai Hähnle
The EXT_texture_type_2_10_10_10_REV (ES onl
I think it's kind of a pity that there's no "intermediate" step here - I
think just about every modern driver doesn't want to see UARL / address
reg, but I'd assume not everybody can use _any_ 1d reg for addressing.
d3d10 only supports temp registers as addressing operands which looks
quite reasona
1 - 100 of 201 matches
Mail list logo