dolphin/Source/Core/VideoBackends/Software
Scott Mansell b8695a57da Fix incorrect clamping in SWRenderer.
A previous PR changed a whole lot of min/maxes to std::min/std::max
but made a mistake here and used a templated min which cast it's
arguments to unsigned instead of casting return value.

This resulted in glitchy artifacts in bright areas (See issue 7439)

I rewrote the code to use a proper clamping function so it's cleaner
to read.
2014-07-15 21:15:49 +12:00
..
BPMemLoader.cpp
BPMemLoader.h
Clipper.cpp mark all local variables as static 2014-07-11 16:10:20 +02:00
Clipper.h
CMakeLists.txt
CPMemLoader.cpp
CPMemLoader.h
DebugUtil.cpp avoid the extern keyword in .cpp files 2014-07-11 16:10:20 +02:00
DebugUtil.h
EfbCopy.cpp avoid the extern keyword in .cpp files 2014-07-11 16:10:20 +02:00
EfbCopy.h
EfbInterface.cpp mark all local variables as static 2014-07-11 16:10:20 +02:00
EfbInterface.h
HwRasterizer.cpp mark all local variables as static 2014-07-11 16:10:20 +02:00
HwRasterizer.h
NativeVertexFormat.h
OpcodeDecoder.cpp avoid the extern keyword in .cpp files 2014-07-11 16:10:20 +02:00
OpcodeDecoder.h
RasterFont.cpp
RasterFont.h
Rasterizer.cpp mark all local variables as static 2014-07-11 16:10:20 +02:00
Rasterizer.h
SetupUnit.cpp
SetupUnit.h
Software.vcxproj
stdafx.cpp
stdafx.h
SWCommandProcessor.cpp remove unused globals 2014-07-11 16:10:20 +02:00
SWCommandProcessor.h remove unused globals 2014-07-11 16:10:20 +02:00
SWmain.cpp Fix warnings unearthed by #579 2014-07-13 02:16:51 +02:00
SWRenderer.cpp Fix incorrect clamping in SWRenderer. 2014-07-15 21:15:49 +12:00
SWRenderer.h
SWStatistics.cpp
SWStatistics.h
SWVertexLoader.cpp avoid the extern keyword in .cpp files 2014-07-11 16:10:20 +02:00
SWVertexLoader.h
SWVideoConfig.cpp
SWVideoConfig.h
Tev.cpp
Tev.h
TextureEncoder.cpp mark all local functions as static 2014-07-11 16:07:23 +02:00
TextureEncoder.h
TextureSampler.cpp
TextureSampler.h
TransformUnit.cpp mark all local functions as static 2014-07-11 16:07:23 +02:00
TransformUnit.h
Vec3.h
VideoBackend.h
VideoConfigDialog.cpp
VideoConfigDialog.h
XFMemLoader.cpp
XFMemLoader.h