File tree Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Expand file tree Collapse file tree 2 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -66,13 +66,8 @@ impl SpecializedMeshPipeline for GizmoPipeline2d {
66
66
} ) ,
67
67
layout : vec ! [ self . mesh_pipeline. view_layout. clone( ) ] ,
68
68
primitive : PrimitiveState {
69
- front_face : FrontFace :: Ccw ,
70
- cull_mode : None ,
71
- unclipped_depth : false ,
72
- polygon_mode : PolygonMode :: Fill ,
73
- conservative : false ,
74
69
topology : key. primitive_topology ( ) ,
75
- strip_index_format : None ,
70
+ .. Default :: default ( )
76
71
} ,
77
72
depth_stencil : None ,
78
73
multisample : MultisampleState {
Original file line number Diff line number Diff line change @@ -97,29 +97,15 @@ impl SpecializedMeshPipeline for GizmoPipeline3d {
97
97
} ) ,
98
98
layout : bind_group_layout,
99
99
primitive : PrimitiveState {
100
- front_face : FrontFace :: Ccw ,
101
- cull_mode : None ,
102
- unclipped_depth : false ,
103
- polygon_mode : PolygonMode :: Fill ,
104
- conservative : false ,
105
100
topology : key. primitive_topology ( ) ,
106
- strip_index_format : None ,
101
+ .. Default :: default ( )
107
102
} ,
108
103
depth_stencil : Some ( DepthStencilState {
109
104
format : TextureFormat :: Depth32Float ,
110
105
depth_write_enabled : false ,
111
106
depth_compare : CompareFunction :: Greater ,
112
- stencil : StencilState {
113
- front : StencilFaceState :: IGNORE ,
114
- back : StencilFaceState :: IGNORE ,
115
- read_mask : 0 ,
116
- write_mask : 0 ,
117
- } ,
118
- bias : DepthBiasState {
119
- constant : 0 ,
120
- slope_scale : 0.0 ,
121
- clamp : 0.0 ,
122
- } ,
107
+ stencil : Default :: default ( ) ,
108
+ bias : Default :: default ( ) ,
123
109
} ) ,
124
110
multisample : MultisampleState {
125
111
count : key. msaa_samples ( ) ,
You can’t perform that action at this time.
0 commit comments