Merge pull request #5296 from stenzek/vulkan-postprocessing

Vulkan: Implement support for post-processing
This commit is contained in:
Stenzek
2017-04-28 22:50:14 +10:00
committed by GitHub
21 changed files with 473 additions and 120 deletions

View File

@ -1253,9 +1253,10 @@ void VideoConfigDiag::CreateDescriptionArea(wxPanel* const page, wxBoxSizer* con
void VideoConfigDiag::PopulatePostProcessingShaders()
{
std::vector<std::string>& shaders = (vconfig.iStereoMode == STEREO_ANAGLYPH) ?
vconfig.backend_info.AnaglyphShaders :
vconfig.backend_info.PPShaders;
std::vector<std::string> shaders =
vconfig.iStereoMode == STEREO_ANAGLYPH ?
PostProcessingShaderImplementation::GetAnaglyphShaderList(vconfig.backend_info.api_type) :
PostProcessingShaderImplementation::GetShaderList(vconfig.backend_info.api_type);
if (shaders.empty())
return;