gpu: make RenderPipeline.fragment optional (#212)
pipeline with vertex stage only is perfectly valid Helps hexops/mach#182
This commit is contained in:
parent
d0782d24d1
commit
a943fbed3e
2 changed files with 13 additions and 11 deletions
|
|
@ -43,7 +43,7 @@ pub const Descriptor = struct {
|
|||
primitive: PrimitiveState,
|
||||
depth_stencil: ?*const DepthStencilState,
|
||||
multisample: MultisampleState,
|
||||
fragment: *const FragmentState,
|
||||
fragment: ?*const FragmentState,
|
||||
};
|
||||
|
||||
pub const CreateStatus = enum(u32) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue