diff options
author | Jason Ekstrand <[email protected]> | 2019-06-17 09:39:08 -0500 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-06-17 22:32:26 +0000 |
commit | 1be38f9178a2382aa9f785845456cd8893f10e17 (patch) | |
tree | 37aaf8580099054f5d09ea5ed8e49ed99a33c853 /src/hgl/GLDispatcher.cpp | |
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 <[email protected]>
Diffstat (limited to 'src/hgl/GLDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions