summaryrefslogtreecommitdiffstats
path: root/video/out/vulkan/ra_vk.c
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/vulkan/ra_vk.c')
-rw-r--r--video/out/vulkan/ra_vk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/vulkan/ra_vk.c b/video/out/vulkan/ra_vk.c
index a39261f049..58213bd0e9 100644
--- a/video/out/vulkan/ra_vk.c
+++ b/video/out/vulkan/ra_vk.c
@@ -114,6 +114,8 @@ static bool vk_setup_formats(struct ra *ra)
for (int i = 0; i < 4; i++)
fmt->component_size[i] = fmt->component_depth[i] = vk_fmt->bits[i];
+ fmt->glsl_format = ra_fmt_glsl_format(fmt);
+
MP_TARRAY_APPEND(ra, ra->formats, ra->num_formats, fmt);
}