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
|
@ -26,7 +26,7 @@ impl GPUPipelineLayout {
|
|||
bind_group_layouts: Vec<WebGPUBindGroupLayout>,
|
||||
pipeline_layout: WebGPUPipelineLayout,
|
||||
valid: bool,
|
||||
) -> GPUPipelineLayout {
|
||||
) -> Self {
|
||||
Self {
|
||||
reflector_: Reflector::new(),
|
||||
bind_group_layouts,
|
||||
|
@ -41,7 +41,7 @@ impl GPUPipelineLayout {
|
|||
bind_group_layouts: Vec<WebGPUBindGroupLayout>,
|
||||
pipeline_layout: WebGPUPipelineLayout,
|
||||
valid: bool,
|
||||
) -> DomRoot<GPUPipelineLayout> {
|
||||
) -> DomRoot<Self> {
|
||||
reflect_dom_object(
|
||||
Box::new(GPUPipelineLayout::new_inherited(
|
||||
bind_group_layouts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue