summaryrefslogtreecommitdiffstats
path: root/src/intel/isl/isl.h
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2017-01-24 15:55:57 -0800
committerJason Ekstrand <[email protected]>2017-07-22 20:12:09 -0700
commit01db9a74c6b39984c50a9794e69908aab51d67c4 (patch)
tree7c8c39d17f1fd031220f1a12ae964cb90c1a5116 /src/intel/isl/isl.h
parentb178e239dd7205a93ae3cf6c0a24c2c555bf333f (diff)
intel/isl: Add surface state clear value information
This will be used to load and store clear values from surface state objects. Signed-off-by: Nanley Chery <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r--src/intel/isl/isl.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h
index 92d2ffc31a5..fcf03b1a5b3 100644
--- a/src/intel/isl/isl.h
+++ b/src/intel/isl/isl.h
@@ -919,6 +919,10 @@ struct isl_device {
uint8_t align;
uint8_t addr_offset;
uint8_t aux_addr_offset;
+
+ /* Rounded up to the nearest dword to simplify GPU memcpy operations. */
+ uint8_t clear_value_size;
+ uint8_t clear_value_offset;
} ss;
/**