mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
rsx/gl/vk: Enable use of native PCF shadows
This commit is contained in:
parent
5f66d0b996
commit
6a9eef0382
9 changed files with 51 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue