Page MenuHomeSolus

SPIR-V support for mpv
AbandonedPublic

Authored by YakoYakoYokuYoku on Apr 26 2021, 12:51 PM.
Tags
None
Referenced Files
F11048775: D10928.diff
Thu, Aug 10, 4:58 PM
F10739354: D10928.id26350.diff
May 13 2023, 6:48 PM
F10739193: D10928.diff
May 13 2023, 5:28 PM
F10738935: D10928.id26353.diff
May 13 2023, 3:09 PM
F10724133: D10928.id.diff
May 7 2023, 12:36 PM

Details

Reviewers
None
Group Reviewers
Triage Team
Maniphest Tasks
T9692: empty libraries
Summary

The GLSL compilation is done by the shaderc library, very useful when using in conjunction with Vulkan

Fixes T9692 too.

Signed-off-by: Martin Reboredo <yakoyoku@gmail.com>

Test Plan

Played a test video with a shader (mpv --gpu-api=vulkan --glsl-shader=FSRCNNX_x2_8-0-4-1.glsl --spirv-compiler=shaderc drstone1.mp4).

Diff Detail

Repository
R2107 mpv
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 162
Build 162: arc lint + arc unit

Event Timeline

As I mentioned in #Solus-Dev, this is redundant, since libplacebo-devel depends on shaderc-devel, and the last build of mpv already has this functionality (and pkgconfig(shaderc) is not needed). You can check the build log or rebuild without pkgconfig(shaderc) to be sure :)

This is the commit that we explicitly mention that mpv is gonna support SPIR-V shaders, but this is top secret and don't tell anybody.

JoshStrobl added a subscriber: JoshStrobl.

This isn't necessary and it doesn't fix the issue, because the issue was invalid to begin with. mpv was already rebuild against libplacebo.