summaryrefslogtreecommitdiffstats
path: root/src/util/debug.c
diff options
context:
space:
mode:
authorDaniel Stone <[email protected]>2017-05-30 17:23:48 +0530
committerDaniel Stone <[email protected]>2017-06-08 22:27:30 +0100
commitf58e6358bf775e21d49f7a0ea0007f1940c48217 (patch)
treea015f77b2e14a7cf950d349126e4bf41a3d86353 /src/util/debug.c
parent37cdcaf3864345617d5edde661fa8443ee0a2182 (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/util/debug.c')
0 files changed, 0 insertions, 0 deletions