@@ -735,7 +735,6 @@ impl PipelineCache {
735735 let compilation_options = PipelineCompilationOptions {
736736 constants : & std:: collections:: HashMap :: new ( ) ,
737737 zero_initialize_workgroup_memory : false ,
738- vertex_pulling_transform : Default :: default ( ) ,
739738 } ;
740739
741740 let descriptor = RawRenderPipelineDescriptor {
@@ -747,15 +746,15 @@ impl PipelineCache {
747746 primitive : descriptor. primitive ,
748747 vertex : RawVertexState {
749748 buffers : & vertex_buffer_layouts,
750- entry_point : descriptor. vertex . entry_point . deref ( ) ,
749+ entry_point : Some ( descriptor. vertex . entry_point . deref ( ) ) ,
751750 module : & vertex_module,
752751 // TODO: Should this be the same as the fragment compilation options?
753752 compilation_options : compilation_options. clone ( ) ,
754753 } ,
755754 fragment : fragment_data
756755 . as_ref ( )
757756 . map ( |( module, entry_point, targets) | RawFragmentState {
758- entry_point,
757+ entry_point : Some ( entry_point ) ,
759758 module,
760759 targets,
761760 // TODO: Should this be the same as the vertex compilation options?
@@ -812,12 +811,11 @@ impl PipelineCache {
812811 label : descriptor. label . as_deref ( ) ,
813812 layout : layout. as_ref ( ) . map ( |layout| -> & PipelineLayout { layout } ) ,
814813 module : & compute_module,
815- entry_point : & descriptor. entry_point ,
814+ entry_point : Some ( & descriptor. entry_point ) ,
816815 // TODO: Expose this somehow
817816 compilation_options : PipelineCompilationOptions {
818817 constants : & std:: collections:: HashMap :: new ( ) ,
819818 zero_initialize_workgroup_memory : false ,
820- vertex_pulling_transform : Default :: default ( ) ,
821819 } ,
822820 cache : None ,
823821 } ;
0 commit comments