dolphin/Source/Core/VideoCommon
Stenzek 617f9d9532 ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode
This fixes the crashes occuring at startup with a non-empty shader cache.
Because LinearDiskCache reads/writes to the storage of ShaderUid, ShaderUid must be trivially copyable.
Additionally, adds a static assert to LinearDiskCache to ensure this doesn't happen in the future.

The initialization of ShaderUid data has been moved to the code generation functions, so the above condition holds true.
2016-01-02 17:35:06 +10:00
..
AsyncRequests.cpp VideoCommon: Change PokeEFB to take a pointer rather than a vector 2015-12-20 14:42:14 +10:00
AsyncRequests.h Merge pull request #2357 from degasus/ogl_efb_poke_merge 2015-05-25 23:26:39 -04:00
AVIDump.cpp AVIDump: fix -Wsign-compare warning 2015-08-21 10:26:35 +02:00
AVIDump.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BoundingBox.cpp BoundingBox: Remove unnecessary headers 2015-09-24 03:19:43 -04:00
BoundingBox.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
BPFunctions.cpp VideoCommon: VertexManager -> VertexManagerBase 2015-11-02 11:53:54 +01:00
BPFunctions.h Cleanup and unify handling of efb copy stride. 2015-09-05 23:37:24 +12:00
BPMemory.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BPMemory.h Rasterizer: Mark some references as const 2015-12-06 02:51:36 -05:00
BPStructs.cpp VideoCommon: rename TextureCache to TextureCacheBase 2015-11-06 15:43:58 +01:00
BPStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
CMakeLists.txt VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
CommandProcessor.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
CommandProcessor.h CommandProcessor: Remove unused extern 2015-09-24 11:35:46 -04:00
ConstantManager.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
CPMemory.cpp ChunkFile: Provide additional helpers for C-style arrays 2015-09-30 19:45:46 -04:00
CPMemory.h Add a dirty flag for arraybases. 2015-05-30 04:39:48 +12:00
DataReader.h DataReader: Get rid of pointer casts 2015-08-27 13:43:04 -04:00
Debugger.cpp VideoCommon: Drop "Disable destAlpha" hack 2015-09-09 21:31:54 +02:00
Debugger.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
DriverDetails.cpp Add a comment to DriverDetails about Qualcomm failing our alpha tests. 2015-12-31 10:14:14 -06:00
DriverDetails.h Add a comment to DriverDetails about Qualcomm failing our alpha tests. 2015-12-31 10:14:14 -06:00
Fifo.cpp Fifo: Convert define into constant 2015-12-25 16:07:04 -05:00
Fifo.h Fifo: Convert define into constant 2015-12-25 16:07:04 -05:00
FPSCounter.cpp FPSCounter: Change Update's return type to void 2015-09-29 10:01:37 -04:00
FPSCounter.h FPSCounter: Change Update's return type to void 2015-09-29 10:01:37 -04:00
FramebufferManagerBase.cpp Render: Get rid of explicit new and delete 2015-12-22 19:10:05 -05:00
FramebufferManagerBase.h Render: Get rid of explicit new and delete 2015-12-22 19:10:05 -05:00
GeometryShaderGen.cpp ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode 2016-01-02 17:35:06 +10:00
GeometryShaderGen.h VideoCommon: return code/uid from shader gens 2015-11-03 14:40:23 +01:00
GeometryShaderManager.cpp VideoConfig: Change convergence setting to percentage value. 2015-12-13 22:58:16 +01:00
GeometryShaderManager.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
HiresTextures.cpp HiresTextures: Remove the need to explicitly free SOIL allocated data 2015-12-29 08:40:17 -05:00
HiresTextures.h HiresTextures: Remove the need to explicitly free SOIL allocated data 2015-12-29 08:40:17 -05:00
ImageWrite.cpp ShaderGeneration: Get rid of static buffers 2015-12-26 17:01:54 -05:00
ImageWrite.h ShaderGeneration: Get rid of static buffers 2015-12-26 17:01:54 -05:00
IndexGenerator.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
IndexGenerator.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
LightingShaderGen.h Revert "ShaderGen: Toggle value of uninitialized color." 2015-12-27 02:28:29 +13:00
LookUpTables.h LookUpTables: Make functions constexpr 2015-09-12 03:04:40 -04:00
MainBase.cpp VideoCommon: rename TextureCache to TextureCacheBase 2015-11-06 15:43:58 +01:00
MainBase.h Add missing license headers 2015-05-25 13:11:47 +02:00
NativeVertexFormat.h NativeVertexFormat: Inline Initialize in contructor 2015-11-24 22:48:49 +01:00
OnScreenDisplay.cpp Use emplace() instead of insert() where applicable for maps. 2015-06-28 19:52:40 -04:00
OnScreenDisplay.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
OpcodeDecoding.cpp Mark more strings for translation 2015-11-20 11:33:47 +01:00
OpcodeDecoding.h FifoRecorder: Use Video Common to record efb2ram correctly. 2015-09-22 23:59:16 +12:00
PerfQueryBase.cpp VideoBackends: Simplify initialization and deinitialization of resources 2015-12-20 22:40:37 -05:00
PerfQueryBase.h VideoBackends: Simplify initialization and deinitialization of resources 2015-12-20 22:40:37 -05:00
PixelEngine.cpp Options: merge SCoreStartupParameter into SConfig 2015-06-12 19:07:45 +02:00
PixelEngine.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PixelShaderGen.cpp ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode 2016-01-02 17:35:06 +10:00
PixelShaderGen.h VideoCommon: return code/uid from shader gens 2015-11-03 14:40:23 +01:00
PixelShaderManager.cpp VideoBackends: Allow the viewport to use the full depth range. 2015-06-06 03:37:46 +02:00
PixelShaderManager.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
PostProcessing.cpp Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
PostProcessing.h Pass strings by const reference where possible 2015-05-28 20:54:55 -04:00
RenderBase.cpp Merge pull request #3361 from stenzek/d3d-vectored-efb-pokes 2015-12-30 15:27:24 +01:00
RenderBase.h Merge pull request #3361 from stenzek/d3d-vectored-efb-pokes 2015-12-30 15:27:24 +01:00
sfont.inc Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
ShaderGenCommon.h ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode 2016-01-02 17:35:06 +10:00
Statistics.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Statistics.h Remove the "Show EFB Copy Regions" debug option. 2015-11-05 18:15:46 +13:00
TextureCacheBase.cpp Merge pull request #3407 from phire/fix_assert 2015-12-29 20:58:24 +01:00
TextureCacheBase.h TextureCache, fix an incorrect assert. 2015-12-29 14:25:31 +13:00
TextureConversionShader.cpp Move common EFB copy code into VideoCommon 2015-09-06 21:16:51 +12:00
TextureConversionShader.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_Common.cpp Fix lens flares in Mario Kart Wii. 2015-12-01 05:25:38 +13:00
TextureDecoder_Generic.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
TextureDecoder_x64.cpp TextureDecoder_x64: Remove unnecessary commented out header 2015-09-29 11:04:00 -04:00
TextureDecoder.h Fix lens flares in Mario Kart Wii. 2015-12-01 05:25:38 +13:00
VertexLoader_Color.cpp VertexLoaderUtils: remove simple wrapper functions 2015-10-11 23:40:50 +02:00
VertexLoader_Color.h VertexLoader: Remove the LOADERDECL define. 2015-06-20 20:52:54 -04:00
VertexLoader_Normal.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_Normal.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
VertexLoader_Position.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_Position.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
VertexLoader_TextCoord.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
VertexLoader_TextCoord.h General: Remove unimplemented function prototypes 2015-09-05 22:01:07 -04:00
VertexLoader.cpp VertexLoaderUtils: remove simple wrapper functions 2015-10-11 23:40:50 +02:00
VertexLoader.h VertexLoader: Remove the LOADERDECL define. 2015-06-20 20:52:54 -04:00
VertexLoaderARM64.cpp General: Replace GC_ALIGN macros with alignas 2015-09-06 12:53:51 -04:00
VertexLoaderARM64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexLoaderBase.cpp VertexLoaderBase: Get rid of explicit delete and new 2015-12-22 20:09:54 -05:00
VertexLoaderBase.h VertexLoaderBase: Get rid of explicit delete and new 2015-12-22 20:09:54 -05:00
VertexLoaderManager.cpp VertexLoaderBase: Get rid of explicit delete and new 2015-12-22 20:09:54 -05:00
VertexLoaderManager.h VideoCommon: flush vertex manager if components change 2015-11-01 22:39:31 +01:00
VertexLoaderUtils.h VertexLoaderUtils: remove simple wrapper functions 2015-10-11 23:40:50 +02:00
VertexLoaderX64.cpp VertexLoaderX64: optimize more color swizzles 2015-10-25 14:51:07 +01:00
VertexLoaderX64.h Merge pull request #2274 from degasus/disable_bbox 2015-05-25 08:46:12 -04:00
VertexManagerBase.cpp VideoBackends: Simplify initialization and deinitialization of resources 2015-12-20 22:40:37 -05:00
VertexManagerBase.h VideoBackends: Simplify initialization and deinitialization of resources 2015-12-20 22:40:37 -05:00
VertexShaderGen.cpp ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode 2016-01-02 17:35:06 +10:00
VertexShaderGen.h VideoCommon: return code/uid from shader gens 2015-11-03 14:40:23 +01:00
VertexShaderManager.cpp VideoCommon: VertexManager -> VertexManagerBase 2015-11-02 11:53:54 +01:00
VertexShaderManager.h VertexShaderManager: Remove unused parameter 2015-08-16 21:07:10 -04:00
VideoBackendBase.cpp VideoBackendBase: Remove check for XP. 2015-09-19 07:10:44 +12:00
VideoBackendBase.h Revert "Merge pull request #3076 from void-ghost/stereo3d_presets" 2015-12-23 00:35:19 +01:00
VideoCommon.h FifoRecorder: Use Video Common to record efb2ram correctly. 2015-09-22 23:59:16 +12:00
VideoCommon.vcxproj [windows] Update projects to vs2015. 2015-09-03 04:23:01 -07:00
VideoCommon.vcxproj.filters VideoCommon: use a new async event system for efb access 2015-02-22 08:41:15 +01:00
VideoConfig.cpp Merge pull request #3381 from Armada651/revert-3076 2015-12-28 10:18:32 +01:00
VideoConfig.h Revert "Merge pull request #3076 from void-ghost/stereo3d_presets" 2015-12-23 00:35:19 +01:00
VideoState.cpp VideoCommon: VertexManager -> VertexManagerBase 2015-11-02 11:53:54 +01:00
VideoState.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
XFMemory.cpp Fix building with PCH disabled. 2015-08-28 14:13:28 -05:00
XFMemory.h VertexShaderManager: Get rid of float pointer casts 2015-10-15 23:34:54 -04:00
XFStructs.cpp XFMem: Don't warn on writes of zero to unknown registers. 2015-11-08 14:59:55 +13:00
XFStructs.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00