From a84cf030bbff20ec9d89853b738d4d0fce7444ff Mon Sep 17 00:00:00 2001 From: kd-11 Date: Sat, 15 May 2021 21:45:04 +0300 Subject: [PATCH] Fixup FreeBSD + concepts = fail --- rpcs3/Emu/RSX/Program/program_util.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rpcs3/Emu/RSX/Program/program_util.h b/rpcs3/Emu/RSX/Program/program_util.h index 836390ed89..f74af801b1 100644 --- a/rpcs3/Emu/RSX/Program/program_util.h +++ b/rpcs3/Emu/RSX/Program/program_util.h @@ -3,11 +3,10 @@ #include "util/types.hpp" #include "../gcm_enums.h" -#include - namespace rsx { #pragma pack(push, 1) + // NOTE: This structure must be packed to match GPU layout. struct fragment_program_texture_config { struct TIU_slot @@ -19,8 +18,7 @@ namespace rsx } slots_[16]; // QT headers will collide with any variable named 'slots' because reasons - template - TIU_slot& operator[](T index) { return slots_[index]; } + TIU_slot& operator[](u32 index) { return slots_[index]; } void write_to(void* dst, u16 mask); void load_from(const void* src, u16 mask);