mesa/src/amd/vulkan
Samuel Pitoiset 0bf06400be radv: consider allocated command buffers in the initial state.
The Vulkan spec says:
    "When a command buffer is allocated, it is in the initial state.
     Some commands are able to reset a command buffer (or a set of
     command buffers) back to this state from any of the executable,
     recording or invalid state. Command buffers in the initial state
     can only be moved to the recording state, or freed."

Because the status wasn't initialized, it was implicitly set to
RADV_CMD_BUFFER_STATUS_INVALID and that triggered a reset for newly
allocated command buffers.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Jason Ekstrand <jason.ekstrand@collabora.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19506>
2022-11-07 12:02:36 +01:00
..
bvh radv: Use spirv1.5 instead of vulkan1.2 2022-11-03 22:58:47 +00:00
layers radv/rra: Fix dumps in the case of aliasing 2022-10-16 14:37:02 +00:00
radix_sort radv: fixes msvc compiling error 2022-05-16 18:57:06 +00:00
winsys amd: rename enums ARCTURUS -> MI100, ALDEBARAN -> MI200 2022-11-06 17:20:39 -05:00
.editorconfig radv: Update editorconfig. 2021-04-10 03:31:58 +02:00
00-radv-defaults.conf radv: add radv_zero_vram workarounds for OpenGL games 2022-10-11 06:36:59 +00:00
meson.build radv: Getting radeon_icd to be generated properly on win32 2022-09-22 17:54:24 +00:00
radv_acceleration_structure.c radv: Use PLOC for BVH building 2022-10-30 19:48:46 +00:00
radv_acceleration_structure.h radv/rra: Use the accel struct type for header validation 2022-10-16 14:37:02 +00:00
radv_aco_shader_info.h radv,aco: lower barycentric_at_sample in NIR 2022-09-20 09:52:37 +00:00
radv_android.c radv: Add a 32bit memory type. 2022-07-15 14:45:13 +00:00
radv_check_va.py radv: add a Python script to check if a VA was ever valid 2020-12-30 08:40:21 +01:00
radv_cmd_buffer.c radv: consider allocated command buffers in the initial state. 2022-11-07 12:02:36 +01:00
radv_constants.h radv: move GDS counters after reserved GDS offsets for streamout 2022-11-01 19:47:07 +00:00
radv_cs.h radv: stop emitting RMW context registers for updating sample locations 2022-08-26 06:33:05 +00:00
radv_debug.c ac: fix IB parsing for Stoney 2022-11-04 00:42:08 +00:00
radv_debug.h radv: allow to enable NGG streamout with RADV_PERFTEST=ngg_streamout 2022-11-01 11:28:43 +01:00
radv_descriptor_set.c radv: pass a VkSampler to write_sampler_descriptor() 2022-09-23 06:55:21 +00:00
radv_descriptor_set.h radv: Use vk_descriptor_set_layout 2022-08-02 14:16:14 +00:00
radv_device.c radv: make the GDS/GDS OA buffer objects resident 2022-11-04 21:52:35 +00:00
radv_device_generated_commands.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_formats.c radv: Expose 3d sparse images. 2022-09-06 23:16:26 +00:00
radv_image.c radv: fix setting MIN_LOD for texture descriptors on GFX11 2022-11-04 06:43:04 +00:00
radv_llvm_helper.cpp radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_llvm_helper.h radv: Rename radv_shader_helper.h to radv_llvm_helper.h 2021-10-01 10:40:18 +02:00
radv_meta.c radv: suspend/resume primitives generated query separately for legacy/NGG 2022-11-01 07:26:31 +00:00
radv_meta.h radv/gfx11: don't create texop_samples_identical 2022-10-31 16:26:30 +00:00
radv_meta_blit.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_blit2d.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_buffer.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_bufimage.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_clear.c radv: Improve gfx11 clear colors for DCC. 2022-10-24 09:08:42 +00:00
radv_meta_copy.c radv: Use VK_IMAGE_LAYOUT_ATTACHMENT_FEEDBACK_LOOP_OPTIMAL_EXT for render loops 2022-08-23 16:41:56 +00:00
radv_meta_copy_vrs_htile.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_dcc_retile.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_decompress.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_etc_decode.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_fast_clear.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_fmask_copy.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_fmask_expand.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_resolve.c radv: Use a VkPipelineCache handle for meta shaders. 2022-10-12 12:09:48 +02:00
radv_meta_resolve_cs.c radv/gfx11: don't create texop_samples_identical 2022-10-31 16:26:30 +00:00
radv_meta_resolve_fs.c radv/gfx11: don't create texop_samples_identical 2022-10-31 16:26:30 +00:00
radv_nir_apply_pipeline_layout.c radv: enable ac_nir_lower_resinfo for ACO 2022-08-30 07:37:08 +00:00
radv_nir_lower_abi.c radv: use defines instead of magic values for GDS counters offset 2022-11-01 19:47:07 +00:00
radv_nir_lower_ray_queries.c radv/rt: Load instance id and custom index on demand 2022-10-24 14:39:25 +00:00
radv_nir_lower_ycbcr_textures.c radv: use nir_shader_instructions_pass in radv_nir_lower_ycbcr_textures 2022-09-26 11:13:03 +00:00
radv_nir_to_llvm.c ac/nir: lower gfx11 vertex parameter exports 2022-10-31 14:33:43 +00:00
radv_perfcounter.c ac/gpu_info: rename info fields to num_cu, memory_bus_width, memory_freq_mhz 2022-07-27 05:01:38 +00:00
radv_pipeline.c radv: fix fallback for extreme geometry with tessellation on GFX11 2022-11-03 11:27:53 +00:00
radv_pipeline_cache.c utils: Merge util/debug.* into util/u_debug.* and remove util/debug.* 2022-11-02 07:25:39 +00:00
radv_pipeline_rt.c radv/rt: Restore prev barycentrics when rejecting hits 2022-11-06 11:36:10 +00:00
radv_private.h Revert "radv: add a pointer to radv_shader_binary in radv_shader" 2022-10-31 12:16:38 +00:00
radv_query.c radv: use defines instead of magic values for GDS counters offset 2022-11-01 19:47:07 +00:00
radv_radeon_winsys.h radv: add RADEON_FLAG_DISCARDABLE 2022-10-20 15:59:44 +00:00
radv_rra.c radv/rra: Remove some node type validation 2022-11-06 17:03:52 +00:00
radv_rt_common.c radv: Use compares for node type in traversal. 2022-11-05 16:38:48 +00:00
radv_rt_common.h radv/rt: Load instance id and custom index on demand 2022-10-24 14:39:25 +00:00
radv_sdma_copy_image.c radv: refactor image binding into struct 2022-07-26 19:50:57 +00:00
radv_shader.c radv: increase gfx1100/gfx1101 physical vgprs 2022-11-02 17:09:32 +00:00
radv_shader.h Revert "radv: add a pointer to radv_shader_binary in radv_shader" 2022-10-31 12:16:38 +00:00
radv_shader_args.c radv: declare shader arguments for attributes via memory 2022-10-20 15:59:44 +00:00
radv_shader_args.h radv: declare shader arguments for the number of samples for FS 2022-09-21 10:30:33 +00:00
radv_shader_info.c radv: drop the ES vertex count requirement on GFX11 2022-10-20 08:55:04 +00:00
radv_spm.c radv: move ac_perfcounters to physical_device. 2022-07-09 12:29:05 +00:00
radv_sqtt.c radv: acquire pstate on-demand when capturing with RGP 2022-09-21 09:50:18 +00:00
radv_wsi.c radv: Remove redundant radv_QueuePresentKHR. 2022-08-31 03:25:52 +00:00
si_cmd_buffer.c radv: implement transform feedback queries with NGG streamout 2022-10-31 08:22:29 +00:00
vk_format.h vulkan: Common vk_format_get_component_bits 2022-07-18 22:14:06 +00:00
vulkan.sym radv: Add Android module info to linker script. 2021-01-12 20:17:52 +00:00