summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/spirv.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-09-24 16:09:24 +0200
committerNiklas Haas <git@haasn.xyz>2017-09-26 17:25:46 +0200
commita4e951e80c9a23c5a2bfcec44798c22e6d6b44ca (patch)
treeedb603c245564cfe637ad91e9e0a693965bd4326 /video/out/gpu/spirv.c
parent47af509e1fad3e9ce30e3e339d8cd705fcd44ef2 (diff)
downloadmpv-a4e951e80c9a23c5a2bfcec44798c22e6d6b44ca.tar.bz2
mpv-a4e951e80c9a23c5a2bfcec44798c22e6d6b44ca.tar.xz
vo_gpu: explicitly label storage image formats
This is apparently required to get storage images working on windows/vulkan, and probably good practice either way. Not entirely sure if it's the best idea to be always storing the value as 32-bit float, but it should hardly matter in practice (since we're only writing one sample per thread). (Leaving them implicit requires the shaderStorageImageWriteWithoutFormat feature to be enabled, which the windows nvidia vulkan driver doesn't support, at least not for a GTX 670)
Diffstat (limited to 'video/out/gpu/spirv.c')
0 files changed, 0 insertions, 0 deletions