mesa/src/amd/vulkan
Lionel Landwerlin f1bcb9be46 radv: assert that colorAttachment is valid for CmdClearAttachment
This partially reverts a change from b7a93cbded ("radv: Handle
VK_ATTACHMENT_UNUSED in CmdClearAttachment") which fixed actual issues
but also started to accept invalid values for the colorAttachment
field.

This change asserts that the field is valid for the current pass.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: b7a93cbded ("radv: Handle VK_ATTACHMENT_UNUSED in CmdClearAttachment")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
2019-02-08 00:18:16 +00:00
..
winsys/amdgpu radv/winsys: fix hash when adding internal buffers 2019-01-30 12:29:10 +01:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
.gitignore radv: add generated files to .gitignore(s) 2018-05-15 22:53:55 +02:00
Android.mk android: radv: add libmesa_git_sha1 static dependency 2018-11-03 10:48:45 +01:00
Makefile.am configure: allow building with python3 2018-10-31 19:15:50 +00:00
Makefile.sources radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
meson.build radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_android.c radv: get rid of bunch of KHR suffixes 2019-01-09 12:26:48 +01:00
radv_cmd_buffer.c radv: don't flush src stages when dstStageMask == BOTTOM_OF_PIPE 2019-02-04 13:19:14 +01:00
radv_cs.h amd,radeonsi: rename radeon_winsys_cs -> radeon_cmdbuf 2018-06-19 13:08:50 -04:00
radv_debug.c radv/winsys: Set winsys bo priority on creation. 2019-01-29 15:56:41 +01:00
radv_debug.h radv: enable primitive binning by default 2018-11-16 17:51:15 +01:00
radv_descriptor_set.c radv: Only look at pImmutableSamples if the descriptor has a sampler. 2019-02-06 22:35:32 +01:00
radv_descriptor_set.h radv: improve gathering of load_push_constants with dynamic bindings 2019-01-23 09:43:53 +01:00
radv_device.c radv: Implement VK_EXT_buffer_device_address. 2019-02-06 22:37:38 +01:00
radv_entrypoints_gen.py radv: generate entrypoints for VK_ANDROID_native_buffer 2018-07-28 12:39:57 +02:00
radv_extensions.py radv: Implement VK_EXT_buffer_device_address. 2019-02-06 22:37:38 +01:00
radv_formats.c radv: remove a few more unnecessary KHR suffixes 2019-01-10 16:53:44 +00:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv/winsys: Set winsys bo priority on creation. 2019-01-29 15:56:41 +01:00
radv_llvm_helper.cpp amd: remove support for LLVM 6.0 2018-12-06 14:02:56 +01:00
radv_meta.c radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_meta.h radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_meta_blit.c radv: do not set preserveAttachments for internal render passes 2019-02-04 13:19:14 +01:00
radv_meta_blit2d.c radv: do not set preserveAttachments for internal render passes 2019-02-04 13:19:14 +01:00
radv_meta_buffer.c radeonsi: correct WRITE_DATA.DST_SEL definitions 2019-01-22 12:14:26 -05:00
radv_meta_bufimage.c nir: replace more nir_load_system_value calls with builder functions 2019-01-21 00:16:51 +01:00
radv_meta_clear.c radv: assert that colorAttachment is valid for CmdClearAttachment 2019-02-08 00:18:16 +00:00
radv_meta_copy.c radv: Fix wrongly positioned paren. 2018-12-21 21:06:55 +01:00
radv_meta_decompress.c radv: drop few useless state changes when doing color/depth decompressions 2018-11-29 10:18:55 +01:00
radv_meta_fast_clear.c radv: allow to skip DCC decompressions with the new predicate 2018-12-13 09:21:14 +01:00
radv_meta_fmask_expand.c radv: add support for FMASK expand 2018-12-20 18:01:17 +01:00
radv_meta_resolve.c radv: drop useless checks when resolving subpass color attachments 2019-02-04 13:19:14 +01:00
radv_meta_resolve_cs.c nir: replace nir_load_system_value calls with appropiate builder functions 2018-11-14 02:09:11 +01:00
radv_meta_resolve_fs.c radv: do not set preserveAttachments for internal render passes 2019-02-04 13:19:14 +01:00
radv_nir_to_llvm.c radv: fix build 2019-02-01 15:31:55 +01:00
radv_pass.c radv: don't flush src stages when dstStageMask == BOTTOM_OF_PIPE 2019-02-04 13:19:14 +01:00
radv_pipeline.c radv: track if subpasses have color attachments 2019-02-04 13:19:14 +01:00
radv_pipeline_cache.c radv: Add on-demand compilation of built-in shaders. 2018-08-14 10:26:24 +02:00
radv_private.h radv: track if subpasses have color attachments 2019-02-04 13:19:14 +01:00
radv_query.c radv/winsys: Set winsys bo priority on creation. 2019-01-29 15:56:41 +01:00
radv_radeon_winsys.h radv: Enable VK_EXT_memory_priority. 2019-01-29 15:56:56 +01:00
radv_shader.c radv: Implement VK_EXT_buffer_device_address. 2019-02-06 22:37:38 +01:00
radv_shader.h ac/radv/radeonsi: add ac_get_num_physical_sgprs() helper 2019-02-01 22:25:30 +11:00
radv_shader_helper.h amd: remove support for LLVM 6.0 2018-12-06 14:02:56 +01:00
radv_shader_info.c radv: Fix the shader info pass for not having the variable. 2019-02-06 22:35:45 +01:00
radv_util.c radv: Add startup debug option. 2018-05-31 11:51:23 +02:00
radv_util.h radv: Use proper header guards over 'pragma once' directives 2016-10-10 16:10:56 +11:00
radv_wsi.c vulkan/wsi: Use VK_EXT_pci_bus_info for DRM fd matching 2018-10-18 11:29:00 -05:00
radv_wsi_display.c anv,radv: Add support for VK_KHR_get_display_properties2 2018-07-09 17:09:41 -07:00
radv_wsi_wayland.c radv/wsi: Don't include wayland headers 2017-03-13 11:16:30 +00:00
radv_wsi_x11.c vulkan: drop always-true param 2018-10-26 18:33:11 +01:00
si_cmd_buffer.c radv/winsys: Set winsys bo priority on creation. 2019-01-29 15:56:41 +01:00
vk_format.h radv: Fix SRGB compute copies. 2018-05-21 10:33:41 +02:00
vk_format_layout.csv radv: Add support for ETC2 textures. 2018-07-27 01:31:32 +02:00
vk_format_parse.py python: Fix inequality comparisons 2018-08-10 08:45:59 -07:00
vk_format_table.py radv: Remove redundant format check. 2018-12-17 20:09:38 +00:00