This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit eb24fb0c7feb4da2e618495973972a580745265b Author: Lynne <[email protected]> AuthorDate: Fri May 15 02:30:08 2026 +0900 Commit: Lynne <[email protected]> CommitDate: Sun May 17 12:02:52 2026 +0900 vulkan/common: fix LOAD64 again duh, gb.buf is incremented in the loop and I missed that. ugh. --- libavcodec/vulkan/common.glsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavcodec/vulkan/common.glsl b/libavcodec/vulkan/common.glsl index 0ff9b45b7d..9f1393bbef 100644 --- a/libavcodec/vulkan/common.glsl +++ b/libavcodec/vulkan/common.glsl @@ -289,7 +289,8 @@ shared u32vec4 gb_storage[gl_WorkGroupSize.x*gl_WorkGroupSize.y*gl_WorkGroupSize gb.bits = 0; \ gb.bits_valid = 0; \ u8buf ptr = u8buf(gb.buf); \ - for (uint i = 0; i < ((4 - uint(gb.buf)) & 3); ++i) { \ + uint prefix = (4 - uint(gb.buf)) & 3; \ + for (uint i = 0; i < prefix; ++i) { \ gb.bits |= uint64_t(ptr[i].v) << (56 - i * 8); \ gb.bits_valid += 8; \ gb.buf += 1; \ _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
