[emit_spirv_image] remove the fix for LA/EOW (#4589)

- [x] I have read and followed the [Contribution Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/CONTRIBUTING.md#code-contributions).
- [x] I have read and followed the [Coding Guidelines](https://git.eden-emu.dev/eden-emu/eden/src/branch/master/docs/policies/Coding.md) to the best of my ability.

-------------------
this is no longer needed; https://github.com/StevenMXZ/Adreno-Tools-Drivers/releases/tag/gamesir completely fixes these games

Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/4589
Reviewed-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
PavelBARABANOV
2026-10-30 02:26:33 +01:00
committed by crueter
parent a2aa4d97e1
commit d89e02d3ac
2 changed files with 1 additions and 7 deletions
@@ -6,7 +6,6 @@
#include <boost/container/static_vector.hpp>
#include "common/settings.h"
#include "shader_recompiler/backend/spirv/emit_spirv.h"
#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"
#include "shader_recompiler/backend/spirv/spirv_emit_context.h"
@@ -590,11 +589,6 @@ Id EmitImageSampleExplicitLod(EmitContext& ctx, IR::Inst* inst, const IR::Value&
Id result = Emit(&EmitContext::OpImageSparseSampleExplicitLod,
&EmitContext::OpImageSampleExplicitLod, ctx, inst, result_type,
Texture(ctx, info, index), coords, operands.Mask(), operands.Span());
#ifdef __ANDROID__
if (!is_integer && Settings::values.fix_bloom_effects.GetValue()) {
result = ctx.OpVectorTimesScalar(ctx.F32[4], result, ctx.Const(0.98f));
}
#endif
return is_integer ? ctx.OpBitcast(ctx.F32[4], result) : result;
}