summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/PixelEngine.cpp
diff options
context:
space:
mode:
authorConnor McLaughlin <stenzek@gmail.com>2021-05-29 16:50:33 +1000
committerStenzek <stenzek@gmail.com>2021-05-29 16:57:40 +1000
commit6393f157f0c2bb89b93cde43fc5d8b07fd0c7719 (patch)
tree2c4d446f1f9be752c8fc4a8f8a042c2772d719d1 /Source/Core/VideoCommon/PixelEngine.cpp
parent7b2b05cc219c1591ab328fefabd9435aff748c08 (diff)
OGL: Force memory barrier when reading back bounding box values
We also need to ensure the the CPU does not receive stale values which have been updated by the GPU. Apparently the buffer here is not coherent on NVIDIA drivers. Not sure if this is a driver bug/spec violation or not, one would think that glGetBufferSubData() would invalidate any caches as needed, but this path is only used on NVIDIA anyway, so it's fine. A point to note is that according to ARB_debug_report, it's moved from video to host memory, which would explain why it needs the cache invalidate.
Diffstat (limited to 'Source/Core/VideoCommon/PixelEngine.cpp')
0 files changed, 0 insertions, 0 deletions