Add initial support for compute pipelines

This commit is contained in:
SirLynix
2022-12-24 11:54:55 +01:00
committed by Jérôme Leclercq
parent e4064997d8
commit 9578ba3ef5
57 changed files with 915 additions and 182 deletions

View File

@@ -165,6 +165,7 @@ namespace Nz
enum class ShaderBindingType
{
Sampler,
StorageBuffer,
Texture,
UniformBuffer,
@@ -182,6 +183,13 @@ namespace Nz
SpirV
};
enum class TextureAccess
{
ReadOnly,
ReadWrite,
WriteOnly
};
enum class TextureLayout
{
ColorInput,
@@ -199,6 +207,7 @@ namespace Nz
ColorAttachment,
DepthStencilAttachment,
InputAttachment,
ShaderReadWrite,
ShaderSampling,
TransferSource,
TransferDestination,