diff options
author | Jason Ekstrand <[email protected]> | 2017-02-13 09:14:07 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2017-02-14 07:50:13 -0800 |
commit | f8dfe9b8265d79ac577e193e5ba2215d82fddf52 (patch) | |
tree | cde09c8363d894f98c664b72863e5dc07511fe18 /src/intel/isl/isl.h | |
parent | 0ef14cdc980549cc7e7bafd06aaad356da7137ff (diff) |
intel/isl: Add format metadata for typed reads/writes
This adds two columns to the format table as well as two helpers for
determining whether or not a given format is supported for typed reads
and writes.
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/isl/isl.h')
-rw-r--r-- | src/intel/isl/isl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/isl/isl.h b/src/intel/isl/isl.h index eff7218748e..c340e6a3f7a 100644 --- a/src/intel/isl/isl.h +++ b/src/intel/isl/isl.h @@ -1040,6 +1040,10 @@ bool isl_format_supports_filtering(const struct gen_device_info *devinfo, enum isl_format format); bool isl_format_supports_vertex_fetch(const struct gen_device_info *devinfo, enum isl_format format); +bool isl_format_supports_typed_writes(const struct gen_device_info *devinfo, + enum isl_format format); +bool isl_format_supports_typed_reads(const struct gen_device_info *devinfo, + enum isl_format format); bool isl_format_supports_ccs_d(const struct gen_device_info *devinfo, enum isl_format format); bool isl_format_supports_ccs_e(const struct gen_device_info *devinfo, |