[Mesa-dev] [PATCH 0/5] radv: add support for shaderStorageImageMultisample feature

Samuel Pitoiset samuel.pitoiset at gmail.com
Tue Dec 18 20:59:09 UTC 2018


Hi,

This small series enables shaderStorageImageMultisample on GFX8+.

This series is originally based on Dave Airlie's work, but I made
some changes to make it work.

Please review,
Thanks!

Samuel Pitoiset (5):
  spirv: add support for SpvCapabilityStorageImageMultisample
  ac/nir: restrict fmask lookup to image load intrinsics
  radv: initialize FMASK for images in fully expanded mode
  radv: add support for FMASK expand
  radv: enable shaderStorageImageMultisample feature on GFX8+

 src/amd/common/ac_nir_to_llvm.c         |   2 +-
 src/amd/vulkan/Makefile.sources         |   1 +
 src/amd/vulkan/meson.build              |   1 +
 src/amd/vulkan/radv_cmd_buffer.c        |  32 +++
 src/amd/vulkan/radv_device.c            |   4 +-
 src/amd/vulkan/radv_formats.c           |   3 +-
 src/amd/vulkan/radv_meta.c              |   8 +
 src/amd/vulkan/radv_meta.h              |   8 +
 src/amd/vulkan/radv_meta_clear.c        |   9 +
 src/amd/vulkan/radv_meta_fmask_expand.c | 306 ++++++++++++++++++++++++
 src/amd/vulkan/radv_private.h           |   9 +
 src/amd/vulkan/radv_shader.c            |   1 +
 src/compiler/shader_info.h              |   1 +
 src/compiler/spirv/spirv_to_nir.c       |   5 +-
 14 files changed, 384 insertions(+), 6 deletions(-)
 create mode 100644 src/amd/vulkan/radv_meta_fmask_expand.c

-- 
2.20.1



More information about the mesa-dev mailing list