History

vulkan_ffv1: fix PCM + cached symbol reader

writeout_rgb requires that all subgroups are active.

Lynne committed 1 year ago

Commit a24ea371 parent f69db911 file · +5 −2Browse files

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/vulkan/ffv1_dec.comp+5−2
@@ -56,6 +56,11 @@ int get_isymbol(inout RangeCoder c, uint state_off) · 55 unmodified lines
5656
5757 void decode_line_pcm(inout SliceContext sc, ivec2 sp, int w, int y, int p, int bits)
5858 {
59+#ifdef CACHED_SYMBOL_READER
60+ if (gl_LocalInvocationID.x > 0)
61+ return;
62+#endif
63+
5964 #ifndef RGB
6065 if (p > 0 && p < 3) {
6166 w >>= chroma_shift.x;
@@ -235,8 +240,6 @@ void decode_slice(inout SliceContext sc, const uint slice_idx) · 173 unmodified lines
235240 /* PCM coding */
236241 #ifndef GOLOMB
237242 if (sc.slice_coding_mode == 1) {
238− if (gl_LocalInvocationID.x > 0)
239− return;
240243 #ifndef RGB
241244 for (int p = 0; p < planes; p++) {
242245 int h = sc.slice_dim.y;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t