This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit fb7700636cb747db7ca5fe3177a7324a656e7b69
Author:     Lynne <[email protected]>
AuthorDate: Fri Feb 13 12:33:10 2026 +0100
Commit:     Lynne <[email protected]>
CommitDate: Thu Feb 19 19:42:34 2026 +0100

    vulkan/ffv1: synchronize before/after RCT transform/preload
---
 libavcodec/vulkan/ffv1_dec.comp.glsl | 3 +++
 libavcodec/vulkan/ffv1_enc.comp.glsl | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/libavcodec/vulkan/ffv1_dec.comp.glsl 
b/libavcodec/vulkan/ffv1_dec.comp.glsl
index 9ceaf89d37..842cb8d51a 100644
--- a/libavcodec/vulkan/ffv1_dec.comp.glsl
+++ b/libavcodec/vulkan/ffv1_dec.comp.glsl
@@ -246,6 +246,9 @@ ivec4 transform_sample(ivec4 pix, ivec2 rct_coef)
 
 void writeout_rgb(in SliceContext sc, ivec2 sp, int w, int y, bool apply_rct)
 {
+    memoryBarrierImage();
+    barrier();
+
     for (uint x = gl_LocalInvocationID.x; x < w; x += gl_WorkGroupSize.x) {
         ivec2 lpos = sp + LADDR(ivec2(x, y));
         ivec2 pos = sc.slice_pos + ivec2(x, y);
diff --git a/libavcodec/vulkan/ffv1_enc.comp.glsl 
b/libavcodec/vulkan/ffv1_enc.comp.glsl
index f26dbf0bb1..6a42747e84 100644
--- a/libavcodec/vulkan/ffv1_enc.comp.glsl
+++ b/libavcodec/vulkan/ffv1_enc.comp.glsl
@@ -246,6 +246,9 @@ void preload_rgb(in SliceContext sc, ivec2 sp, int w, int 
y, bool apply_rct)
 
         imageStore(tmp, lpos, pix);
     }
+
+    memoryBarrierImage();
+    barrier();
 }
 #endif
 

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to