Add internal [EmbeddedBytecode] tests
このコミットが含まれているのは:
1 親
ca8e5da433
コミット
9b2518cd54
2ファイル変更
+80
-1
検索条件に一致するファイルはありません
@@ -228,7 +228,7 @@ internal static class ShaderRunner<T>
|
||||
[MethodImpl(MethodImplOptions.NoInlining)]
|
||||
private static unsafe void LoadShader(int threadsX, int threadsY, int threadsZ, ref T shader, out ICachedShader shaderData)
|
||||
{
|
||||
if (shader.TryGetBytecode(threadsX, threadsY, threadsZ, out ReadOnlySpan<byte> bytecode))
|
||||
if (Unsafe.NullRef<T>().TryGetBytecode(threadsX, threadsY, threadsZ, out ReadOnlySpan<byte> bytecode))
|
||||
{
|
||||
shaderData = new ICachedShader.Embedded(bytecode);
|
||||
}
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする