summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderManager.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-05-30 01:05:06 -0400
committerLioncash <mathew1800@gmail.com>2019-05-30 06:41:54 -0400
commit149a97e396fd1ac22df8ad9d47d4a23e3ef46d25 (patch)
treedc17796f80c8d773c909a9abcd46c3e819dd14da /Source/Core/VideoCommon/VertexLoaderManager.cpp
parent80d8173d29749b13ccdf84e75641e179ea34768b (diff)
VideoCommon: Remove unnecessary memset on ShaderUid instances.
Zero-initialization zeroes out all members and padding bits, so this is safe to do. While we're at it, also add static assertions that enforce the necessary requirements of a UID type explicitly within the ShaderUid class. This way, we can remove several memset calls around the shader generation code that makes sure the underlying UID data is zeroed out. Now our ShaderUid class enforces this for us, so we don't need to care about it at the usage sites.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
0 files changed, 0 insertions, 0 deletions