7c53b69c30
The type in the `texOp` in the textureSize instruction doesn't have the exact type on SPIR-V (for example, it is missing the Array flag). This PR gives it the proper type before giving it to the unscaling helper. This fixes the ground textures being broken on Pokemon Scarlet/Violet when scaling. It wasn't finding the texture, so the descriptor index it provided was -1... |
||
---|---|---|
.. | ||
AstAssignment.cs | ||
AstBlock.cs | ||
AstBlockType.cs | ||
AstBlockVisitor.cs | ||
AstComment.cs | ||
AstHelper.cs | ||
AstNode.cs | ||
AstOperand.cs | ||
AstOperation.cs | ||
AstOptimizer.cs | ||
AstTextureOperation.cs | ||
GotoElimination.cs | ||
GotoStatement.cs | ||
HelperFunctionsMask.cs | ||
IAstNode.cs | ||
InstructionInfo.cs | ||
OperandInfo.cs | ||
PhiFunctions.cs | ||
StructuredFunction.cs | ||
StructuredProgram.cs | ||
StructuredProgramContext.cs | ||
StructuredProgramInfo.cs | ||
VariableType.cs |