[Mesa-dev] [PATCH 0/3] radv: VK_KHR_shader_draw_parameters.
Bas Nieuwenhuizen
bas at basnieuwenhuizen.nl
Tue Jan 31 20:42:09 UTC 2017
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
More information about the mesa-dev
mailing list