mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
gl: sampler2d are constants
This commit is contained in:
parent
ca90c05b0a
commit
c3e19f34fa
1 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,8 @@ void GLFragmentProgram::Decompile(RSXFragmentProgram& prog)
|
|||
{
|
||||
for (const ParamItem PI : PT.items)
|
||||
{
|
||||
if (PT.type == "sampler2D")
|
||||
continue;
|
||||
size_t offset = atoi(PI.name.c_str() + 2);
|
||||
FragmentConstantOffsetCache.push_back(offset);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue