Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement GPURenderPipeline #26714

Merged
merged 2 commits into from May 30, 2020
Merged

Conversation

kunalmohan
Copy link
Contributor

@kunalmohan kunalmohan commented May 29, 2020

We need to wait for #26699 to merge before this.
A significant amount of validation still needs to be added. I plan on doing that in a follow-up PR.
r?@kvark


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes fix #___ (GitHub issue number if applicable)
  • There are tests for these changes OR
  • These changes do not require tests because ___

@highfive
Copy link

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/bindings/codegen/CodegenRust.py, components/script/dom/gpupipelinelayout.rs, components/script/dom/gpurenderpipeline.rs, components/script/dom/webidls/GPUDevice.webidl, components/script/dom/identityhub.rs and 7 more
  • @KiChjang: components/script/dom/bindings/codegen/CodegenRust.py, components/script/dom/gpupipelinelayout.rs, components/script/dom/gpurenderpipeline.rs, components/script/dom/webidls/GPUDevice.webidl, components/script/dom/identityhub.rs and 7 more

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label May 29, 2020
@highfive
Copy link

warning Warning warning

  • These commits modify script code, but no tests are modified. Please consider adding a test!

Copy link
Member

@kvark kvark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great overall, just a few small notes

components/script/dom/gpudevice.rs Outdated Show resolved Hide resolved
components/script/dom/gpudevice.rs Outdated Show resolved Hide resolved
components/script/dom/gpudevice.rs Outdated Show resolved Hide resolved
components/script/dom/gpudevice.rs Show resolved Hide resolved
components/script/dom/gpudevice.rs Outdated Show resolved Hide resolved
components/webgpu/lib.rs Show resolved Hide resolved
@kunalmohan
Copy link
Contributor Author

We now need to wait for #26718 instead.

Add webidl for GPURenderPipeline and implement GPUDevice.createRenderPipeline()
@kunalmohan kunalmohan marked this pull request as ready for review May 30, 2020 06:11
@kunalmohan
Copy link
Contributor Author

I have rebased it and this should now be ready to merge.

@kunalmohan
Copy link
Contributor Author

@jdm This PR also includes changes to assert and makeDictionaryName() in CodegenRust.py in a separate commit.

@kunalmohan kunalmohan added this to In progress in WebGPU MVP via automation May 30, 2020
@jdm
Copy link
Member

jdm commented May 30, 2020

@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 130de8b has been approved by jdm

@highfive highfive assigned jdm and unassigned kvark May 30, 2020
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels May 30, 2020
@bors-servo
Copy link
Contributor

⌛ Testing commit 130de8b with merge 05e5fbc...

bors-servo added a commit that referenced this pull request May 30, 2020
Implement GPURenderPipeline

<!-- Please describe your changes on the following line: -->
We need to wait for #26699 to merge before this.
A significant amount of validation still needs to be added. I plan on doing that in a follow-up PR.
r?@kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@bors-servo
Copy link
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels May 30, 2020
@jdm
Copy link
Member

jdm commented May 30, 2020

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit 130de8b with merge 9219126...

bors-servo added a commit that referenced this pull request May 30, 2020
Implement GPURenderPipeline

<!-- Please describe your changes on the following line: -->
We need to wait for #26699 to merge before this.
A significant amount of validation still needs to be added. I plan on doing that in a follow-up PR.
r?@kvark

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels May 30, 2020
@bors-servo
Copy link
Contributor

💔 Test failed - status-taskcluster

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels May 30, 2020
@jdm
Copy link
Member

jdm commented May 30, 2020

@bors-servo retry

@bors-servo
Copy link
Contributor

⌛ Testing commit 130de8b with merge e0f3e9b...

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels May 30, 2020
@bors-servo
Copy link
Contributor

☀️ Test successful - status-taskcluster
Approved by: jdm
Pushing e0f3e9b to master...

@bors-servo bors-servo merged commit e0f3e9b into servo:master May 30, 2020
WebGPU MVP automation moved this from In progress to Done May 30, 2020
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label May 30, 2020
@kunalmohan kunalmohan deleted the gpu-render-pipeline branch May 30, 2020 18:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
WebGPU MVP
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

5 participants