@@ -734,8 +734,9 @@ impl PipelineCache {
734734
735735 // TODO: Expose the rest of this somehow
736736 let compilation_options = PipelineCompilationOptions {
737- constants : & default ( ) ,
738- zero_initialize_workgroup_memory : descriptor. zero_initialize_workgroup_memory ,
737+ constants : & std:: collections:: HashMap :: new ( ) ,
738+ zero_initialize_workgroup_memory : false ,
739+ vertex_pulling_transform : Default :: default ( ) ,
739740 } ;
740741
741742 let descriptor = RawRenderPipelineDescriptor {
@@ -747,15 +748,15 @@ impl PipelineCache {
747748 primitive : descriptor. primitive ,
748749 vertex : RawVertexState {
749750 buffers : & vertex_buffer_layouts,
750- entry_point : Some ( descriptor. vertex . entry_point . deref ( ) ) ,
751+ entry_point : descriptor. vertex . entry_point . deref ( ) ,
751752 module : & vertex_module,
752753 // TODO: Should this be the same as the fragment compilation options?
753754 compilation_options : compilation_options. clone ( ) ,
754755 } ,
755756 fragment : fragment_data
756757 . as_ref ( )
757758 . map ( |( module, entry_point, targets) | RawFragmentState {
758- entry_point : Some ( entry_point ) ,
759+ entry_point,
759760 module,
760761 targets,
761762 // TODO: Should this be the same as the vertex compilation options?
@@ -813,12 +814,12 @@ impl PipelineCache {
813814 label : descriptor. label . as_deref ( ) ,
814815 layout : layout. as_ref ( ) . map ( |layout| -> & PipelineLayout { layout } ) ,
815816 module : & compute_module,
816- entry_point : Some ( & descriptor. entry_point ) ,
817- // TODO: Expose the rest of this somehow
817+ entry_point : & descriptor. entry_point ,
818+ // TODO: Expose this somehow
818819 compilation_options : PipelineCompilationOptions {
819- constants : & default ( ) ,
820- zero_initialize_workgroup_memory : descriptor
821- . zero_initialize_workgroup_memory ,
820+ constants : & std :: collections :: HashMap :: new ( ) ,
821+ zero_initialize_workgroup_memory : false ,
822+ vertex_pulling_transform : Default :: default ( ) ,
822823 } ,
823824 cache : None ,
824825 } ;
0 commit comments