Avoid using '#' format spec for X hex numbers.
Avoid using '#' format spec for X (uppercase) hex numbers, as it results in output like "0XABCDEF" instead of "0xABCDEF".
This commit is contained in:
@@ -1488,7 +1488,7 @@ bool D3D12CommandProcessor::IssueDraw(PrimitiveType primitive_type,
|
||||
if (!shared_memory_->RequestRange(vfetch_constant.address << 2,
|
||||
vfetch_constant.size << 2)) {
|
||||
XELOGE(
|
||||
"Failed to request vertex buffer at {:#08X} (size {}) in the shared "
|
||||
"Failed to request vertex buffer at 0x{:08X} (size {}) in the shared "
|
||||
"memory",
|
||||
vfetch_constant.address << 2, vfetch_constant.size << 2);
|
||||
return false;
|
||||
@@ -1590,7 +1590,7 @@ bool D3D12CommandProcessor::IssueDraw(PrimitiveType primitive_type,
|
||||
if (!shared_memory_->RequestRange(memexport_range.base_address_dwords << 2,
|
||||
memexport_range.size_dwords << 2)) {
|
||||
XELOGE(
|
||||
"Failed to request memexport stream at {:#08X} (size {}) in the "
|
||||
"Failed to request memexport stream at 0x{:08X} (size {}) in the "
|
||||
"shared memory",
|
||||
memexport_range.base_address_dwords << 2,
|
||||
memexport_range.size_dwords << 2);
|
||||
@@ -1636,8 +1636,8 @@ bool D3D12CommandProcessor::IssueDraw(PrimitiveType primitive_type,
|
||||
uint32_t index_buffer_size = index_buffer_info->count * index_size;
|
||||
if (!shared_memory_->RequestRange(index_base, index_buffer_size)) {
|
||||
XELOGE(
|
||||
"Failed to request index buffer at {:#08X} (size {}) in the shared "
|
||||
"memory",
|
||||
"Failed to request index buffer at 0x{:08X} (size {}) in the "
|
||||
"shared memory",
|
||||
index_base, index_buffer_size);
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -1340,7 +1340,7 @@ bool RenderTargetCache::ResolveCopy(SharedMemory* shared_memory,
|
||||
bool dest_swap = !is_depth && rb_copy_dest_info.copy_dest_swap;
|
||||
|
||||
XELOGGPU(
|
||||
"Resolve: Copying samples {} to {:#08X} ({}x{}, {}D), destination Z {}, "
|
||||
"Resolve: Copying samples {} to 0x{:08X} ({}x{}, {}D), destination Z {}, "
|
||||
"destination format {}, exponent bias {}, red and blue {}swapped",
|
||||
uint32_t(sample_select), dest_address, dest_pitch, dest_height,
|
||||
rb_copy_dest_info.copy_dest_array ? '3' : '2', dest_z,
|
||||
|
||||
@@ -2178,7 +2178,7 @@ void TextureCache::BindingInfoFromFetchConstant(
|
||||
void TextureCache::LogTextureKeyAction(TextureKey key, const char* action) {
|
||||
XELOGGPU(
|
||||
"{} {} {}{}x{}x{} {} {} texture with {} {}packed mip level{}, "
|
||||
"base at {:#08X}, mips at {:#08X}",
|
||||
"base at 0x{:08X}, mips at 0x{:08X}",
|
||||
action, key.tiled ? "tiled" : "linear",
|
||||
key.scaled_resolve ? "2x-scaled " : "", key.width, key.height, key.depth,
|
||||
dimension_names_[uint32_t(key.dimension)],
|
||||
@@ -2191,7 +2191,7 @@ void TextureCache::LogTextureAction(const Texture* texture,
|
||||
const char* action) {
|
||||
XELOGGPU(
|
||||
"{} {} {}{}x{}x{} {} {} texture with {} {}packed mip level{}, "
|
||||
"base at {:#08X} (size {}), mips at {:#08X} (size {})",
|
||||
"base at 0x{:08X} (size {}), mips at 0x{:08X} (size {})",
|
||||
action, texture->key.tiled ? "tiled" : "linear",
|
||||
texture->key.scaled_resolve ? "2x-scaled " : "", texture->key.width,
|
||||
texture->key.height, texture->key.depth,
|
||||
|
||||
Reference in New Issue
Block a user