diff options
author | IndecisiveTurtle <geoster3d@gmail.com> | 2024-11-27 21:18:06 +0200 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2024-11-28 09:31:43 +0900 |
commit | e3ac63b213dedb69412aa53f473d48d4b069ca59 (patch) | |
tree | 61aa4e2c597379d7c63925975e8f6aec3f949597 /libswresample/dither_template.c | |
parent | f794ed48c09cfb31611cb4fe4bf7df32339f12eb (diff) | |
download | ffmpeg-e3ac63b213dedb69412aa53f473d48d4b069ca59.tar.gz |
vulkan/common: Use u32vec2 buffer type instead of u64
According to the GL_EXT_buffer_reference spec alignment
"must be a power of two and be greater than or equal to the largest scalar/component type in the block."
This means by using u32vec2 we can drop the requirement alignment from 8 bytes to 4 bytes
and save a pack64 call in reverse8 (though I assume in most ISAs that compiles to nothing)
Allows the vc2 vulkan encoder to function without setting PB_UNALIGNED
Diffstat (limited to 'libswresample/dither_template.c')
0 files changed, 0 insertions, 0 deletions