Fixed a bug in the constant buffer HLSL field declaration
このコミットが含まれているのは:
1 親
17e0be458f
コミット
50b754ac68
1ファイル変更
+1
-1
@@ -141,7 +141,7 @@ namespace ComputeSharp.Shaders.Translation
|
||||
readOnlyBuffers.Add((GraphicsResource)fieldValue);
|
||||
|
||||
string typeName = HlslKnownTypes.GetMappedName(fieldType.GenericTypeArguments[0]);
|
||||
processedFieldInfo = new ConstantBufferFieldInfo(typeName, fieldName, readOnlyBuffersCount++, true);
|
||||
processedFieldInfo = new ConstantBufferFieldInfo(typeName, fieldName, readOnlyBuffersCount++, false);
|
||||
}
|
||||
else if (HlslKnownTypes.IsKnownScalarType(fieldType))
|
||||
{
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする