@@ -96,13 +96,13 @@ 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 compilation_options : Default :: default ( ) ,
101101 buffers : & [ ] ,
102102 } ,
103103 fragment : Some ( wgpu:: FragmentState {
104104 module : & shader_triangle_and_lines,
105- entry_point : "fs_main_red" ,
105+ entry_point : Some ( "fs_main_red" ) ,
106106 compilation_options : Default :: default ( ) ,
107107 targets : & [ Some ( RENDER_TARGET_FORMAT . into ( ) ) ] ,
108108 } ) ,
@@ -122,13 +122,13 @@ impl crate::framework::Example for Example {
122122 layout : Some ( & pipeline_layout_empty) ,
123123 vertex : wgpu:: VertexState {
124124 module : & shader_triangle_and_lines,
125- entry_point : "vs_main" ,
125+ entry_point : Some ( "vs_main" ) ,
126126 compilation_options : Default :: default ( ) ,
127127 buffers : & [ ] ,
128128 } ,
129129 fragment : Some ( wgpu:: FragmentState {
130130 module : & shader_triangle_and_lines,
131- entry_point : "fs_main_blue" ,
131+ entry_point : Some ( "fs_main_blue" ) ,
132132 compilation_options : Default :: default ( ) ,
133133 targets : & [ Some ( RENDER_TARGET_FORMAT . into ( ) ) ] ,
134134 } ) ,
@@ -149,13 +149,13 @@ impl crate::framework::Example for Example {
149149 layout : Some ( & pipeline_layout_empty) ,
150150 vertex : wgpu:: VertexState {
151151 module : & shader_triangle_and_lines,
152- entry_point : "vs_main" ,
152+ entry_point : Some ( "vs_main" ) ,
153153 compilation_options : Default :: default ( ) ,
154154 buffers : & [ ] ,
155155 } ,
156156 fragment : Some ( wgpu:: FragmentState {
157157 module : & shader_triangle_and_lines,
158- entry_point : "fs_main_white" ,
158+ entry_point : Some ( "fs_main_white" ) ,
159159 compilation_options : Default :: default ( ) ,
160160 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
161161 } ) ,
@@ -213,13 +213,13 @@ impl crate::framework::Example for Example {
213213 layout : Some ( & pipeline_layout) ,
214214 vertex : wgpu:: VertexState {
215215 module : & shader,
216- entry_point : "vs_main" ,
216+ entry_point : Some ( "vs_main" ) ,
217217 compilation_options : Default :: default ( ) ,
218218 buffers : & [ ] ,
219219 } ,
220220 fragment : Some ( wgpu:: FragmentState {
221221 module : & shader,
222- entry_point : "fs_main" ,
222+ entry_point : Some ( "fs_main" ) ,
223223 compilation_options : Default :: default ( ) ,
224224 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
225225 } ) ,
0 commit comments