[Mesa-dev] [PATCH v2 0/2] anv: Implement VK_KHR_draw_indirect_count and VK_EXT_conditional_rendering

Danylo Piliaiev danylo.piliaiev at gmail.com
Tue Nov 6 16:18:32 UTC 2018


This series implement VK_KHR_draw_indirect_count and VK_EXT_conditional_rendering extensions.
They are implemented together because they are highly interweaved.

There are already tests in VK_CTS for VK_KHR_draw_indirect_count.

Tests for VK_EXT_conditional_rendering (https://github.com/KhronosGroup/VK-GL-CTS/pull/131)
got merged today.

VK_KHR_draw_indirect_count is implemented for gen7+.
VK_EXT_conditional_rendering is implemented for gen7.5+ because it requires MI_MATH to be
implemented correctly.

Many thanks to Jason Ekstrand for the help with the extensions.

v2: Since ALU registers are not required for VK_KHR_draw_indirect_count
     two patches collapsed into one with new title.

Danylo Piliaiev (2):
  anv: Implement VK_KHR_draw_indirect_count for gen 7+
  anv: Implement VK_EXT_conditional_rendering for gen 7.5+

 src/intel/vulkan/anv_blorp.c       |   7 +-
 src/intel/vulkan/anv_device.c      |  12 +
 src/intel/vulkan/anv_extensions.py |   2 +
 src/intel/vulkan/anv_private.h     |   2 +
 src/intel/vulkan/genX_cmd_buffer.c | 353 ++++++++++++++++++++++++++++-
 5 files changed, 371 insertions(+), 5 deletions(-)

-- 
2.18.0



More information about the mesa-dev mailing list