Minor code style tweaks
このコミットが含まれているのは:
1 親
ddfeb80869
コミット
941265a416
4ファイル変更
+17
-13
検索条件に一致するファイルはありません
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする