History

vulkan: fix layout qualifiers for 32-bit RGBA float storage reps

r8 r16/r16f r32f Sure, GLSL. Makes sense.

Lynne committed 2 years ago

Commit 0e19b051 parent 8c47cf91 file · +2 −2Browse files

Unified · Split

libavutil/vulkan.c+2−2
@@ -1335,8 +1335,8 @@ const char *ff_vk_shader_rep_fmt(enum AVPixelFormat pix_fmt, · 1334 unmodified lines
1335 case AV_PIX_FMT_RGBF32:1335 case AV_PIX_FMT_RGBF32:
1336 case AV_PIX_FMT_RGBAF32: {1336 case AV_PIX_FMT_RGBAF32: {
1337 const char *rep_tab[] = {1337 const char *rep_tab[] = {
1338 [FF_VK_REP_NATIVE] = "rgba32",1338 [FF_VK_REP_NATIVE] = "rgba32f",
1339 [FF_VK_REP_FLOAT] = "rgba32",1339 [FF_VK_REP_FLOAT] = "rgba32f",
1340 [FF_VK_REP_INT] = "rgba32i",1340 [FF_VK_REP_INT] = "rgba32i",
1341 [FF_VK_REP_UINT] = "rgba32ui",1341 [FF_VK_REP_UINT] = "rgba32ui",
1342 };1342 };

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