diff options
author | Jason Ekstrand <[email protected]> | 2016-10-07 17:17:05 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2016-10-14 15:39:41 -0700 |
commit | 81be7be11960e3edb6968fd5c8d9475f234aae48 (patch) | |
tree | e61481d5098ab998ef4a9a8206ebf09f7e3cdff3 /src/intel/blorp/blorp_priv.h | |
parent | bc4bb5a7e302569f593882feabff1379b640022a (diff) |
intel/blorp: Add an "enabled" bit to surface_info
This gives a slightly smarter way to check whether or not a particular
surface exists than looking at the address.
Signed-off-by: Jason Ekstrand <[email protected]>
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/intel/blorp/blorp_priv.h')
-rw-r--r-- | src/intel/blorp/blorp_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/intel/blorp/blorp_priv.h b/src/intel/blorp/blorp_priv.h index e63aca8448b..1fbedce92d5 100644 --- a/src/intel/blorp/blorp_priv.h +++ b/src/intel/blorp/blorp_priv.h @@ -53,6 +53,8 @@ enum blorp_fast_clear_op { struct brw_blorp_surface_info { + bool enabled; + struct isl_surf surf; struct blorp_address addr; |