Use explicit types everywhere

このコミットが含まれているのは:
Sergio Pedri committed 2022-10-15 09:10:18 -07:00
1 親 27c629f3b4
コミット 16c0fc9aab
74ファイル変更
+455 -446

検索条件に一致するファイルはありません

+1 -1
ファイルの表示
@@ -15,7 +15,7 @@ float[] array = Enumerable.Range(1, 100).Select(static i => (float)i).ToArray();
using ReadWriteBuffer<float> gpuBuffer = GraphicsDevice.GetDefault().AllocateReadWriteBuffer(array);
// Run the shader
using (var context = GraphicsDevice.GetDefault().CreateComputeContext())
using (ComputeContext context = GraphicsDevice.GetDefault().CreateComputeContext())
{
context.Log("Dispatching shader");
context.BeginEvent("Dispatching event");