diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2017-04-18 11:03:42 -0700 |
---|---|---|
committer | Jason Ekstrand <jason.ekstrand@intel.com> | 2017-07-22 20:12:10 -0700 |
commit | 67027ddf3f3c946faeada9a4220900e064a72024 (patch) | |
tree | bfee4218ddb3fc8aa53c819afe7c0bca0704f4c0 /src/compiler/glsl_types.cpp | |
parent | 8e2729fbb8686cba2a54086e5088a5ca4c41b39d (diff) |
anv: Predicate fast-clear resolves
Image layouts only let us know that an image *may* be fast-cleared. For
this reason we can end up with redundant resolves. Testing has shown
that such resolves can measurably hurt performance and that predicating
them can avoid the penalty.
v2:
- Introduce additional resolve state management function (Jason Ekstrand).
- Enable easy retrieval of fast clear state fields.
v3: Use more descriptive field enums (Jason)
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Diffstat (limited to 'src/compiler/glsl_types.cpp')
0 files changed, 0 insertions, 0 deletions