@@ -96,12 +96,12 @@ impl crate::framework::Example for Example {
9696 layout : Some ( & pipeline_layout_empty) ,
9797 vertex : wgpu:: VertexState {
9898 module : & shader_triangle_and_lines,
99- entry_point : "vs_main" ,
99+ entry_point : Some ( "vs_main" ) ,
100100 buffers : & [ ] ,
101101 } ,
102102 fragment : Some ( wgpu:: FragmentState {
103103 module : & shader_triangle_and_lines,
104- entry_point : "fs_main_red" ,
104+ entry_point : Some ( "fs_main_red" ) ,
105105 targets : & [ Some ( RENDER_TARGET_FORMAT . into ( ) ) ] ,
106106 } ) ,
107107 primitive : wgpu:: PrimitiveState {
@@ -119,12 +119,12 @@ impl crate::framework::Example for Example {
119119 layout : Some ( & pipeline_layout_empty) ,
120120 vertex : wgpu:: VertexState {
121121 module : & shader_triangle_and_lines,
122- entry_point : "vs_main" ,
122+ entry_point : Some ( "vs_main" ) ,
123123 buffers : & [ ] ,
124124 } ,
125125 fragment : Some ( wgpu:: FragmentState {
126126 module : & shader_triangle_and_lines,
127- entry_point : "fs_main_blue" ,
127+ entry_point : Some ( "fs_main_blue" ) ,
128128 targets : & [ Some ( RENDER_TARGET_FORMAT . into ( ) ) ] ,
129129 } ) ,
130130 primitive : wgpu:: PrimitiveState :: default ( ) ,
@@ -143,12 +143,12 @@ impl crate::framework::Example for Example {
143143 layout : Some ( & pipeline_layout_empty) ,
144144 vertex : wgpu:: VertexState {
145145 module : & shader_triangle_and_lines,
146- entry_point : "vs_main" ,
146+ entry_point : Some ( "vs_main" ) ,
147147 buffers : & [ ] ,
148148 } ,
149149 fragment : Some ( wgpu:: FragmentState {
150150 module : & shader_triangle_and_lines,
151- entry_point : "fs_main_white" ,
151+ entry_point : Some ( "fs_main_white" ) ,
152152 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
153153 } ) ,
154154 primitive : wgpu:: PrimitiveState {
@@ -204,12 +204,12 @@ impl crate::framework::Example for Example {
204204 layout : Some ( & pipeline_layout) ,
205205 vertex : wgpu:: VertexState {
206206 module : & shader,
207- entry_point : "vs_main" ,
207+ entry_point : Some ( "vs_main" ) ,
208208 buffers : & [ ] ,
209209 } ,
210210 fragment : Some ( wgpu:: FragmentState {
211211 module : & shader,
212- entry_point : "fs_main" ,
212+ entry_point : Some ( "fs_main" ) ,
213213 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
214214 } ) ,
215215 primitive : wgpu:: PrimitiveState :: default ( ) ,
0 commit comments