aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/blorp/blorp.h
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2017-11-11 11:10:59 -0800
committerJason Ekstrand <[email protected]>2017-11-27 16:22:12 -0800
commit67b676f0c5d4e44ac748292a8a9c639415bd1d5f (patch)
tree315d01c3a76ddea3ab29ca35541153d630ed429f /src/intel/blorp/blorp.h
parent85aa4074a29b5fcb6dbf0d34b85b36c05eeecc02 (diff)
intel/blorp: Add initial support for indirect clear colors
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp.h')
-rw-r--r--src/intel/blorp/blorp.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp.h b/src/intel/blorp/blorp.h
index 31eb1ece0ff..6027076afd0 100644
--- a/src/intel/blorp/blorp.h
+++ b/src/intel/blorp/blorp.h
@@ -101,6 +101,14 @@ struct blorp_surf
enum isl_aux_usage aux_usage;
union isl_color_value clear_color;
+
+ /**
+ * If set (bo != NULL), clear_color is ignored and the actual clear color
+ * is fetched from this address. On gen7-8, this is all of dword 7 of
+ * RENDER_SURFACE_STATE and is the responsibility of the caller to ensure
+ * that it contains a swizzle of RGBA and resource min LOD of 0.
+ */
+ struct blorp_address clear_color_addr;
};
void