implement texture decoding

This commit is contained in:
Samuliak 2024-07-27 15:20:51 +02:00
parent 4976ff3084
commit 4c78c6afbb
8 changed files with 192 additions and 46 deletions

View file

@ -2002,7 +2002,7 @@ static void _emitALUClauseCode(LatteDecompilerShaderContext* shaderContext, Latt
{
_emitInstructionOutputVariableName(shaderContext, &aluInstruction);
src->add(" = ");
src->add("as_type<int>(");
src->add("as_type<int>(as_type<float>(");
_emitInstructionOutputVariableName(shaderContext, &aluInstruction);
src->add(")");
if( aluInstruction.omod == 1 )