diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2016-10-07 12:07:27 -0700 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2016-10-07 12:54:18 -0700 |
commit | 134d181be1e3023b0ca36ccaa777105e37e23a82 (patch) | |
tree | 47741adc2771f1736ebd8bdefd8ffec9671f3cea /src/intel/vulkan/anv_genX.h | |
parent | 9919a2d34deca437bfbb95d7a869616758bb69fd (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.h | 3 |
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, |