Fix a compile error in tests due to DXC warning

このコミットが含まれているのは:
Sergio Pedri committed 2023-11-21 15:35:10 +01:00
1 親 9d6195ac44
コミット a64e7bbd18
1ファイル変更
+5 -5
+5 -5
ファイルの表示
@@ -550,13 +550,13 @@ namespace ComputeSharp.Tests
/// <inheritdoc/>
public void Execute()
{
float number = this.number;
float x = this.number + ThreadIds.X;
Foo(ref this.buffer[ThreadIds.X], ref number);
Bar(ref this.buffer[ThreadIds.X], ref number);
HelpersForPixelShaderWithScopedParameterInMethods.Baz(in this.buffer[ThreadIds.X], ref number);
Foo(ref this.buffer[ThreadIds.X], ref x);
Bar(ref this.buffer[ThreadIds.X], ref x);
HelpersForPixelShaderWithScopedParameterInMethods.Baz(in this.buffer[ThreadIds.X], ref x);
this.buffer[ThreadIds.X] *= number;
this.buffer[ThreadIds.X] *= x;
}
}
}