@@ -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 } ) ,
@@ -121,13 +121,13 @@ impl crate::framework::Example for Example {
121121 layout : Some ( & pipeline_layout_empty) ,
122122 vertex : wgpu:: VertexState {
123123 module : & shader_triangle_and_lines,
124- entry_point : "vs_main" ,
124+ entry_point : Some ( "vs_main" ) ,
125125 compilation_options : Default :: default ( ) ,
126126 buffers : & [ ] ,
127127 } ,
128128 fragment : Some ( wgpu:: FragmentState {
129129 module : & shader_triangle_and_lines,
130- entry_point : "fs_main_blue" ,
130+ entry_point : Some ( "fs_main_blue" ) ,
131131 compilation_options : Default :: default ( ) ,
132132 targets : & [ Some ( RENDER_TARGET_FORMAT . into ( ) ) ] ,
133133 } ) ,
@@ -147,13 +147,13 @@ impl crate::framework::Example for Example {
147147 layout : Some ( & pipeline_layout_empty) ,
148148 vertex : wgpu:: VertexState {
149149 module : & shader_triangle_and_lines,
150- entry_point : "vs_main" ,
150+ entry_point : Some ( "vs_main" ) ,
151151 compilation_options : Default :: default ( ) ,
152152 buffers : & [ ] ,
153153 } ,
154154 fragment : Some ( wgpu:: FragmentState {
155155 module : & shader_triangle_and_lines,
156- entry_point : "fs_main_white" ,
156+ entry_point : Some ( "fs_main_white" ) ,
157157 compilation_options : Default :: default ( ) ,
158158 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
159159 } ) ,
@@ -210,13 +210,13 @@ impl crate::framework::Example for Example {
210210 layout : Some ( & pipeline_layout) ,
211211 vertex : wgpu:: VertexState {
212212 module : & shader,
213- entry_point : "vs_main" ,
213+ entry_point : Some ( "vs_main" ) ,
214214 compilation_options : Default :: default ( ) ,
215215 buffers : & [ ] ,
216216 } ,
217217 fragment : Some ( wgpu:: FragmentState {
218218 module : & shader,
219- entry_point : "fs_main" ,
219+ entry_point : Some ( "fs_main" ) ,
220220 compilation_options : Default :: default ( ) ,
221221 targets : & [ Some ( config. view_formats [ 0 ] . into ( ) ) ] ,
222222 } ) ,
0 commit comments