mirror of
https://github.com/KytyPS5/KytyPS5.git
synced 2026-10-28 22:06:59 +01:00
render: ignore stale export formats with no pixel shader
This commit is contained in:
@@ -440,9 +440,8 @@ static bool DrawHasValidVertexShader(const HW::Shader& sh_ctx) {
|
|||||||
|
|
||||||
static bool PixelShaderHasDepthOrCoverageSideEffects(const HW::ShaderRegisters& sh_regs) {
|
static bool PixelShaderHasDepthOrCoverageSideEffects(const HW::ShaderRegisters& sh_regs) {
|
||||||
const auto& db = sh_regs.db_shader_control;
|
const auto& db = sh_regs.db_shader_control;
|
||||||
return sh_regs.shader_z_format != 0 || db.shader_kill_enable || db.shader_z_export_enable ||
|
return db.shader_kill_enable || db.shader_z_export_enable || db.shader_mask_export_enable ||
|
||||||
db.shader_mask_export_enable || db.shader_dual_export_enable ||
|
db.shader_dual_export_enable || db.shader_execute_on_noop;
|
||||||
db.shader_execute_on_noop;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DrawRenderState {
|
struct DrawRenderState {
|
||||||
|
|||||||
Reference in New Issue
Block a user