[3PP] Uplifted FMT version and adjusted messages

This commit is contained in:
Gliniak
2024-12-12 20:28:11 +01:00
parent 41771055f8
commit 3318ab5d4c
30 changed files with 68 additions and 43 deletions

View File

@@ -20,6 +20,7 @@
#include <utility>
#include "third_party/dxbc/DXBCChecksum.h"
#include "third_party/fmt/include/fmt/xchar.h"
#include "xenia/base/assert.h"
#include "xenia/base/cvar.h"

View File

@@ -43,6 +43,8 @@
#include "xenia/gpu/xenos.h"
#include "xenia/ui/d3d12/d3d12_util.h"
#include "third_party/fmt/include/fmt/xchar.h"
DEFINE_bool(d3d12_dxbc_disasm, false,
"Disassemble DXBC shaders after generation.", "D3D12");
DEFINE_bool(

View File

@@ -1072,8 +1072,9 @@ bool GetResolveInfo(const RegisterFile& regs, const Memory& memory,
"Incorrect resolve sample selected for {}-sample {}: {}, treating like "
"{}",
1 << uint32_t(rb_surface_info.msaa_samples),
is_depth ? "depth" : "color", rb_copy_control.copy_sample_select,
sample_select);
is_depth ? "depth" : "color",
static_cast<uint32_t>(rb_copy_control.copy_sample_select),
static_cast<uint32_t>(sample_select));
}
info_out.copy_dest_coordinate_info.copy_sample_select = sample_select;
// Get the format to pass to the shader in a unified way - for depth (for

View File

@@ -90,9 +90,9 @@ void COMMAND_PROCESSOR::DisassembleCurrentPacket() XE_RESTRICT {
packet_info.count, packet_info.predicated);
#define LOG_ACTION_FIELD(__type, name) \
logger("\t" #name " = {:08X}\n", action.__type.name)
logger("\t" #name " = {:08X}\n", static_cast<uint32_t>(action.__type.name))
#define LOG_ACTION_FIELD_DEC(__type, name) \
logger("\t" #name " = {}\n", action.__type.name)
logger("\t" #name " = {}\n", static_cast<size_t>(action.__type.name))
#define LOG_ENDIANNESS(__type, name) \
logger("\t" #name " = {}\n", \