summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_private.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2017-03-10 16:31:16 -0800
committerNanley Chery <[email protected]>2017-06-26 11:09:12 -0700
commit4b2a2b70e09a04b6dbcf992c864fda7dc1169be1 (patch)
tree783e9b798364bc46bed5ca4af3d88616b7ebaebe /src/intel/vulkan/anv_private.h
parentd1119ab7b6e7d92505f4855e4f9f4d19e5a94804 (diff)
anv/blorp: Add a surface-state-based CCS resolve function
This will be used in the next patch. v2: - Omit BLORP_BATCH_NO_EMIT_DEPTH_STENCIL (Jason Ekstrand) - Update commit message. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Iago Toral Quiroga <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r--src/intel/vulkan/anv_private.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h
index b6f9cbdfdbc..573778dad55 100644
--- a/src/intel/vulkan/anv_private.h
+++ b/src/intel/vulkan/anv_private.h
@@ -2128,6 +2128,12 @@ void
anv_gen8_hiz_op_resolve(struct anv_cmd_buffer *cmd_buffer,
const struct anv_image *image,
enum blorp_hiz_op op);
+void
+anv_ccs_resolve(struct anv_cmd_buffer * const cmd_buffer,
+ const struct anv_state surface_state,
+ const struct anv_image * const image,
+ const uint8_t level, const uint32_t layer_count,
+ const enum blorp_fast_clear_op op);
void
anv_image_ccs_clear(struct anv_cmd_buffer *cmd_buffer,