summaryrefslogtreecommitdiffstats
path: root/filters
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2018-10-19 16:50:06 +0200
committersfan5 <sfan5@live.de>2018-10-19 22:58:16 +0200
commit0f3e25cb0a65bf614440080d9880c8293761842f (patch)
treedc6dfaaedc7c536a761b2f3f5911520e5386a431 /filters
parent7ad60a7c5e8dd05e6097fd24e43d0f3458201eeb (diff)
downloadmpv-0f3e25cb0a65bf614440080d9880c8293761842f.tar.bz2
mpv-0f3e25cb0a65bf614440080d9880c8293761842f.tar.xz
vo_gpu: vulkan: fix the buffer size on partial upload
This was pased on the texture height, which was a mistake. In some cases it could exceed the actual size of the buffer, leading to a vulkan API error. This didn't seem to cause any problems in practice, since a too-large synchronization is just bad for performance and shouldn't do any harm internally, but either way, it was still undefined behavior to submit a barrier outside of the buffer size. Fix the calculation, thus fixing this issue.
Diffstat (limited to 'filters')
0 files changed, 0 insertions, 0 deletions