mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-20 19:44:46 +00:00
shader_recompiler: Skip unsupported depth export
This commit is contained in:
parent
eba2549d3a
commit
3963ad93b1
1 changed files with 5 additions and 0 deletions
|
@ -13,6 +13,11 @@ void Translator::EmitExport(const GcnInst& inst) {
|
|||
|
||||
const auto& exp = inst.control.exp;
|
||||
const IR::Attribute attrib{exp.target};
|
||||
if (attrib == IR::Attribute::Depth && exp.en != 1) {
|
||||
LOG_WARNING(Render_Vulkan, "Unsupported depth export");
|
||||
return;
|
||||
}
|
||||
|
||||
const std::array vsrc = {
|
||||
IR::VectorReg(inst.src[0].code),
|
||||
IR::VectorReg(inst.src[1].code),
|
||||
|
|
Loading…
Add table
Reference in a new issue