@@ -735,7 +735,6 @@ impl PipelineCache {
735
735
let compilation_options = PipelineCompilationOptions {
736
736
constants : & std:: collections:: HashMap :: new ( ) ,
737
737
zero_initialize_workgroup_memory : false ,
738
- vertex_pulling_transform : Default :: default ( ) ,
739
738
} ;
740
739
741
740
let descriptor = RawRenderPipelineDescriptor {
@@ -747,15 +746,15 @@ impl PipelineCache {
747
746
primitive : descriptor. primitive ,
748
747
vertex : RawVertexState {
749
748
buffers : & vertex_buffer_layouts,
750
- entry_point : descriptor. vertex . entry_point . deref ( ) ,
749
+ entry_point : Some ( descriptor. vertex . entry_point . deref ( ) ) ,
751
750
module : & vertex_module,
752
751
// TODO: Should this be the same as the fragment compilation options?
753
752
compilation_options : compilation_options. clone ( ) ,
754
753
} ,
755
754
fragment : fragment_data
756
755
. as_ref ( )
757
756
. map ( |( module, entry_point, targets) | RawFragmentState {
758
- entry_point,
757
+ entry_point : Some ( entry_point ) ,
759
758
module,
760
759
targets,
761
760
// TODO: Should this be the same as the vertex compilation options?
@@ -812,12 +811,11 @@ impl PipelineCache {
812
811
label : descriptor. label . as_deref ( ) ,
813
812
layout : layout. as_ref ( ) . map ( |layout| -> & PipelineLayout { layout } ) ,
814
813
module : & compute_module,
815
- entry_point : & descriptor. entry_point ,
814
+ entry_point : Some ( & descriptor. entry_point ) ,
816
815
// TODO: Expose this somehow
817
816
compilation_options : PipelineCompilationOptions {
818
817
constants : & std:: collections:: HashMap :: new ( ) ,
819
818
zero_initialize_workgroup_memory : false ,
820
- vertex_pulling_transform : Default :: default ( ) ,
821
819
} ,
822
820
cache : None ,
823
821
} ;
0 commit comments