0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out/gpu
James Ross-Gowan 8020a62953 vo_gpu: export the GLSL format qualifier for ra_format
Backported from @haasn's change to libplacebo, except in the current RA,
there's nothing to indicate an ra_format can be bound as a storage
image, so there's no way to force all of these formats to have a
glsl_format. Instead, the layout qualifier will be removed if
glsl_format is NULL.

This is needed for the upcoming ra_d3d11 backend. In Direct3D 11, while
loading float values from unorm images often works as expected, it's
technically undefined behaviour, and in Windows 10, it will cause the
debug layer to spam the log with error messages. Also, apparently in
GLSL, the format name must match the image's format exactly (but in
Direct3D, it just has to have the same component type.)
2017-11-07 20:27:13 +11:00
..
context.c vo_gpu: semi-fix --gpu-context/--gpu-api options and help output 2017-10-16 10:57:51 +02:00
context.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
hwdec.c vo_gpu: remove a redundant ifdef 2017-10-30 18:35:33 +01:00
hwdec.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
lcms.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
lcms.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
osd.c vo_gpu: osd: simplify some code 2017-10-27 14:19:57 +02:00
osd.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
ra.c vo_gpu: export the GLSL format qualifier for ra_format 2017-11-07 20:27:13 +11:00
ra.h vo_gpu: export the GLSL format qualifier for ra_format 2017-11-07 20:27:13 +11:00
shader_cache.c vo_gpu: export the GLSL format qualifier for ra_format 2017-11-07 20:27:13 +11:00
shader_cache.h vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
spirv_shaderc.c vo_gpu: shaderc: include debug info when --gpu-debug is set 2017-10-11 12:22:21 +11:00
spirv.c vo_gpu: fix memleak in spirv.c 2017-09-26 17:32:36 +02:00
spirv.h vo_gpu: vulkan: generalize SPIR-V compiler 2017-09-26 17:25:35 +02:00
user_shaders.c vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
user_shaders.h vo_gpu: make the vertex attribs dynamic 2017-09-28 01:54:38 +02:00
utils.c vo_gpu: fix ra_tex_upload_pbo for 2D textures 2017-10-27 16:56:23 +02:00
utils.h vo_gpu: simplify structs / names 2017-09-22 16:58:55 +02:00
video_shaders.c vo_gpu: fix mobius tone mapping compatibility to GLSL 120 2017-11-03 11:53:17 +01:00
video_shaders.h vo_opengl: refactor into vo_gpu 2017-09-21 15:00:55 +02:00
video.c vo_gpu: don't re-render hwdec frames when repeating frames 2017-11-03 15:11:56 +01:00
video.h vo_gpu: fix video sometimes not being rerendered on equalizer change 2017-10-17 09:07:35 +02:00