summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorNanley Chery <[email protected]>2016-05-09 11:45:07 -0700
committerNanley Chery <[email protected]>2016-05-13 14:08:57 -0700
commit6674d018f7eab899520c1459e569bdea3a6f4874 (patch)
tree3573bcd91ffc9280fecd5088b054b702ff558957 /src/mapi
parentff5c3126235804e963abaa94e5ea50d1295cdd5f (diff)
anv/copy: Fix copying Images from Buffers with larger dimensions
This function previously assumed that the Buffer and Image had matching dimensions. However, it is possible to copy from a Buffer with larger dimensions than the Image. Modify the copy function to enable this. v2: Use ternary instead of MAX for setting bufferExtent (Jason Ekstrand) Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95292 Signed-off-by: Nanley Chery <[email protected]> Tested-by: Matthew Waters <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mapi')
0 files changed, 0 insertions, 0 deletions