Added more texture type validation APIs
このコミットが含まれているのは:
1 親
345cd58d19
コミット
7629dee8c0
13ファイル変更
+68
-26
検索条件に一致するファイルはありません
@@ -3,6 +3,7 @@ using ComputeSharp.Exceptions;
|
||||
using ComputeSharp.Graphics.Resources.Enums;
|
||||
using ComputeSharp.Resources;
|
||||
using ComputeSharp.Resources.Views;
|
||||
using static TerraFX.Interop.D3D12_FORMAT_SUPPORT1;
|
||||
|
||||
namespace ComputeSharp
|
||||
{
|
||||
@@ -23,7 +24,7 @@ namespace ComputeSharp
|
||||
/// <param name="height">The height of the texture.</param>
|
||||
/// <param name="depth">The depth of the texture.</param>
|
||||
internal ReadOnlyTexture3D(GraphicsDevice device, int width, int height, int depth)
|
||||
: base(device, width, height, depth, ResourceType.ReadOnly)
|
||||
: base(device, width, height, depth, ResourceType.ReadOnly, D3D12_FORMAT_SUPPORT1_TEXTURE3D)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする