diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-05-30 02:06:55 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-05-30 06:41:57 -0400 |
| commit | 954246d10ec3c9b6c84569f217d6728e53529341 (patch) | |
| tree | 5eb5ab99c598094fb1089d35ef53d68b933c7aa6 /Source/Core/VideoCommon/CommandProcessor.cpp | |
| parent | 149a97e396fd1ac22df8ad9d47d4a23e3ef46d25 (diff) | |
VideoCommon/ShaderGenCommon: Remove use of a union within ShaderUid
This is only ever used to retrieve a raw view of the given UID data
structure, however it's already valid C++ to retrieve a char/unsigned
char view of an object for bytewise inspection.
u8 maps to unsigned char on all platforms we support, so we can just do
this directly with a reinterpret cast, simplifying the overall
interface.
Diffstat (limited to 'Source/Core/VideoCommon/CommandProcessor.cpp')
0 files changed, 0 insertions, 0 deletions
