mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 16:32:39 +00:00
shader_recompiler: Skip unsupported depth export
This commit is contained in:
parent
eba2549d3a
commit
3963ad93b1
@ -13,6 +13,11 @@ void Translator::EmitExport(const GcnInst& inst) {
|
|||||||
|
|
||||||
const auto& exp = inst.control.exp;
|
const auto& exp = inst.control.exp;
|
||||||
const IR::Attribute attrib{exp.target};
|
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 = {
|
const std::array vsrc = {
|
||||||
IR::VectorReg(inst.src[0].code),
|
IR::VectorReg(inst.src[0].code),
|
||||||
IR::VectorReg(inst.src[1].code),
|
IR::VectorReg(inst.src[1].code),
|
||||||
|
Loading…
Reference in New Issue
Block a user