diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2023-10-03 19:43:11 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-03 22:43:11 +0000 |
| commit | a2a97e1b11d38b51231e05a1da5202481cdf4df8 (patch) | |
| tree | 97565f52001cbb1dbe2d0899ef60c371bfc5c8ff /src/Ryujinx.Graphics.Shader/StructuredIr | |
| parent | 8b2625b0be3020740a90f167e46f8f665102fef5 (diff) | |
Implement textureSamples texture query shader instruction (#5750)
* Implement textureSamples texture query shader instruction
* Shader cache version bump
Diffstat (limited to 'src/Ryujinx.Graphics.Shader/StructuredIr')
| -rw-r--r-- | src/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs b/src/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs index 1169512e..72d0e989 100644 --- a/src/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs +++ b/src/Ryujinx.Graphics.Shader/StructuredIr/InstructionInfo.cs @@ -124,7 +124,8 @@ namespace Ryujinx.Graphics.Shader.StructuredIr Add(Instruction.Subtract, AggregateType.Scalar, AggregateType.Scalar, AggregateType.Scalar); Add(Instruction.SwizzleAdd, AggregateType.FP32, AggregateType.FP32, AggregateType.FP32, AggregateType.S32); Add(Instruction.TextureSample, AggregateType.FP32); - Add(Instruction.TextureSize, AggregateType.S32, AggregateType.S32, AggregateType.S32); + Add(Instruction.TextureQuerySamples, AggregateType.S32, AggregateType.S32); + Add(Instruction.TextureQuerySize, AggregateType.S32, AggregateType.S32, AggregateType.S32); Add(Instruction.Truncate, AggregateType.Scalar, AggregateType.Scalar); Add(Instruction.UnpackDouble2x32, AggregateType.U32, AggregateType.FP64); Add(Instruction.UnpackHalf2x16, AggregateType.FP32, AggregateType.U32); |
