dolphin/Source/Core/Common
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
..
Crypto Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GL Merge pull request #3336 from Sonicadvance1/improve_glextensions 2016-01-01 13:01:51 -05:00
Logging Merge pull request #3126 from phire/remove-logging-lock 2015-12-03 13:32:07 +13:00
Arm64Emitter.cpp Arm64Emitter: Get rid of a pointer cast 2015-10-22 15:32:11 -04:00
Arm64Emitter.h Arm64Emitter: Get rid of a pointer cast 2015-10-22 15:32:11 -04:00
ArmCommon.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
ArmCPUDetect.cpp Including missing headers required for non-pch builds and other architectures 2015-12-22 18:20:48 -06:00
Assert.h Mark more strings for translation 2015-11-20 11:33:47 +01:00
Atomic_GCC.h Fix building with PCH disabled. 2015-09-28 11:51:08 -05:00
Atomic_Win32.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Atomic.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
BitField.h Merge pull request #2738 from lioncash/bitfield 2015-10-03 18:21:24 -07:00
BitField.natvis Correct capitalization of 'Visual Studio' 2015-11-02 17:12:09 +13:00
BitSet.h Bitset: Make bool() operator explicit. 2015-10-04 01:37:32 +13:00
BlockingLoop.h Fifo: Rewrite SyncGpu 2015-06-08 23:16:24 +02:00
BreakPoints.cpp Common: Add null checks when adding and removing breakpoints 2015-06-07 03:03:35 -07:00
BreakPoints.h Fix -Wunused-private-field warning 2015-09-16 23:31:53 +02:00
CDUtils.cpp Fix building with PCH disabled. 2015-09-28 11:51:08 -05:00
CDUtils.h Add missing license headers 2015-05-25 13:11:47 +02:00
ChunkFile.h Wiimote: simplify DoState() parameters 2015-10-11 23:37:34 +02:00
CMakeLists.txt LogManager: Move android logcat code into the proper place. 2015-10-04 02:18:06 +13:00
CodeBlock.h Common: Move asserts to their own header 2015-09-26 18:51:27 -04:00
ColorUtil.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
ColorUtil.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Common.h Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
Common.vcxproj Bitfield: Add .natvis for easier debugging in Visual Studio 2015-10-30 12:30:22 +13:00
Common.vcxproj.filters Bitfield: Add .natvis for easier debugging in Visual Studio 2015-10-30 12:30:22 +13:00
CommonFuncs.h Merge pull request #1474 from phire/DSPHLE_cleanups 2015-11-24 13:33:59 +13:00
CommonPaths.h Add support for sending game memory changes to outside processes 2015-12-29 17:59:16 -08:00
CommonTypes.h Common: drop GEKKO define 2015-06-24 12:13:41 +02:00
CPUDetect.h CPUDetect: Remove a memset call on the this pointer 2015-07-28 23:44:18 -04:00
DebugInterface.h Add missing license headers 2015-05-25 13:11:47 +02:00
ENetUtil.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
ENetUtil.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
Event.h [windows] remove various workarounds which were required for vs2013 2015-09-03 04:39:05 -07:00
FifoQueue.h FifoQueue: Use atomics instead of volatile members 2015-05-26 05:34:47 -04:00
FileSearch.cpp FileSearch: Don't use RegExs, just do string comparisons. 2015-09-27 13:25:51 -04:00
FileSearch.h FileSearch: Don't use RegExs, just do string comparisons. 2015-09-27 13:25:51 -04:00
FileUtil.cpp Add support for sending game memory changes to outside processes 2015-12-29 17:59:16 -08:00
FileUtil.h Add support for sending game memory changes to outside processes 2015-12-29 17:59:16 -08:00
FixedSizeQueue.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
Flag.h [windows] remove various workarounds which were required for vs2013 2015-09-03 04:39:05 -07:00
FPURoundMode.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GekkoDisassembler.cpp Add missing license headers 2015-05-25 13:11:47 +02:00
GekkoDisassembler.h Add missing license headers 2015-05-25 13:11:47 +02:00
GenericCPUDetect.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
GenericFPURoundMode.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
Hash.cpp Include cstring in Hash.cpp to fix building without PCH 2015-10-06 14:59:56 +02:00
Hash.h Hash: Remove the HashFNV prototype 2015-06-20 21:23:25 -04:00
IniFile.cpp IniFile: Mark getter functions as const 2015-08-19 22:27:18 -04:00
IniFile.h Merge pull request #2733 from AdmiralCurtiss/string-from-float 2015-12-02 15:22:42 +01:00
Intrinsics.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
JitRegister.cpp Linux: detect perf and default map dir to /tmp 2015-10-10 16:42:53 +02:00
JitRegister.h Fix building with PCH disabled. 2015-05-25 22:26:43 -05:00
LinearDiskCache.h ShaderGen: Remove virtual methods from ShaderGeneratorInterface, move string buffer to ShaderCode 2016-01-02 17:35:06 +10:00
make_scmrev.h.js [windows] When making scmrev.h, also look for msysgit explicitly. VS2015 packages it. 2015-09-03 04:39:04 -07:00
MathUtil.cpp Work around Google's trash NDK 2015-12-22 18:20:17 -06:00
MathUtil.h MathUtil: Make Rectangle constructors and equality operator constexpr 2015-10-20 20:30:36 -04:00
MemArena.cpp Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
MemArena.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
MemoryUtil.cpp Partially revert "General: Toss out PRI macro usage" 2015-09-11 09:49:00 -04:00
MemoryUtil.h Revert "x64: build a Position-Independent Executable (PIE)" 2015-06-14 16:06:26 +12:00
Misc.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
MsgHandler.cpp Mark more strings for translation 2015-11-20 11:33:47 +01:00
MsgHandler.h Mark more strings for translation 2015-11-20 11:33:47 +01:00
NandPaths.cpp Including missing headers required for non-pch builds and other architectures 2015-12-22 18:20:48 -06:00
NandPaths.h Mark which Wii root to use in the NAND path code. 2015-10-16 09:10:39 +02:00
Network.cpp Including missing headers required for non-pch builds and other architectures 2015-12-22 18:20:48 -06:00
Network.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
NonCopyable.h Common: Move NonCopyable to its own header 2015-09-26 18:50:35 -04:00
PcapFile.cpp Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
PcapFile.h Common: Move NonCopyable to its own header 2015-09-26 18:50:35 -04:00
PerformanceCounter.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
PerformanceCounter.h Update license headers to GPLv2+ 2015-05-25 13:22:31 +02:00
Profiler.cpp Profiler: Sort output by total time 2015-08-20 11:50:43 +02:00
Profiler.h Profiler: Sort output by total time 2015-08-20 11:50:43 +02:00
SCMRevGen.vcxproj [windows] Update projects to vs2015. 2015-09-03 04:23:01 -07:00
ScopeGuard.h SaveState: Fix for race condition ("wait" didn't actually waited for file to flush/close). 2015-09-27 21:40:32 +03:00
SDCardUtil.cpp Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
SDCardUtil.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
SettingsHandler.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
SettingsHandler.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
StringUtil.cpp Merge pull request #2733 from AdmiralCurtiss/string-from-float 2015-12-02 15:22:42 +01:00
StringUtil.h Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
SymbolDB.cpp Partially revert "General: Toss out PRI macro usage" 2015-09-11 09:49:00 -04:00
SymbolDB.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
SysConf.cpp Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
SysConf.h Common: Remove other Common prefixed headers from Common.h 2015-09-26 18:51:58 -04:00
Thread.cpp Fix building with PCH disabled. 2015-09-04 10:34:45 -05:00
Thread.h Thread: Remove unused Barrier class 2015-05-26 19:25:59 -04:00
Timer.cpp SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot. 2015-10-10 22:14:22 +02:00
Timer.h SaveState/DolphinWX: Display time and date of savestate when a slot is selected, or Empty if no savestate exists in the slot. 2015-10-10 22:14:22 +02:00
TraversalClient.cpp Merge pull request #2876 from CastellaFactory/master 2015-12-02 14:20:47 +01:00
TraversalClient.h [Netplay:Traversal] Add "Force Netplay Listen Port" feature that was in old netplay branch 2015-09-20 20:15:13 +09:00
TraversalProto.h Added Gui elements in Netplay Setup Diag so a person can choose a traversal server 2015-02-25 18:28:26 -08:00
TraversalServer.cpp Fix printf width in TraversalServer. 2015-04-13 02:26:52 -04:00
ucrtFreadWorkaround.cpp Update ucrtFreadWorkaround.cpp 2015-11-01 10:52:33 -08:00
Version.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
x64ABI.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
x64ABI.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
x64Analyzer.cpp Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
x64Analyzer.h Set copyright year to when a file was created 2015-05-25 13:22:31 +02:00
x64CPUDetect.cpp Common: Get rid of a few pointer casts 2015-09-15 12:28:59 -04:00
x64Emitter.cpp x64Emitter: Remove pointer cast 2015-09-17 09:35:13 -04:00
x64Emitter.h Common: Move asserts to their own header 2015-09-26 18:51:27 -04:00
x64FPURoundMode.cpp x64FPURoundMode: fix comments 2015-06-23 02:17:36 +02:00