commit | 1be38f9178a2382aa9f785845456cd8893f10e17 | [log] [tgz] |
---|---|---|
author | Jason Ekstrand <jason@jlekstrand.net> | Mon Jun 17 09:39:08 2019 -0500 |
committer | Jason Ekstrand <jason@jlekstrand.net> | Mon Jun 17 22:32:26 2019 +0000 |
tree | 37aaf8580099054f5d09ea5ed8e49ed99a33c853 | |
parent | f3ea0cf8289ebdbb45d7122095919fb6752eb433 [diff] |
anv:Use VK_EXT_separate_stencil_usage to avoid stencil shadows on gen7 Whenever stencil texturing is not required (most of the time), we can use VK_EXT_separate_stencil_usage to only create the shadow image when VK_IMAGE_USAGE_SAMPLED_BIT is required for stencil. Of course, this depends on applications to use the extension but hopefully DXVK and similar translators are doing so and that covers most of the apps. Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>