diff options
Diffstat (limited to 'src/intel/vulkan/anv_private.h')
-rw-r--r-- | src/intel/vulkan/anv_private.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/intel/vulkan/anv_private.h b/src/intel/vulkan/anv_private.h index 9a5d2d6fa49..3635bc8a1a5 100644 --- a/src/intel/vulkan/anv_private.h +++ b/src/intel/vulkan/anv_private.h @@ -2084,6 +2084,18 @@ anv_image_aux_layers(const struct anv_image * const image, } } +static inline unsigned +anv_fast_clear_state_entry_size(const struct anv_device *device) +{ + assert(device); + /* Entry contents: + * +----------------------+ + * | clear value dword(s) | + * +----------------------+ + */ + return device->isl_dev.ss.clear_value_size; +} + /* Returns true if a HiZ-enabled depth buffer can be sampled from. */ static inline bool anv_can_sample_with_hiz(const struct gen_device_info * const devinfo, |