gpu: add ProgrammableStageDescriptor

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2022-03-11 16:48:24 -07:00 committed by Stephen Gutekanst
parent 52c22e0ff2
commit 5a8585faa1
3 changed files with 9 additions and 8 deletions

View file

@ -57,6 +57,13 @@ pub const DepthStencilState = struct {
depth_bias_clamp: f32,
};
pub const ProgrammableStageDescriptor = struct {
label: ?[*:0]const u8 = null,
module: ShaderModule,
entryPoint: [*:0]const u8,
constants: []const ConstantEntry,
};
test "syntax" {
_ = CompilationMessage;
_ = CompilationInfo;
@ -64,4 +71,5 @@ test "syntax" {
_ = PrimitiveState;
_ = StorageTextureBindingLayout;
_ = DepthStencilState;
_ = ProgrammableStageDescriptor;
}