File tree Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Expand file tree Collapse file tree 6 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ Per Keep a Changelog there are 6 main categories of changes:
37
37
## Unreleased
38
38
39
39
- Internal: Fixed Scissor-Rect to not span across Framebuffersize, by limiting to framebuffer width. @PixelboysTM
40
+ - Bump wgpu version to 0.18. @calcoph
40
41
41
42
## v0.24.0
42
43
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ bytemuck = "1"
46
46
imgui = " 0.11"
47
47
log = " 0.4"
48
48
smallvec = " 1"
49
- wgpu = " 0.17 "
49
+ wgpu = " 0.18 "
50
50
51
51
[dev-dependencies ]
52
52
bytemuck = { version = " 1.13" , features = [" derive" ] }
Original file line number Diff line number Diff line change @@ -307,10 +307,12 @@ impl Example {
307
307
b : 0.3 ,
308
308
a : 1.0 ,
309
309
} ) ,
310
- store : true ,
310
+ store : wgpu :: StoreOp :: Store ,
311
311
} ,
312
312
} ) ] ,
313
313
depth_stencil_attachment : None ,
314
+ timestamp_writes : None ,
315
+ occlusion_query_set : None ,
314
316
} ) ;
315
317
rpass. push_debug_group ( "Prepare data for draw." ) ;
316
318
rpass. set_pipeline ( & self . pipeline ) ;
@@ -566,10 +568,12 @@ fn main() {
566
568
ops : wgpu:: Operations {
567
569
load : wgpu:: LoadOp :: Load , // Do not clear
568
570
// load: wgpu::LoadOp::Clear(clear_color),
569
- store : true ,
571
+ store : wgpu :: StoreOp :: Store ,
570
572
} ,
571
573
} ) ] ,
572
574
depth_stencil_attachment : None ,
575
+ timestamp_writes : None ,
576
+ occlusion_query_set : None ,
573
577
} ) ;
574
578
575
579
renderer
Original file line number Diff line number Diff line change @@ -229,10 +229,12 @@ fn main() {
229
229
resolve_target : None ,
230
230
ops : wgpu:: Operations {
231
231
load : wgpu:: LoadOp :: Clear ( clear_color) ,
232
- store : true ,
232
+ store : wgpu :: StoreOp :: Store ,
233
233
} ,
234
234
} ) ] ,
235
235
depth_stencil_attachment : None ,
236
+ timestamp_writes : None ,
237
+ occlusion_query_set : None ,
236
238
} ) ;
237
239
238
240
renderer
Original file line number Diff line number Diff line change @@ -214,10 +214,12 @@ fn main() {
214
214
resolve_target : None ,
215
215
ops : wgpu:: Operations {
216
216
load : wgpu:: LoadOp :: Clear ( clear_color) ,
217
- store : true ,
217
+ store : wgpu :: StoreOp :: Store ,
218
218
} ,
219
219
} ) ] ,
220
220
depth_stencil_attachment : None ,
221
+ timestamp_writes : None ,
222
+ occlusion_query_set : None ,
221
223
} ) ;
222
224
223
225
renderer
Original file line number Diff line number Diff line change @@ -730,8 +730,12 @@ impl Renderer {
730
730
let scissors = (
731
731
clip_rect[ 0 ] . max ( 0.0 ) . floor ( ) as u32 ,
732
732
clip_rect[ 1 ] . max ( 0.0 ) . floor ( ) as u32 ,
733
- ( clip_rect[ 2 ] . min ( fb_size[ 0 ] ) - clip_rect[ 0 ] . max ( 0.0 ) ) . abs ( ) . ceil ( ) as u32 ,
734
- ( clip_rect[ 3 ] . min ( fb_size[ 1 ] ) - clip_rect[ 1 ] . max ( 0.0 ) ) . abs ( ) . ceil ( ) as u32 ,
733
+ ( clip_rect[ 2 ] . min ( fb_size[ 0 ] ) - clip_rect[ 0 ] . max ( 0.0 ) )
734
+ . abs ( )
735
+ . ceil ( ) as u32 ,
736
+ ( clip_rect[ 3 ] . min ( fb_size[ 1 ] ) - clip_rect[ 1 ] . max ( 0.0 ) )
737
+ . abs ( )
738
+ . ceil ( ) as u32 ,
735
739
) ;
736
740
737
741
// XXX: Work-around for wgpu issue [1] by only issuing draw
You can’t perform that action at this time.
0 commit comments