dolphin/Source/Core/VideoCommon
Emmanuel Gil Peyrot 1b32751367 VideoCommon: Round values in swizzlers.
This was breaking Metroid Prime 2: Echoes’s scanner in some rooms, such
as the one in https://fifoci.dolphin-emu.org/dff/mp2-scanner/

It was found on Ivy Bridge on Mesa, the alpha value read back from the
EFB was off-by-4 in multiple objects, which was a conversion error
because int4() is equivalent to floor() and the value wasn’t always
higher.
2017-08-07 20:20:36 +02:00
..
AbstractTexture.cpp HiresTextures: Support loading BC7 (BPTC) from DDS files 2017-08-01 11:59:38 +10:00
AbstractTexture.h AbstractTexture: Return config by const reference 2017-06-18 23:38:42 -04:00
AsyncRequests.cpp VideoCommon: Eliminate static state in Renderer 2017-03-04 16:39:50 +10:00
AsyncRequests.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
AsyncShaderCompiler.cpp VideoBackends: Support a different number of threads for precompiling 2017-07-30 17:43:59 +10:00
AsyncShaderCompiler.h VideoBackends: Support a different number of threads for precompiling 2017-07-30 17:43:59 +10:00
AVIDump.cpp do not assign in conditional statements 2017-06-07 20:09:44 -07:00
AVIDump.h MSVC: define HAVE_FFMPEG 2017-05-26 00:53:58 -07:00
BoundingBox.cpp
BoundingBox.h
BPFunctions.cpp VideoCommon: Drop SetDitherMode() 2017-04-18 21:55:22 +10:00
BPFunctions.h VideoCommon: Drop SetDitherMode() 2017-04-18 21:55:22 +10:00
BPMemory.cpp BPMemory: Convert a number of unions to BitFields 2017-07-30 17:43:59 +10:00
BPMemory.h Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
BPStructs.cpp Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
BPStructs.h
CMakeLists.txt ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
CommandProcessor.cpp CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
CommandProcessor.h CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
ConstantManager.h Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
CPMemory.cpp
CPMemory.h specify custom brace style to fix unions 2017-01-05 12:55:13 +01:00
DataReader.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
Debugger.cpp
Debugger.h
DriverDetails.cpp OGL: Uber shader support 2017-07-30 17:43:59 +10:00
DriverDetails.h OGL: Uber shader support 2017-07-30 17:43:59 +10:00
Fifo.cpp Change "blocking" BlockingLoop::Stop to give up and die after a timeout. 2017-06-25 20:47:30 -07:00
Fifo.h Fifo: const correctness 2017-03-26 23:08:33 -04:00
FPSCounter.cpp VideoCommon: Improve precision of FPS counter 2017-07-30 12:38:48 +10:00
FPSCounter.h VideoCommon: Improve precision of FPS counter 2017-07-30 12:38:48 +10:00
FramebufferManagerBase.cpp VideoCommon: Fix crash at startup with virtual XFB enabled 2017-03-09 23:39:48 +10:00
FramebufferManagerBase.h VideoCommon: Fix crash at startup with virtual XFB enabled 2017-03-09 23:39:48 +10:00
GeometryShaderGen.cpp GeometryShaderGen: Add UID enumeration functions 2017-07-30 17:43:59 +10:00
GeometryShaderGen.h GeometryShaderGen: Add UID enumeration functions 2017-07-30 17:43:59 +10:00
GeometryShaderManager.cpp
GeometryShaderManager.h
HiresTextures_DDSLoader.cpp HiresTextures: Support loading BC7 (BPTC) from DDS files 2017-08-01 11:59:38 +10:00
HiresTextures.cpp Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
HiresTextures.h Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
ImageWrite.cpp Add a namespace to OpenFStream 2017-06-15 21:34:04 +02:00
ImageWrite.h
IndexGenerator.cpp fix various instances of -1 being assigned to unsigned types 2017-06-07 19:52:07 -07:00
IndexGenerator.h
LightingShaderGen.cpp ShaderGenCommon: Remove unnecessary includes 2017-02-01 12:19:55 -05:00
LightingShaderGen.h LightingShaderGen: Remove unnecessary includes 2017-02-01 01:06:00 -05:00
LookUpTables.h
MainBase.cpp VideoCommon: Move WM_USER_CREATE message to after backend initialization 2017-07-30 17:43:59 +10:00
NativeVertexFormat.h NativeVertexFormat: Drop unused virtual method SetupVertexPointers 2017-07-30 17:43:59 +10:00
OnScreenDisplay.cpp
OnScreenDisplay.h
OpcodeDecoding.cpp CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
OpcodeDecoding.h OpcodeDecoding: Convert #defines into enum constants 2017-02-08 00:05:17 -05:00
PerfQueryBase.cpp
PerfQueryBase.h
PixelEngine.cpp ShaderGen: Implement pixel ubershaders 2017-07-30 17:43:59 +10:00
PixelEngine.h PixelEngine: Move enum constants into the PixelEngine namespace 2017-02-28 07:01:50 -05:00
PixelShaderGen.cpp Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
PixelShaderGen.h Ubershaders: Support per-pixel lighting 2017-07-30 17:43:59 +10:00
PixelShaderManager.cpp Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
PixelShaderManager.h Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
PostProcessing.cpp replace DoFileSearch with optimized version 2017-06-23 17:25:53 -07:00
PostProcessing.h VideoConfigDiag: Move post-processing shader list to post processor 2017-04-25 14:27:05 +10:00
RenderBase.cpp VideoCommon: Improve precision of FPS counter 2017-07-30 12:38:48 +10:00
RenderBase.h ShaderGen: Pass host config to shader generation functions 2017-07-20 17:54:33 +10:00
RenderState.cpp OGL: Drop BlendingState.dither 2017-04-18 21:55:23 +10:00
RenderState.h OGL: Drop BlendingState.dither 2017-04-18 21:55:23 +10:00
SamplerCommon.h
sfont.inc
ShaderGenCommon.cpp ShaderGen: Implement pixel ubershaders 2017-07-30 17:43:59 +10:00
ShaderGenCommon.h ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
Statistics.cpp VertexLoaderManager: Return debug strings by value 2017-03-26 23:50:09 -04:00
Statistics.h
TextureCacheBase.cpp Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureCacheBase.h Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureConfig.cpp Video Backends: Split texture cache code out into separate files, introduce 'AbstractTexture' 2017-06-13 00:41:51 -05:00
TextureConfig.h HiresTextures: Support loading BC7 (BPTC) from DDS files 2017-08-01 11:59:38 +10:00
TextureConversionShader.cpp VideoCommon: Round values in swizzlers. 2017-08-07 20:20:36 +02:00
TextureConversionShader.h Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureDecoder_Common.cpp Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureDecoder_Generic.cpp Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureDecoder_Util.h TextureDecoder: Deduplicate some utility code 2017-01-15 20:23:26 +11:00
TextureDecoder_x64.cpp Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
TextureDecoder.h Video: Clearly separate Texture and EFB Copy formats 2017-08-03 18:35:29 -07:00
UberShaderCommon.cpp Ubershaders: Support per-pixel lighting 2017-07-30 17:43:59 +10:00
UberShaderCommon.h Ubershaders: Support per-pixel lighting 2017-07-30 17:43:59 +10:00
UberShaderPixel.cpp Ubershaders: Fix 6-bit color truncation not being applied 2017-08-01 00:01:09 +10:00
UberShaderPixel.h ShaderGen: Implement pixel ubershaders 2017-07-30 17:43:59 +10:00
UberShaderVertex.cpp Ubershaders: Support per-pixel lighting 2017-07-30 17:43:59 +10:00
UberShaderVertex.h ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
VertexLoader_Color.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Color.h
VertexLoader_Normal.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Normal.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Position.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_Position.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_TextCoord.cpp Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader_TextCoord.h Common: Move byte swapping utilities into their own header 2017-03-03 17:18:18 -05:00
VertexLoader.cpp
VertexLoader.h
VertexLoaderARM64.cpp
VertexLoaderARM64.h
VertexLoaderBase.cpp VertexLoaderBase: Return debug strings by value 2017-03-26 23:49:59 -04:00
VertexLoaderBase.h fix various instances of -1 being assigned to unsigned types 2017-06-07 19:52:07 -07:00
VertexLoaderManager.cpp Vulkan: Uber shader support 2017-07-30 17:43:59 +10:00
VertexLoaderManager.h Vulkan: Uber shader support 2017-07-30 17:43:59 +10:00
VertexLoaderUtils.h
VertexLoaderX64.cpp Remove code for only allocating low memory 2017-05-20 09:35:53 +02:00
VertexLoaderX64.h
VertexManagerBase.cpp XFMemory: Convert several registers to bitfields 2017-07-30 17:43:59 +10:00
VertexManagerBase.h VideoCommon: rework anamorphic widescreen heuristic 2017-04-05 17:23:16 -07:00
VertexShaderGen.cpp ShaderGen: Use consistent variable names for texture coordinates 2017-07-30 17:43:59 +10:00
VertexShaderGen.h ShaderGen: Pass host config to shader generation functions 2017-07-20 17:54:33 +10:00
VertexShaderManager.cpp ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
VertexShaderManager.h ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
VideoBackendBase.cpp Remove D3D12 2017-05-18 17:01:12 -07:00
VideoBackendBase.h CommandProcessor: Limit scope of ugly SCPFifoStruct. 2017-01-27 19:04:56 +01:00
VideoCommon.h Video Backends: Move and rename HostTextureFormat to AbstractTextureFormat 2017-06-13 00:41:56 -05:00
VideoCommon.vcxproj ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
VideoCommon.vcxproj.filters ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
VideoConfig.cpp Merge pull request #5834 from stenzek/bc7 2017-08-01 12:39:19 +10:00
VideoConfig.h Merge pull request #5834 from stenzek/bc7 2017-08-01 12:39:19 +10:00
VideoState.cpp
VideoState.h
XFMemory.cpp
XFMemory.h XFMemory: Convert several registers to bitfields 2017-07-30 17:43:59 +10:00
XFStructs.cpp ShaderGen: Implement vertex ubershaders 2017-07-30 17:43:59 +10:00
XFStructs.h