Correct non-constant offset rewrite for texelFetch
This commit is contained in:
parent
f2c85c5d58
commit
171c3d54c6
2 changed files with 78 additions and 53 deletions
|
@ -140,8 +140,7 @@ namespace Ryujinx.Graphics.Shader.StructuredIr
|
|||
{
|
||||
// TODO: Return correct type depending on source index,
|
||||
// that can improve the decompiler output.
|
||||
if (
|
||||
inst == Instruction.ImageLoad ||
|
||||
if (inst == Instruction.ImageLoad ||
|
||||
inst == Instruction.ImageStore ||
|
||||
inst == Instruction.Lod ||
|
||||
inst == Instruction.TextureSample)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue