From 382999025af8a95aa791fd00c24f24ecd54596d4 Mon Sep 17 00:00:00 2001 From: Zephyron Date: Fri, 17 Jan 2025 19:28:11 +1000 Subject: shader_recompiler: Add stubs for CSM/FCSM flow test conditions Add stub implementations for previously unhandled flow test conditions in the shader recompiler's IR emitter. These conditions were previously throwing "Not Implemented" exceptions when encountered. The following flow test cases are now stubbed: - FCSM_TR (Fragment Shader Coarse/Fine Mode Test and Reject) - CSM_TA (Coarse/Fine Mode Test Accept) - CSM_TR (Coarse/Fine Mode Test and Reject) - CSM_MX (Coarse/Fine Mode Maximum) - FCSM_TA (Fragment Shader Coarse/Fine Mode Test Accept) - FCSM_MX (Fragment Shader Coarse/Fine Mode Maximum) Currently these stubs: 1. Return false (ir.Imm1(false)) as a placeholder value 2. Log a warning message indicating the stub 3. Allow shaders using these conditions to compile rather than fail This is a step toward proper implementation of coarse/fine mode shader operations. The stubs prevent crashes while making it clear which code paths need full implementation. Technical notes: - Removed the previous FCSM_TR implementation that used flag operations - Added consistent warning messages for tracking stub usage - Kept within the existing GetFlowTest switch statement structure --- dist/languages/it.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dist/languages/it.ts') diff --git a/dist/languages/it.ts b/dist/languages/it.ts index e12e40431..9d3b8a381 100644 --- a/dist/languages/it.ts +++ b/dist/languages/it.ts @@ -409,7 +409,7 @@ Questo bannerĂ  sia il suo nome utente del forum che il suo indirizzo IP. - Mii Edit + Mii Editor @@ -6130,7 +6130,7 @@ Configurazione > Web. - Mii Edit Applet + Mii Editor Applet Editor dei Mii -- cgit v1.2.3