mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-09-30 13:48:02 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -98,8 +98,8 @@ namespace Ryujinx.Graphics.Shader.Instructions
|
||||
// but it seems to be NVIDIA implementation specific as it's only used
|
||||
// to calculate ISBE offsets, so we can just keep it as zero.
|
||||
|
||||
if (context.TranslatorContext.Definitions.Stage == ShaderStage.TessellationControl ||
|
||||
context.TranslatorContext.Definitions.Stage == ShaderStage.TessellationEvaluation)
|
||||
if (context.TranslatorContext.Definitions.Stage is ShaderStage.TessellationControl
|
||||
or ShaderStage.TessellationEvaluation)
|
||||
{
|
||||
src = context.ShiftLeft(context.Load(StorageKind.Input, IoVariable.PatchVertices), Const(16));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user