diff options
author | Daniel Stone <[email protected]> | 2017-05-30 17:23:48 +0530 |
---|---|---|
committer | Daniel Stone <[email protected]> | 2017-06-08 22:27:30 +0100 |
commit | f58e6358bf775e21d49f7a0ea0007f1940c48217 (patch) | |
tree | a015f77b2e14a7cf950d349126e4bf41a3d86353 /src/vulkan | |
parent | 37cdcaf3864345617d5edde661fa8443ee0a2182 (diff) |
i965: Improve same-buffer restriction for imports
Intel hardware requires that all planes of an image come from the same
buffer, which is currently implemented by testing that all FDs are
numerically the same.
However, when going through a winsys (e.g.) or anything which transits
FDs individually, the FDs may be different even if the underlying buffer
is the same.
Instead of checking the FDs for equality, we must check if they actually
point to the same buffer (Jason).
Reviewed-by: Varad Gautam <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/vulkan')
0 files changed, 0 insertions, 0 deletions