aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_genX.h
diff options
context:
space:
mode:
authorNanley Chery <nanley.g.chery@intel.com>2016-10-07 12:07:27 -0700
committerNanley Chery <nanley.g.chery@intel.com>2016-10-07 12:54:18 -0700
commit134d181be1e3023b0ca36ccaa777105e37e23a82 (patch)
tree47741adc2771f1736ebd8bdefd8ffec9671f3cea /src/intel/vulkan/anv_genX.h
parent9919a2d34deca437bfbb95d7a869616758bb69fd (diff)
anv/cmd_buffer: Add code for performing HZ operations
Create a function that performs one of three HiZ operations - depth/stencil clears, HiZ resolve, and depth resolves. Signed-off-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Chad Versace <chadversary@chromium.org>
Diffstat (limited to 'src/intel/vulkan/anv_genX.h')
-rw-r--r--src/intel/vulkan/anv_genX.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_genX.h b/src/intel/vulkan/anv_genX.h
index dc2dd5df6c8..81ebbaa008b 100644
--- a/src/intel/vulkan/anv_genX.h
+++ b/src/intel/vulkan/anv_genX.h
@@ -55,6 +55,9 @@ genX(emit_urb_setup)(struct anv_device *device, struct anv_batch *batch,
unsigned vs_entry_size, unsigned gs_entry_size,
const struct gen_l3_config *l3_config);
+void genX(cmd_buffer_emit_hz_op)(struct anv_cmd_buffer *cmd_buffer,
+ enum blorp_hiz_op op);
+
VkResult
genX(graphics_pipeline_create)(VkDevice _device,
struct anv_pipeline_cache *cache,