mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update wgpu-core and wgpu-types
This commit is contained in:
parent
1d4efb48ba
commit
3b5ede153d
18 changed files with 58 additions and 90 deletions
|
@ -32,7 +32,7 @@ impl GPUBindGroupLayout {
|
|||
bind_group_layout: WebGPUBindGroupLayout,
|
||||
bindings: Vec<GPUBindGroupLayoutEntry>,
|
||||
valid: bool,
|
||||
) -> GPUBindGroupLayout {
|
||||
) -> Self {
|
||||
Self {
|
||||
reflector_: Reflector::new(),
|
||||
channel,
|
||||
|
@ -49,7 +49,7 @@ impl GPUBindGroupLayout {
|
|||
bind_group_layout: WebGPUBindGroupLayout,
|
||||
bindings: Vec<GPUBindGroupLayoutEntry>,
|
||||
valid: bool,
|
||||
) -> DomRoot<GPUBindGroupLayout> {
|
||||
) -> DomRoot<Self> {
|
||||
reflect_dom_object(
|
||||
Box::new(GPUBindGroupLayout::new_inherited(
|
||||
channel,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue