mesa/src/intel/vulkan
Jason Ekstrand b13d0eea12 anv: Allow storage on all formats that support typed writes
In particular, this gives us B8G8R8A8_UNORM storage support which is
useful for writing WSI images from compute shaders.  These formats can
only be accessed in a spec-compliant way by decorating the variable
NonReadable in the SPIR-V (writeonly in GLSL).  If the client doesn't so
decorate the variable, it'll get the null surface state where reads
return 0 and writes are ignored.

Tested-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10624>
2021-05-05 12:20:09 +00:00
..
tests anv: implement INTEL_DEBUG=submit 2021-03-04 19:46:24 +02:00
anv_allocator.c intel: Rename gen_device prefix to intel_device 2021-04-20 20:06:33 +00:00
anv_android.c android: anv: fix build error in anv_android.c 2021-04-10 00:44:30 +02:00
anv_android.h anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_android_stubs.c anv: Drop unneeded struct keywords 2020-01-03 11:32:34 -06:00
anv_batch_chain.c intel: Rename GEN_PERF prefix to INTEL_PERF in source files 2021-04-20 20:06:34 +00:00
anv_blorp.c anv: Avoid corrupting indirect depth clear values 2021-04-14 21:00:41 +00:00
anv_cmd_buffer.c anv: Use brw_cs_get_dispatch_info() 2021-05-04 08:15:19 -07:00
anv_descriptor_set.c anv: Use vk_object_alloc/free 2021-04-10 02:18:02 +00:00
anv_device.c anv: implement VK_KHR_fragment_shading_rate 2021-05-02 20:20:06 +00:00
anv_formats.c anv: Allow storage on all formats that support typed writes 2021-05-05 12:20:09 +00:00
anv_gem.c anv: Use fallback paths if DRM_I915_QUERY_ENGINE_INFO fails 2021-03-18 00:54:29 +00:00
anv_gem_stubs.c anv: Support multiple engines with DRM_IOCTL_I915_GEM_CONTEXT_CREATE_EXT 2021-01-28 18:26:33 +00:00
anv_genX.h anv: implement VK_KHR_fragment_shading_rate 2021-05-02 20:20:06 +00:00
anv_image.c anv: Allow storage on all formats that support typed writes 2021-05-05 12:20:09 +00:00
anv_measure.c intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
anv_measure.h intel: support secondary command buffers in INTEL_MEASURE 2021-02-01 17:24:57 -08:00
anv_nir.h anv: Do UBO loads with global addresses for bindless 2021-03-17 17:49:59 +00:00
anv_nir_add_base_work_group_id.c nir: Make nir_ssa_def_rewrite_uses_after take an SSA value 2021-03-08 16:59:55 +00:00
anv_nir_apply_pipeline_layout.c intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
anv_nir_compute_push_layout.c intel: Rename gen_device prefix to intel_device 2021-04-20 20:06:33 +00:00
anv_nir_lower_multiview.c intel: Rename gen field in gen_device_info struct to ver 2021-04-02 18:33:07 +00:00
anv_nir_lower_ubo_loads.c anv: Add a pass for lowering A64 UBO access 2021-03-17 17:49:59 +00:00
anv_nir_lower_ycbcr_textures.c Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-04-15 16:01:22 +00:00
anv_pass.c anv: Use vk_object_alloc/free 2021-04-10 02:18:02 +00:00
anv_perf.c intel: Rename gen_{pipeline, oa, counter, hw} to intel_{..} 2021-04-20 20:06:34 +00:00
anv_pipeline.c nir: Move shared_memory_explicit_layout bit into common shader_info 2021-05-04 20:54:58 +00:00
anv_pipeline_cache.c vulkan/alloc: Add VK_MULTIALLOC_DECL macros 2021-03-10 20:59:55 -06:00
anv_private.h anv: Use brw_cs_get_dispatch_info() 2021-05-04 08:15:19 -07:00
anv_queue.c Convert most remaining free-form fall-through comments to FALLTHROUGH 2021-04-15 16:01:22 +00:00
anv_util.c vulkan: Make the debug_report implementation internal 2021-02-01 18:54:25 +00:00
anv_wsi.c intel: Rename gen_{mapped, clflush, invalidate} prefix to intel_{..} 2021-04-20 20:06:34 +00:00
anv_wsi_display.c anv: Move vk_format helpers to common code 2021-03-10 18:17:31 +00:00
anv_wsi_wayland.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
anv_wsi_x11.c anv: Use the common dispatch framework 2021-02-01 18:54:24 +00:00
genX_blorp_exec.c intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
genX_cmd_buffer.c anv: Allow storage on all formats that support typed writes 2021-05-05 12:20:09 +00:00
genX_gpu_memcpy.c intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00
genX_pipeline.c intel/genxml: rewrite the prefilterop xml to be more consistent. 2021-05-05 02:56:20 +00:00
genX_query.c intel: Rename GEN_PERF prefix to INTEL_PERF in source files 2021-04-20 20:06:34 +00:00
genX_state.c intel/genxml: rewrite the prefilterop xml to be more consistent. 2021-05-05 02:56:20 +00:00
gfx7_cmd_buffer.c anv: implement VK_EXT_color_write_enable 2021-04-22 15:34:52 +00:00
gfx8_cmd_buffer.c anv: implement VK_KHR_fragment_shading_rate 2021-05-02 20:20:06 +00:00
meson.build intel: Rename _gen keyword to _gfx_ver in few build files 2021-04-20 20:06:34 +00:00
TODO intel: Rename genx keyword to gfxx in source files 2021-04-02 18:33:07 +00:00