mesa/src/amd/vulkan
Samuel Iglesias Gonsálvez 32e1d85cb6 radv: assert on inline uniform blocks in radv_CmdPushDescriptorSetKHR()
According to the Vulkan spec, inline uniform blocks are not allowed
to be updated through vkCmdPushDescriptorSetKHR().

These are the spec quotes from "13.2.1. Descriptor Set Layout"
that are relevant for this case:

"VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR specifies
 that descriptor sets must not be allocated using this layout, and
 descriptors are instead pushed by vkCmdPushDescriptorSetKHR."

"If flags contains
 VK_DESCRIPTOR_SET_LAYOUT_CREATE_PUSH_DESCRIPTOR_BIT_KHR, then all
 elements of pBindings must not have a descriptorType of
 VK_DESCRIPTOR_TYPE_INLINE_UNIFORM_BLOCK_EXT".

There is no explicit mention in vkCmdPushDescriptorSetKHR() to forbid
this case but it is implied in the creation of the descriptor set
layout as aforementioned.

Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
2019-06-11 16:32:27 +02:00
..
winsys/amdgpu ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
.editorconfig amd: add .editorconfig 2017-08-29 01:08:58 +03:00
Android.mk android: radv: add libmesa_git_sha1 static dependency 2018-11-03 10:48:45 +01:00
Makefile.sources radv: Add ycbcr lowering pass. 2019-04-25 19:56:20 +00:00
meson.build amd/common: use generated register header 2019-06-03 20:05:20 -04:00
radv_android.c radv: Use bo metadata for imported image tiling on Android. 2019-06-04 18:32:45 +00:00
radv_cmd_buffer.c radv: assert on inline uniform blocks in radv_CmdPushDescriptorSetKHR() 2019-06-11 16:32:27 +02:00
radv_cs.h amd,radeonsi: rename radeon_winsys_cs -> radeon_cmdbuf 2018-06-19 13:08:50 -04:00
radv_debug.c amd/common: use generated register header 2019-06-03 20:05:20 -04:00
radv_debug.h radv: add a workaround for Monster Hunter World and LLVM 7&8 2019-05-17 11:41:19 +02:00
radv_descriptor_set.c radv: Do not use extra descriptor space for the 3rd plane. 2019-05-12 23:02:44 +00:00
radv_descriptor_set.h radv: Do not use extra descriptor space for the 3rd plane. 2019-05-12 23:02:44 +00:00
radv_device.c radv: enable VK_EXT_sample_locations 2019-06-07 13:11:17 +02:00
radv_entrypoints_gen.py radv: Add support for icd loader interface v4. 2019-05-13 00:41:31 +02:00
radv_extensions.py radv: enable VK_EXT_sample_locations 2019-06-07 13:11:17 +02:00
radv_formats.c ac: rename SI-CIK-VI to GFX6-GFX7-GFX8 2019-05-15 20:54:10 -04:00
radv_icd.py python: Specify the JSON separators 2018-07-05 12:52:38 +01:00
radv_image.c radv: Handle UNDEFINED format in image format list. 2019-06-10 22:21:16 +00:00
radv_llvm_helper.cpp radv/llvm: initialise passes member. 2019-02-11 08:59:02 +10:00
radv_meta.c radv: allow to save/restore sample locations during meta operations 2019-06-07 13:10:50 +02:00
radv_meta.h radv: allow the depth decompress pass to emit dynamic sample locations 2019-06-07 13:11:00 +02:00
radv_meta_blit.c nir/builder: Remove the use_fmov parameter from nir_swizzle 2019-05-24 08:38:11 -05:00
radv_meta_blit2d.c radv: Support different source & dest aspects for planar images in blit2d. 2019-04-25 19:56:20 +00:00
radv_meta_buffer.c nir/builder: Remove the use_fmov parameter from nir_swizzle 2019-05-24 08:38:11 -05:00
radv_meta_bufimage.c radv: Add multiple planes to images. 2019-04-25 19:56:20 +00:00
radv_meta_clear.c radv: do not use gfx fast depth clears for layered depth/stencil images 2019-06-04 08:55:32 +02:00
radv_meta_copy.c radv: Allow mixed src/dst aspects in copies. 2019-04-25 19:56:20 +00:00
radv_meta_decompress.c radv: allow the depth decompress pass to emit dynamic sample locations 2019-06-07 13:11:00 +02: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: use only one descriptor in the fmask expand pass 2019-06-05 20:50:58 +02:00
radv_meta_resolve.c radv: remove extra assignment in radv_decompress_resolve_subpass_src() 2019-06-11 08:17:22 +02:00
radv_meta_resolve_cs.c radv: do not resolve all image layers with compute inside a subpass 2019-06-11 08:06:28 +02:00
radv_meta_resolve_fs.c radv: add radv_get_resolve_pipeline() helper in the graphics path 2019-06-11 08:06:42 +02:00
radv_nir_lower_ycbcr_textures.c radv: Implement cosited_even sampling. 2019-05-06 11:09:30 +00:00
radv_nir_to_llvm.c ac,radv: do not emit vec3 for raw load/store on SI 2019-06-04 08:47:26 +02:00
radv_pass.c radv: determine the first subpass id for every attachments 2019-06-07 13:11:08 +02:00
radv_pipeline.c radv: fix setting CB_SHADER_MASK for dual source blending 2019-06-10 17:21:56 +02:00
radv_pipeline_cache.c radv: Implement VK_EXT_pipeline_creation_feedback. 2019-03-20 21:19:46 +00:00
radv_private.h radv: handle sample locations during automatic layout transitions 2019-06-07 13:11:11 +02:00
radv_query.c radv: flush pending query reset caches before copying results 2019-06-03 16:05:46 +02:00
radv_radeon_winsys.h radv: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00:00
radv_shader.c amd/common: use generated register header 2019-06-03 20:05:20 -04:00
radv_shader.h radv: Run the new ycbcr lowering pass. 2019-04-25 19:56:20 +00: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 set_output_usage_mask() with composite and 64-bit types 2019-05-02 10:24:20 +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 radv: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00:00
radv_wsi_display.c radv: Clean up signalled and submitted fields from winsys fences. 2019-05-13 20:36:29 +00: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: fix some compiler warnings 2019-06-04 17:30:53 +01:00
vk_format.h radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_layout.csv radv: Add ycbcr subsampled & multiplane formats to csv. 2019-04-25 19:56:20 +00:00
vk_format_parse.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00
vk_format_table.py radv: Add logic for multisample format descriptions. 2019-04-25 19:56:20 +00:00