[Mesa-dev] [PATCH 00/15] radv: add support for VK_EXT_transform_feedback

Samuel Pitoiset samuel.pitoiset at gmail.com
Sat Oct 13 12:57:24 UTC 2018


Hi,

This series implements VK_EXT_transform_feedback for RADV. We tested it
quite a lot with DXVK and also with RenderDoc, it should be stable enough.

Please review, thanks!

Jason Ekstrand (1):
  nir: Add a pass for gathering transform feedback info

Samuel Pitoiset (14):
  vulkan: Update the XML and headers to 1.1.88
  nir: fix compacting varyings when XFB outputs are present
  radv: gather the number of streams used by geometry shaders
  radv: gather the number of output components per stream
  radv: gather which GS stream is used for every outputs
  radv: adjust the GSVS ring sizes based on the number of components
  radv: adjust the number of output components per stream
  radv: allow to use up to 4 GSVS ring buffers
  radv: allow to emit a vertex to a specified stream
  radv: gather stream output info
  radv: declare streamout SGPRs
  radv: emit stream outputs for vertex and tessellation stages
  radv: add multiple streams support for the GS copy shader
  radv: implement VK_EXT_transform_feedback

 include/vulkan/vulkan_core.h           | 244 +++++++++++++++-
 src/amd/common/sid.h                   |   1 +
 src/amd/vulkan/radv_cmd_buffer.c       | 385 +++++++++++++++++++++++-
 src/amd/vulkan/radv_device.c           |  22 ++
 src/amd/vulkan/radv_extensions.py      |   1 +
 src/amd/vulkan/radv_nir_to_llvm.c      | 388 +++++++++++++++++++++----
 src/amd/vulkan/radv_pipeline.c         |  53 +++-
 src/amd/vulkan/radv_private.h          |  33 +++
 src/amd/vulkan/radv_query.c            | 111 ++++++-
 src/amd/vulkan/radv_shader.c           |   9 +-
 src/amd/vulkan/radv_shader.h           |  24 +-
 src/amd/vulkan/radv_shader_info.c      |  57 ++++
 src/amd/vulkan/si_cmd_buffer.c         |   6 +
 src/compiler/Makefile.sources          |   4 +-
 src/compiler/nir/meson.build           |   2 +
 src/compiler/nir/nir_gather_xfb_info.c | 150 ++++++++++
 src/compiler/nir/nir_linking_helpers.c |   9 +
 src/compiler/nir/nir_xfb_info.h        |  59 ++++
 src/vulkan/registry/vk.xml             | 253 ++++++++++++++--
 19 files changed, 1694 insertions(+), 117 deletions(-)
 create mode 100644 src/compiler/nir/nir_gather_xfb_info.c
 create mode 100644 src/compiler/nir/nir_xfb_info.h

-- 
2.19.1



More information about the mesa-dev mailing list