mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12: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)
|
for (const ParamItem PI : PT.items)
|
||||||
{
|
{
|
||||||
|
if (PT.type == "sampler2D")
|
||||||
|
continue;
|
||||||
size_t offset = atoi(PI.name.c_str() + 2);
|
size_t offset = atoi(PI.name.c_str() + 2);
|
||||||
FragmentConstantOffsetCache.push_back(offset);
|
FragmentConstantOffsetCache.push_back(offset);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue