Merge pull request #5004 from BreadFish64/tev-clean

video_core: remove MSVC hack comment on TevStageConfigRaw
This commit is contained in:
Weiyi Wang 2019-11-18 13:28:05 -05:00 committed by GitHub
commit 4442a25e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,11 +27,7 @@ enum Attributes {
ATTRIBUTE_VIEW, ATTRIBUTE_VIEW,
}; };
// NOTE: MSVC15 (Update 2) doesn't think `delete`'d constructors and operators are TC. // Doesn't include const_color because we don't sync it, see comment in BuildFromRegs()
// This makes BitField not TC when used in a union or struct so we have to resort
// to this ugly hack.
// Once that bug is fixed we can use Pica::Regs::TevStageConfig here.
// Doesn't include const_color because we don't sync it, see comment in BuildFromRegs()
struct TevStageConfigRaw { struct TevStageConfigRaw {
u32 sources_raw; u32 sources_raw;
u32 modifiers_raw; u32 modifiers_raw;