liverpool: Write valid queries on PixelPipeStatDump (#3553)

* liverpool: Write valid queries on PixelPipeStatDump

* export: Small assert swap

* liverpool: Advance zpass counter on every dump request
This commit is contained in:
TheTurtle
2025-09-08 04:08:26 +03:00
committed by GitHub
parent f6219e0382
commit eb9a7e8fbd
4 changed files with 23 additions and 3 deletions

View File

@@ -129,12 +129,13 @@ void Translator::EmitExport(const GcnInst& inst) {
return ExportRenderTarget(inst);
}
ASSERT_MSG(!exp.compr, "Compressed exports only supported for render targets");
if (attrib == IR::Attribute::Depth && exp.en != 0 && exp.en != 1) {
LOG_WARNING(Render_Vulkan, "Unsupported depth export");
return;
}
ASSERT_MSG(!exp.compr, "Compressed exports only supported for render targets");
u32 mask = exp.en;
for (u32 i = 0; i < 4; i++, mask >>= 1) {
if ((mask & 1) == 0) {