mesa/src/broadcom/vulkan
Iago Toral Quiroga 7de80fad74 v3dv: use compatible TLB formats if possible during copies and clears
If a format is not supported by the TLB, we can still use the TLB path
if we setup the render target using a compatible format. The only caveat
is that for clears we need to pack the clear value using the original
format of the underlying image, not the compatible format.

With this change we get to use the TLB path successfully for all supported
image formats (except a1r5g5b5, at least for now) so long as the region starts
at (0,0), and we only need to consider fallback paths for partial copies
and clears, not because of the format.

This gets us to pass a few extra hundreds of tests in:
dEQP-VK.api.image_clearing.core.clear_color_image.*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
2020-10-13 21:21:28 +00:00
..
.dir-locals.el
.editorconfig
meson.build v3dv: implement vkCmdClearAttachments 2020-10-13 21:21:27 +00:00
v3d_tiling.c v3dv: implement vkCreateImage 2020-10-13 21:21:25 +00:00
v3dv_bo.c v3dv/bo: add a bo name 2020-10-13 21:21:27 +00:00
v3dv_bo.h v3dv/bo: add a bo name 2020-10-13 21:21:27 +00:00
v3dv_cl.c v3dv: support submits without a command buffer 2020-10-13 21:21:28 +00:00
v3dv_cl.h v3dv: initial descriptor set support 2020-10-13 21:21:27 +00:00
v3dv_cmd_buffer.c v3dv: drop incorrect assertion on number of clear values at render pass begin 2020-10-13 21:21:28 +00:00
v3dv_debug.c v3dv/debug: add v3dv_debug 2020-10-13 21:21:25 +00:00
v3dv_debug.h v3dv/debug: add v3dv_debug 2020-10-13 21:21:25 +00:00
v3dv_descriptor_set.c v3dv/descriptor: take into account pPushConstantRanges 2020-10-13 21:21:28 +00:00
v3dv_device.c v3dv: support submits without a command buffer 2020-10-13 21:21:28 +00:00
v3dv_entrypoints_gen.py
v3dv_extensions.py v3dv: hook up WSI support 2020-10-13 21:21:26 +00:00
v3dv_extensions_gen.py
v3dv_formats.c v3dv: make sure we only expose transfer features for formats we can use 2020-10-13 21:21:28 +00:00
v3dv_icd.py
v3dv_image.c v3dv: fix image tiling configuration 2020-10-13 21:21:28 +00:00
v3dv_meta_clear.c v3dv: support submits without a command buffer 2020-10-13 21:21:28 +00:00
v3dv_meta_copy.c v3dv: use compatible TLB formats if possible during copies and clears 2020-10-13 21:21:28 +00:00
v3dv_pass.c v3dv: always flush draw calls if we are doing sRGB blending 2020-10-13 21:21:28 +00:00
v3dv_pipeline.c v3dv: assert on vkCreateComputePipelines 2020-10-13 21:21:28 +00:00
v3dv_pipeline_cache.c v3dv: stubs for Create/DestroyPipelineCache 2020-10-13 21:21:26 +00:00
v3dv_private.h v3dv: implement dynamic state for blend constants 2020-10-13 21:21:28 +00:00
v3dv_queue.c v3dv: use vk_error() for all queue/submit errors 2020-10-13 21:21:28 +00:00
v3dv_uniforms.c v3dv/descriptor: take into account pPushConstantRanges 2020-10-13 21:21:28 +00:00
v3dv_util.c
v3dv_wsi.c v3dv: rename drm device fields so they are more explict 2020-10-13 21:21:26 +00:00
v3dv_wsi_x11.c v3dv: hook up WSI support 2020-10-13 21:21:26 +00:00
vk_format_info.h v3dv: always flush draw calls if we are doing sRGB blending 2020-10-13 21:21:28 +00:00