Minor code style tweaks

このコミットが含まれているのは:
Sergio Pedri committed 2020-11-18 20:24:20 +01:00
1 親 ddfeb80869
コミット 941265a416
4ファイル変更
+17 -13

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

+1 -1
ファイルの表示
@@ -65,7 +65,7 @@ namespace ComputeSharp.Shaders.Translation
Hasher<T>? hasher = TypeInfo<T>.Hasher;
if (hasher != null) hash = hasher(hash, shader);
if (hasher != null) hash = hasher(hash, in shader);
return hash;
}
+1 -1
ファイルの表示
@@ -68,7 +68,7 @@ namespace ComputeSharp.Shaders.Translation
Unsafe.Add(ref Unsafe.As<byte, int>(ref r1), 2) = z;
// Invoke the dynamic method to extract the captured data
this.dispatchDataLoader!(shader, ref r0, ref r1);
this.dispatchDataLoader!(in shader, ref r0, ref r1);
return new DispatchData(resources, this.totalResourceCount, variables, this.totalVariablesByteSize);
}