A basic implementation of VK_KHR_shader_draw_parameters. I haven't
bothered with optimizing it away in the case the shader doesn't
use it, but the impact seems low anyway.

Needs the first two patches of Lionel's series for the driver
independent support.

Bas Nieuwenhuizen (3):
  radv/ac: Add draw index support.
  radv: Pass draw index to shader.
  radv: Enable VK_KHR_shader_draw_parameters.

 src/amd/common/ac_nir_to_llvm.c  | 10 ++++++++--
 src/amd/vulkan/radv_cmd_buffer.c | 14 +++++++++-----
 src/amd/vulkan/radv_device.c     |  4 ++++
 src/amd/vulkan/radv_pipeline.c   |  1 +
 4 files changed, 22 insertions(+), 7 deletions(-)

-- 
2.11.0

_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to