rsx/gl/vk: Enable use of native PCF shadows

This commit is contained in:
kd-11 2017-06-12 12:42:30 +03:00
parent 5f66d0b996
commit 6a9eef0382
9 changed files with 51 additions and 16 deletions

View file

@ -125,6 +125,8 @@ void VKFragmentDecompilerThread::insertConstants(std::stringstream & OS)
if (m_prog.unnormalized_coords & (1 << index))
samplerType = "sampler2DRect";
else if (m_prog.shadow_textures & (1 << index))
samplerType = "sampler2DShadow";
vk::glsl::program_input in;
in.location = location;