summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_genX.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2016-10-07 12:07:27 -0700
committerNanley Chery <[email protected]>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 <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Chad Versace <[email protected]>
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,