summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/GeometryShaderGen.cpp
diff options
context:
space:
mode:
authorRyan Houdek <Sonicadvance1@gmail.com>2015-06-09 17:43:25 -0500
committerRyan Houdek <Sonicadvance1@gmail.com>2015-06-09 18:11:27 -0500
commit113c2dcd746d783c419b1767862376eb3d8e3ccf (patch)
tree2ce7448ea9d5b698b0d1d4f6001d86aa9574fd98 /Source/Core/VideoCommon/GeometryShaderGen.cpp
parent3d2b116323eec683fec7b7644735a1ee065e6de6 (diff)
[AArch64] Clamp quantized store ranges.
Fixes block dots in THP videos. Nintendo's THP video uses paired U8 stores to write their THP videos after decoding with floating point operations. Paired stores clamp the range to the minimum and maximum values(0 - 255 in this case). In some instances the resulting float will be larger than what a U8 can fit(Typically white) and results in black dots due to how AArch64 handles quantizing.
Diffstat (limited to 'Source/Core/VideoCommon/GeometryShaderGen.cpp')
0 files changed, 0 insertions, 0 deletions