Emulator Issues #11758
openPostProcessing: No way to load in custom vertex shader despite framework in place
0%
Description
Hello!
I would like to write a vertex shader that selectively applies to the HUD in a game (Pokemon XD, to be exact). It seems that all of the framework to compile and load in a custom vertex shader exists in PostProcessing::CompileVertexShader()
(https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/VideoCommon/PostProcessing.cpp#L582), but there is no way to actually interact with it.
There should be another function like PostProcessingConfiguration::LoadShader()
(https://github.com/dolphin-emu/dolphin/blob/master/Source/Core/VideoCommon/PostProcessing.cpp#L37) to load in a vertex shader. Additionally, that would most likely require corresponding m_current_vertex_shader
and m_current_vertex_shader_code
variables.
This applies to the newest HEAD available on GitHub. I'm specifically running 5.0-10432.