diff options
author | James Ross-Gowan <rossy@jrg.systems> | 2017-12-30 19:48:53 +1100 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2018-01-01 20:31:45 +1100 |
commit | 7677c7c32c3ccf0801b63c7a23262c5b121cfbe8 (patch) | |
tree | 16d3f4a29513fbf37c9e2167a13d32b2e2789653 /stream/frequencies.h | |
parent | 4a6bb492151358afa4c5ae22a2497490dbb73e12 (diff) | |
download | mpv-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 'stream/frequencies.h')
0 files changed, 0 insertions, 0 deletions