Please sign in to comment.
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.
- Loading branch information...
Showing with 6 additions and 10 deletions.