mirror of
https://github.com/libretro/RetroArch
synced 2025-04-18 14:42:30 +00:00
Fix shader regression with MinProgramTexelOffset
This commit is contained in:
parent
eb78b608d3
commit
c2044beedd
@ -290,8 +290,6 @@ SlangProcess::SlangProcess()
|
|||||||
Resources.maxFragmentUniformVectors = value;
|
Resources.maxFragmentUniformVectors = value;
|
||||||
else if (string_is_equal(token, "MaxFragmentInputVectors"))
|
else if (string_is_equal(token, "MaxFragmentInputVectors"))
|
||||||
Resources.maxFragmentInputVectors = value;
|
Resources.maxFragmentInputVectors = value;
|
||||||
else if (string_is_equal(token, "MinProgramTexelOffset"))
|
|
||||||
Resources.minProgramTexelOffset = value;
|
|
||||||
else if (string_is_equal(token, "MaxProgramTexelOffset"))
|
else if (string_is_equal(token, "MaxProgramTexelOffset"))
|
||||||
Resources.maxProgramTexelOffset = value;
|
Resources.maxProgramTexelOffset = value;
|
||||||
else if (string_is_equal(token, "MaxClipDistances"))
|
else if (string_is_equal(token, "MaxClipDistances"))
|
||||||
@ -374,6 +372,8 @@ SlangProcess::SlangProcess()
|
|||||||
else if (string_is_equal(token, "generalConstantMatrixVectorIndexing"))
|
else if (string_is_equal(token, "generalConstantMatrixVectorIndexing"))
|
||||||
Resources.limits.generalConstantMatrixVectorIndexing = (value != 0);
|
Resources.limits.generalConstantMatrixVectorIndexing = (value != 0);
|
||||||
}
|
}
|
||||||
|
else if (string_is_equal(token, "MinProgramTexelOffset"))
|
||||||
|
Resources.minProgramTexelOffset = value;
|
||||||
else if (string_is_equal(token, "nonInductiveForLoops"))
|
else if (string_is_equal(token, "nonInductiveForLoops"))
|
||||||
Resources.limits.nonInductiveForLoops = (value != 0);
|
Resources.limits.nonInductiveForLoops = (value != 0);
|
||||||
else if (string_is_equal(token, "whileLoops"))
|
else if (string_is_equal(token, "whileLoops"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user