diff options
author | Jason Ekstrand <[email protected]> | 2018-01-24 19:47:14 -0800 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2018-02-21 22:37:10 +0000 |
commit | adca1e4a92a53a403b7620c3356dcf038f0bcecc (patch) | |
tree | 58d26708fe61e40080bdca7526a78b3c8322dbf1 /src/intel/vulkan/anv_pipeline_cache.c | |
parent | f5433e4d6ce247b86daed741c07aa99f2bd02c0d (diff) |
anv/image: Separate modifiers from legacy scanout
For a bit there, we had a bug in i965 where it ignored the tiling of the
modifier and used the one from the BO instead. At one point, we though
this was best fixed by setting a tiling from Vulkan. However, we've
decided that i965 was just doing the wrong thing and have fixed it as of
50485723523d2948a44570ba110f02f726f86a54.
The old assumptions also affected the solution we used for legacy
scanout in Vulkan. Instead of treating it specially, we just treated it
like a modifier like we do in GL. This commit goes back to making it
it's own thing so that it's clear in the driver when we're using
modifiers and when we're using legacy paths.
v2 (Jason Ekstrand):
- Rename legacy_scanout to needs_set_tiling
Reviewed-by: Daniel Stone <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_pipeline_cache.c')
0 files changed, 0 insertions, 0 deletions