summaryrefslogtreecommitdiffstats
path: root/player
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossy@jrg.systems>2017-12-30 19:48:53 +1100
committerJames Ross-Gowan <rossy@jrg.systems>2018-01-01 20:31:45 +1100
commit7677c7c32c3ccf0801b63c7a23262c5b121cfbe8 (patch)
tree16d3f4a29513fbf37c9e2167a13d32b2e2789653 /player
parent4a6bb492151358afa4c5ae22a2497490dbb73e12 (diff)
downloadmpv-7677c7c32c3ccf0801b63c7a23262c5b121cfbe8.tar.bz2
mpv-7677c7c32c3ccf0801b63c7a23262c5b121cfbe8.tar.xz
vo_gpu: d3d11: avoid copying staging buffers to cbuffers
Apparently some Intel drivers have a bug where copying from staging buffers to constant buffers does not work. We used to keep a copy of the buffer data in a staging buffer to enable partial constant buffer updates. To work around this bug, keep the copy in talloc-allocated system memory instead. There doesn't seem to be any noticable performance difference from keeping the copy in system memory. Our cbuffers are probably too small for it to matter anyway. See also: https://crbug.com/593024 Fixes #5293
Diffstat (limited to 'player')
0 files changed, 0 insertions, 0 deletions