anv: Implement VK_KHR_draw_indirect_count for gen 7+
authorDanylo Piliaiev <danylo.piliaiev@globallogic.com>
Fri, 5 Oct 2018 09:15:24 +0000 (12:15 +0300)
committerJason Ekstrand <jason@jlekstrand.net>
Fri, 18 Jan 2019 18:31:44 +0000 (18:31 +0000)
commited6e2bf263b0f087b2d1265d7450a2a3a22ef8ce
tree1f1efdf0c73195c0682d480c08bbeb45a1708230
parent9e989b860aada39a559fcd47d2a0cbfcd75e81fa
anv: Implement VK_KHR_draw_indirect_count for gen 7+

v2: by Jason Ekstrand
  - Move out of the draw loop population of registers
    which aren't changed in it.
  - Remove dependency on ALU registers.
  - Clarify usage of PIPE_CONTROL
  - Without usage of ALU registers patch works for gen7+

v3: set pending_pipe_bits |= ANV_PIPE_RENDER_TARGET_WRITES

Signed-off-by: Danylo Piliaiev <danylo.piliaiev@globallogic.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/intel/vulkan/anv_extensions.py
src/intel/vulkan/genX_cmd_buffer.c