@@ -1468,8 +1468,8 @@ pub struct VertexBufferLayout<'a> {
1468
1468
pub struct VertexState < ' a > {
1469
1469
/// The compiled shader module for this stage.
1470
1470
pub module : & ' a ShaderModule ,
1471
- /// The name of the entry point in the compiled shader. There must be a function that returns
1472
- /// void with this name in the shader.
1471
+ /// The name of the entry point in the compiled shader. There must be a function with this name
1472
+ /// in the shader.
1473
1473
pub entry_point : & ' a str ,
1474
1474
/// The format of any vertex buffers used with this pipeline.
1475
1475
pub buffers : & ' a [ VertexBufferLayout < ' a > ] ,
@@ -1485,8 +1485,8 @@ pub struct VertexState<'a> {
1485
1485
pub struct FragmentState < ' a > {
1486
1486
/// The compiled shader module for this stage.
1487
1487
pub module : & ' a ShaderModule ,
1488
- /// The name of the entry point in the compiled shader. There must be a function that returns
1489
- /// void with this name in the shader.
1488
+ /// The name of the entry point in the compiled shader. There must be a function with this name
1489
+ /// in the shader.
1490
1490
pub entry_point : & ' a str ,
1491
1491
/// The color state of the render targets.
1492
1492
pub targets : & ' a [ Option < ColorTargetState > ] ,
@@ -1545,8 +1545,8 @@ pub struct ComputePipelineDescriptor<'a> {
1545
1545
pub layout : Option < & ' a PipelineLayout > ,
1546
1546
/// The compiled shader module for this stage.
1547
1547
pub module : & ' a ShaderModule ,
1548
- /// The name of the entry point in the compiled shader. There must be a function that returns
1549
- /// void with this name in the shader.
1548
+ /// The name of the entry point in the compiled shader. There must be a function with this name
1549
+ /// and no return value in the shader.
1550
1550
pub entry_point : & ' a str ,
1551
1551
}
1552
1552
0 commit comments