@@ -221,7 +221,7 @@ pub(crate) fn create_pipeline(
221
221
222
222
vertex : wgpu:: VertexState {
223
223
module : & opaque_shader_module,
224
- entry_point : "vs_main" ,
224
+ entry_point : None ,
225
225
buffers : & [ wgpu:: VertexBufferLayout {
226
226
array_stride : mem:: size_of :: < Vertex > ( ) as u64 ,
227
227
step_mode : wgpu:: VertexStepMode :: Vertex ,
@@ -248,7 +248,7 @@ pub(crate) fn create_pipeline(
248
248
249
249
fragment : Some ( wgpu:: FragmentState {
250
250
module : & opaque_shader_module,
251
- entry_point : "fs_main" ,
251
+ entry_point : None ,
252
252
targets : if pipeline. attrs_enabled ( ) {
253
253
& [
254
254
Some ( wgpu:: ColorTargetState {
@@ -304,7 +304,7 @@ pub(crate) fn create_pipeline(
304
304
305
305
vertex : wgpu:: VertexState {
306
306
module : & trans_shader_module,
307
- entry_point : "vs_main" ,
307
+ entry_point : None ,
308
308
buffers : & [ wgpu:: VertexBufferLayout {
309
309
array_stride : mem:: size_of :: < Vertex > ( ) as u64 ,
310
310
step_mode : wgpu:: VertexStepMode :: Vertex ,
@@ -332,7 +332,7 @@ pub(crate) fn create_pipeline(
332
332
333
333
fragment : Some ( wgpu:: FragmentState {
334
334
module : & trans_shader_module,
335
- entry_point : "fs_main" ,
335
+ entry_point : None ,
336
336
targets : & trans_fragment_targets,
337
337
compilation_options : Default :: default ( ) ,
338
338
} ) ,
0 commit comments