Gustavo Padovan
34e4c1d2be
gitlab-ci: enable testing on Intel Kaby Lake as experimental
...
We now have nami/sona Chromebooks available at the Collabora lab,
so we can start the process of stabilizing them for MesaCI.
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11162 >
2021-06-03 18:04:29 +00:00
Chia-I Wu
551d7032df
venus: silence compiler warnings
...
Silence warnings in release builds.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11166 >
2021-06-03 17:48:30 +00:00
Lepton Wu
a8e75bb73c
Revert "virgl: Cache depth and stencil buffers"
...
This reverts commit d245d7b6b8 .
It broke various dEQP EGL tests because the reused resource
at host side could have a different sample_count with what we want.
The example of tests get broken:
dEQP-EGL.functional.color_clears.single_context.gles2.rgba8888_window
Signed-off-by: Lepton Wu <lepton@chromium.org >
Reviewed-by: Rohan Garg <rohan.garg@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11152 >
2021-06-03 17:00:28 +00:00
Samuel Pitoiset
aff92f50c6
ac: add ac_thread_trace::data
...
Instead of passing two different structs to ac_dump_rgp_capture().
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11156 >
2021-06-03 15:39:34 +00:00
Samuel Pitoiset
416496a0c4
ac/rgp: fix ac_fill_sqtt_asic_info() name
...
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11156 >
2021-06-03 15:39:34 +00:00
Samuel Pitoiset
ea3f72c9d9
ac: rename ac_dump_thread_trace() to ac_dump_rgp_capture()
...
RGP captures can contain both SQTT and SPM data. While we are at it,
move it to ac_rgp.h and adjust a message.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11156 >
2021-06-03 15:39:34 +00:00
Leo Liu
b3225be1e9
frontends/va: use pipe buffer map instead of texture map
...
Fixes: eb74f9776 ("gallium: split transfer_(un)map into buffer_(un)map and texture_(un)map")
Signed-off-by: Leo Liu <leo.liu@amd.com >
Reviewed-by: James Zhu <James.Zhu@amd.com >
Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11141 >
2021-06-03 09:52:48 -04:00
Erik Faye-Lund
e64e5e82ed
docs: add links to documented drivers
...
There's a few more drivers that we have docs for that we didn't link to
from the systems article yet. Let's fix that.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
db8b1b788d
docs: clean up freedreno links
...
Instead of linking directly to the Freedreno wiki, let's link to the
driver docs, and then put a link to the Freedreno wiki there.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
2c9bf33737
docs: split out layered driver to its own list
...
This mirrors what we're doing for the front-page at mesa3d.org.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
b17d504baa
docs: clean up openswr links
...
Instead of linking directly to openswr.org, let's link to the driver
docs, and have the driver-docs link to the project-webiste.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
8cc0b75e71
docs: clean up software-drivers list
...
This capitalizes driver names, and spells out OpenSWR (like the docs
does).
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
65258457cb
docs: move swrast to deprecated drivers list
...
This driver was removed in 435de835cd ("swrast: Remove the classic
swrast DRI driver"), but we forgot to update the documentation to
reflect that.
Better late than never!
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
6d2a3e6da2
docs: clean up list of deprecated systems
...
This mostly spells out brand-names, and sorts the list.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
601a7bd2b2
docs: rename vmware-guest article
...
No other drivers use the vendor in the title or path, so it seems better
to not do this for the vmware-guest driver as well. So let's rename it
to SVGA instead. The actual text itself makes it clear enough what it is
about.
This makes it stand out less in the toctree.
I chose the name "WMware SVGA3D", because that's less ambigious than the
"SVGA"-alternative, and was requested by VMware people.t
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Acked-by: Jose Fonseca <jfonseca@vmware.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
54e7353fa6
docs: update llvm requirement
...
Our build-scripts no longer support LLVM versions prior to 3.9, so let's
remove mentions of older versions.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
d8c46655af
docs: update list of apis to match website
...
This adds a few missing APIs (like Vulkan), and reorders the list to
match the order we're listing them on the frontpage of mesa3d.org.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Erik Faye-Lund
bd68ea3702
docs: do not list all gles major versions
...
We support all versions of OpenGL ES, no need to point out each version.
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11109 >
2021-06-03 09:34:43 +00:00
Yogesh Mohanmarimuthu
0e856b95c5
loader: allocate VRAM in display GPU in case of prime
...
Allocates VRAM in display GPU in case of prime. Then the dma_buf is imported
into prime GPU.
v2: add comments to make code more readable (Pierre-Eric)
removed if check limiting p2p only for matching driver name
v3: keep old path for non mesa driver (Michel Dänzer)
v4: destroy linear_buffer_display_gpu after import (Michel Dänzer)
fall back if linear_buffer_display_gpu alloc fail (Michel Dänzer)
Signed-off-by: Yogesh Mohanmarimuthu <yogesh.mohanmarimuthu@amd.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10595 >
2021-06-03 09:12:32 +00:00
Yogesh Mohanmarimuthu
55d1b8f929
glx: create DRI screen for display GPU incase of prime
...
The created DRI screen can be used to allocate VRAM memory from
display GPU in case of prime.
v2: add comments to make code readable (Pierre-Eric)
remove driver name match check
v3: keep old path for non-mesa driver (Michel Dänzer)
v4: fallback if driver not found for display GPU (Michel Dänzer)
fallback if create screen fail for display gpu (Michel Dänzer)
Signed-off-by: Yogesh Mohanmarimuthu <yogesh.mohanmarimuthu@amd.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10595 >
2021-06-03 09:12:32 +00:00
Yogesh Mohanmarimuthu
dac2c210d6
glx: Keep display fd open for prime
...
Keep the display fd open for creating DRI screen on display gpu in
case of prime.
v2: initialize psc->fd_display_gpu early (Michel Dänzer)
fix display gpu fd leakage (Michel Dänzer)
v3: fix more display gpu fd leakage (Michel Dänzer)
Signed-off-by: Yogesh Mohanmarimuthu <yogesh.mohanmarimuthu@amd.com >
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Reviewed-by: Michel Dänzer <mdaenzer@redhat.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10595 >
2021-06-03 09:12:32 +00:00
Hyunjun Ko
41eaa07823
turnip/kgsl: Fix to build on android.
...
Fixes: 3f229e34 ("turnip: Implement VK_KHR_timeline_semaphore.")
Signed-off-by: Hyunjun Ko <zzoon@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11153 >
2021-06-03 08:55:06 +00:00
Pierre-Eric Pelloux-Prayer
8baa77c813
radeonsi: fix encryption check for buffers
...
The writable bit means read-write, not just write.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Fixes: 8873ea0e25 ("radeonsi: determine secure flag must be set for gfx IB")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107 >
2021-06-03 08:33:52 +00:00
Pierre-Eric Pelloux-Prayer
b377da9122
radeonsi: allow write-only mapping of encrypted textures
...
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107 >
2021-06-03 08:33:52 +00:00
Pierre-Eric Pelloux-Prayer
fcdfe91efa
frontend/dri: fix bool/int comparison
...
Cast tex->bind & PIPE_BIND_PROTECTED to a bool before doing the
comparison, otherwise it'll incorrectly fail.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Fixes: 18b7cafc70 ("driconf: add disable_protected_content_check option")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107 >
2021-06-03 08:33:52 +00:00
Pierre-Eric Pelloux-Prayer
5e6f92f82c
frontend/dri: set PIPE_BIND_PROTECTED later
...
NV12, YUV, YUYV and UYVY handling checks !tex_usage so set
PIPE_BIND_PROTECTED after.
This fixes encrypted nv12 textures handling.
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11107 >
2021-06-03 08:33:52 +00:00
Chia-I Wu
736e24bdce
venus: use vk_default_allocator
...
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/4870
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:27 +00:00
Chia-I Wu
567a18dade
anv: use vk_default_allocator
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:27 +00:00
Chia-I Wu
3ba3681b58
tu: use vk_default_allocator
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:26 +00:00
Chia-I Wu
8615653c0e
v3dv: use vk_default_allocator
...
This also fixes the allocator used in v3dv_DestroyDevice.
v2: fix two more occurences of default_alloc (Roman Stratiienko)
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Reviewed-by: Iago Toral Quiroga <itoral@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:26 +00:00
Chia-I Wu
7ebd658e28
radv: use vk_default_allocator
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:26 +00:00
Chia-I Wu
d3acc73455
vulkan/util: add vk_default_allocator
...
We cannot use os_{malloc,free,realloc}_aligned because
os_realloc_aligned needs the old size (for memcpy).
v2: no max_align_t on MSVC
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Acked-by: Jason Ekstrand <jason@jlekstrand.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11117 >
2021-06-03 08:13:26 +00:00
Yiwei Zhang
5054f74ce1
venus: initial AHB support for multi-planar format
...
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Reviewed-by: Chia-I Wu <olvaffe@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11150 >
2021-06-03 07:36:09 +00:00
Samuel Pitoiset
380ac28891
ac: import performance counters from RadeonSI
...
Performance counters will be used by RADV for VK_KHR_performance_query
and also for adding SPM support.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11140 >
2021-06-03 07:15:21 +00:00
Samuel Pitoiset
7af915b4a0
radv: enable RADV_DEBUG=invariantgeom for SotTR DX11/DX12 versions
...
DXVK 1.8.1 marks position as always invariant but it's disabled for
SotTR because it introduces rendering issues on NV. The DX12 version
also likely needs that.
Fixes a similar foliage issue initially found with the native version.
Cc: 21.1 mesa-stable
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11006 >
2021-06-03 06:32:35 +00:00
Jason Ekstrand
06ae2723d1
intel/vec4: Also use MOV_FOR_SCRATCH for swizzle resolves
...
In 2db8867943 , we introduced a new meta-op MOV_FOR_SCRATCH which is
identical to MOV except it lets us identify MOVs emitted during spilling
so we know not to re-spill those instructions. We emit them from
shuffle_for_64bit_data whenever the new for_scratch parameter is true.
Unfortunately, we missed the one used for resolving swizzles.
Fixes: 2db8867943 "intel/vec4: Don't spill fp64 registers more..."
Tested-by: Dave Airlie <airlied@redhat.com >
Reviewed-by: Dave Airlie <airlied@redhat.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11155 >
2021-06-03 06:14:17 +00:00
Chia-I Wu
889a8df5bd
venus: enable wsi image ownership transfer for common wsi
...
v2: this is split out from the last commit
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org > (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
676abf12dc
venus: reland wsi image ownership transfer for Android
...
This takes a different approach. It turns out we can patch
vkCmd{Begin,End}RenderPass, vkCmdWaitEvents, and vkCmdPipelineBarrier to
do queue family ownership transfers without tracking image ownerships.
v2: check the value of VN_PRESENT_SRC_INTERNAL_LAYOUT and keep this
Android-only
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org > (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
a52f6b20b9
venus: undo wsi iamge ownership transfer for Android
...
This reverts most of commit 96ec6b3d8f .
It keeps vn_image::sharing_mode.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
93abaf6fe8
venus: clean up vn_get_intercepted_barriers
...
Add vn_cmd_{wait_events,pipeline_barrier}_fix_image_memory_barries to
replace vn_get_intercepted_barriers. The two new functions are
identical currently, but that will change soon.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
7ec6cb61ad
venus: add vn_cmd_get_image_memory_barriers
...
And call it regardless of ANDROID or not.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
142e452e9a
venus: add vn_image_memory_barrier_has_present_src
...
And call it regardless of ANDROID or not.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
fb6fc24771
venus: remember cmd buffer fb attachments
...
We need them for wsi queue ownership transfer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
ccf85f6604
venus: remember cmd buffer render pass and framebuffer
...
We need them for wsi queue ownership transfer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
c85aa41046
venus: remember framebuffer attachments
...
We need them for wsi queue ownership transfer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
65e4bfe7ab
venus: remember image view image
...
We need that for wsi queue ownership transfer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
cef50d08e9
venus: remember render pass PRESENT_SRC barriers
...
We need them for wsi queue ownership transfer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
9fe833dfd9
venus: remember render pass PRESENT_SRC attachments
...
We need them for wsi queue ownership transfer.
v2: make VN_PRESENT_SRC_INTERNAL_LAYOUT public
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org > (v1)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
6661e47b59
venus: handle VN_COMMAND_BUFFER_STATE_INVALID
...
If the state was set to VN_COMMAND_BUFFER_STATE_INVALID, return
VK_ERROR_OUT_OF_HOST_MEMORY in vn_EndCommandBuffer.
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00
Chia-I Wu
eed11c2778
venus: remember image wsi states
...
Signed-off-by: Chia-I Wu <olvaffe@gmail.com >
Reviewed-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10709 >
2021-06-03 06:03:31 +00:00