mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-07-11 02:16:39 +02:00
[TEST] Debug MSAA objects x2
This commit is contained in:
@@ -1607,8 +1607,8 @@ Image::Image(TextureCacheRuntime& runtime_, const ImageInfo& info_, GPUVAddr gpu
|
||||
: std::nullopt)),
|
||||
aspect_mask(ImageAspectMask(info.format)) {
|
||||
if (info.num_samples > 1) {
|
||||
LOG_INFO(Render_Vulkan, "MSAA image created: format={} samples={} {}x{} aspect={:#x}",
|
||||
info.format, info.num_samples, info.size.width, info.size.height, aspect_mask);
|
||||
LOG_CRITICAL(Render_Vulkan, "MSAA image created: format={} samples={} {}x{} aspect={:#x}",
|
||||
info.format, info.num_samples, info.size.width, info.size.height, aspect_mask);
|
||||
}
|
||||
if (IsPixelFormatASTC(info.format) && !runtime->device.IsOptimalAstcSupported()) {
|
||||
switch (Settings::values.accelerate_astc.GetValue()) {
|
||||
|
||||
@@ -165,6 +165,10 @@ ImageInfo::ImageInfo(const Maxwell3D::Regs::RenderTargetConfig& ct,
|
||||
layer_stride = ct.array_pitch * 4;
|
||||
maybe_unaligned_layer_stride = layer_stride;
|
||||
num_samples = NumSamples(msaa_mode);
|
||||
if (num_samples > 1) {
|
||||
LOG_CRITICAL(HW_GPU, "Guest color RT requests MSAA: samples={} {}x{}", num_samples,
|
||||
size.width, size.height);
|
||||
}
|
||||
block = Extent3D{
|
||||
.width = ct.tile_mode.block_width,
|
||||
.height = ct.tile_mode.block_height,
|
||||
@@ -195,6 +199,10 @@ ImageInfo::ImageInfo(const Maxwell3D::Regs::Zeta& zt, const Maxwell3D::Regs::Zet
|
||||
layer_stride = zt.array_pitch * 4;
|
||||
maybe_unaligned_layer_stride = layer_stride;
|
||||
num_samples = NumSamples(msaa_mode);
|
||||
if (num_samples > 1) {
|
||||
LOG_CRITICAL(HW_GPU, "Guest depth RT requests MSAA: samples={} {}x{}", num_samples,
|
||||
size.width, size.height);
|
||||
}
|
||||
block = Extent3D{
|
||||
.width = zt.tile_mode.block_width,
|
||||
.height = zt.tile_mode.block_height,
|
||||
|
||||
Reference in New Issue
Block a user