Add initial support for compute pipelines
This commit is contained in:
committed by
Jérôme Leclercq
parent
e4064997d8
commit
9578ba3ef5
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user