shader: compute add-with-carry with compares and remove IAddCarry32

This commit is contained in:
nmzik committed 2026-10-21 22:28:11 +02:00
1 parent c571d8ed5a
commit 6e5167598e
8 files changed
+17 -50

No files matched your search

+1 -1
View File
@@ -15144,7 +15144,7 @@ void TestTypedDescriptorRealCarryAndScalarLoads() {
ValueDependsOn(carry_source->dwords[1],
ShaderRecompiler::IR::ValueOpcode::GetShaderBase) &&
ValueDependsOn(carry_source->dwords[1],
ShaderRecompiler::IR::ValueOpcode::IAddCarry32),
ShaderRecompiler::IR::ValueOpcode::ULessThan32),
"real s_add_u32/s_addc_u32 translation lost SCC carry provenance");
std::array<uint32_t, 64> carry_user_data{};
const uint64_t shader_base = 0x00000012fffffffbull;