mesa/src/freedreno
Danylo Piliaiev 1a2f1e3f47 turnip: fill VkMemoryDedicatedRequirements
We support VK_KHR_dedicated_allocation so we must fill
VkMemoryDedicatedRequirements.

Vulkan spec states:

 "[...] requiresDedicatedAllocation may be VK_TRUE under one of the
 following conditions:

 The pNext chain of VkImageCreateInfo for the call to vkCreateImage used
 to create the image being queried included a VkExternalMemoryImageCreateInfo
 structure, and any of the handle types specified in
 VkExternalMemoryImageCreateInfo::handleTypes requires dedicated allocation,
 as reported by vkGetPhysicalDeviceImageFormatProperties2 in
 VkExternalImageFormatProperties::externalMemoryProperties.externalMemoryFeatures,
 the requiresDedicatedAllocation field will be set to VK_TRUE."

All handle types require dedicated allocation at the moment.

Fixes:
 dEQP-VK.api.external.memory.opaque_fd.dedicated.image.info
 dEQP-VK.memory.requirements.dedicated_allocation.buffer.regular
 dEQP-VK.memory.requirements.dedicated_allocation.image.transient_tiling_optimal

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9086>
2021-03-12 11:56:47 +02:00
..
.gitlab-ci freedreno/a6xx: Cleanup SP_XS_CTRL_REG0 definitions 2021-03-11 20:58:39 +00:00
afuc freedreno/afuc: Replace readfile with os_read_file. 2021-01-06 18:12:34 +00:00
ci turnip: fill VkMemoryDedicatedRequirements 2021-03-12 11:56:47 +02:00
common freedreno/ir3/decode: Switch over to new disasm 2021-01-13 18:32:48 +00:00
computerator freedreno/a6xx: Cleanup SP_XS_CTRL_REG0 definitions 2021-03-11 20:58:39 +00:00
decode freedreno/cffdec: Use rb trees for tracking buffers 2021-03-08 15:18:47 +00:00
drm freedreno/drm: Quiet timedout error msg 2020-11-23 16:04:52 +00:00
drm-shim meson: use gnu_symbol_visibility argument 2020-06-01 18:59:18 +00:00
fdl freedreno/a6xx: Fix typo in height alignment calculation in a6xx layout 2020-11-26 17:37:37 +00:00
ir2 freedreno: Fix "Offset of packed bitfield changed" warnings: 2020-08-03 23:28:49 +00:00
ir3 turnip: lower device index to zero 2021-03-11 21:12:52 +00:00
isa freedreno/hw: fix populating branch targets in isa_decode pre-pass 2021-03-09 18:17:48 +00:00
perfcntrs freedreno/a6xx: update perfcntr registers (declare as arrays) 2021-02-19 04:04:02 +00:00
registers freedreno/a6xx: Cleanup SP_XS_CTRL_REG0 definitions 2021-03-11 20:58:39 +00:00
rnn freedreno/a6xx: always use reg64 for address registers (no LO/HI) 2021-02-19 04:04:02 +00:00
vulkan turnip: fill VkMemoryDedicatedRequirements 2021-03-12 11:56:47 +02:00
.dir-locals.el freedreno: Make emacs indent the way robclark's eclipse does. 2019-05-13 15:37:01 -07:00
.editorconfig freedreno: Make .editorconfig match .dir-locals.el. 2019-05-13 15:37:01 -07:00
Android.common.mk android: freedreno/common: add libmesa_git_sha1 static dependency 2020-09-07 20:02:45 +00:00
Android.drm.mk freedreno/drm: android: add libfreedreno_registers static dependency 2020-05-09 16:19:14 +00:00
Android.ir2.mk android: freedreno: move a2xx disasm out of gallium 2020-08-02 21:40:21 +02:00
Android.ir3.mk android: freedreno/ir3: Switch over to new encoder/decoder 2021-01-17 21:57:05 +01:00
Android.isa.mk android: freedreno/hw/isa: Add description of ir3 ISA 2021-01-17 21:57:05 +01:00
Android.mk android: freedreno/hw/isa: Add description of ir3 ISA 2021-01-17 21:57:05 +01:00
Android.perfcntrs.mk freedreno: android: fix build of perfcounters. 2020-02-07 16:34:49 +00:00
Android.registers.mk android: freedreno: Another build fix 2020-08-19 11:57:17 +00:00
Makefile.sources android: freedreno/hw/isa: Add description of ir3 ISA 2021-01-17 21:57:05 +01:00
meson.build freedreno/hw/isa: Add description of ir3 ISA 2021-01-13 18:32:47 +00:00