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

[vulkan] Less sync overhead for GGUI & Device API Examples #5880

Merged
merged 21 commits into from
Sep 1, 2022

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented Aug 25, 2022

This contains #5749

Since there's a bunch of fixes needed to pass CI, and there's also a bunch of related device API fixes. I didn't have enough time to separate these two change-sets, sorry for that for all the reviewers.

@netlify
Copy link

netlify bot commented Aug 25, 2022

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 85efb16
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/630bed8b40f10e00082ef9db
😎 Deploy Preview https://deploy-preview-5880--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@bobcao3 bobcao3 requested review from PENGUINLIONG, ailzhang and k-ye and removed request for PENGUINLIONG August 25, 2022 06:46
@bobcao3 bobcao3 changed the title [vulkan][gui][example] Less sync overhead for GGUI & Device API Examples [vulkan][gui][examples] Less sync overhead for GGUI & Device API Examples Aug 25, 2022
@bobcao3 bobcao3 changed the title [vulkan][gui][examples] Less sync overhead for GGUI & Device API Examples [vulkan][gui] Less sync overhead for GGUI & Device API Examples Aug 25, 2022
@bobcao3 bobcao3 changed the title [vulkan][gui] Less sync overhead for GGUI & Device API Examples [vulkan] Less sync overhead for GGUI & Device API Examples Aug 25, 2022
@bobcao3 bobcao3 force-pushed the bobcao3/rhi_examples branch from f826f43 to a0ca3da Compare August 27, 2022 22:14
@bobcao3 bobcao3 force-pushed the bobcao3/rhi_examples branch from a0ca3da to 69eb34c Compare August 27, 2022 22:19
@bobcao3 bobcao3 force-pushed the bobcao3/rhi_examples branch from 106862b to 4b22098 Compare August 27, 2022 22:24
@bobcao3
Copy link
Collaborator Author

bobcao3 commented Aug 28, 2022

/rerun

3 similar comments
@bobcao3
Copy link
Collaborator Author

bobcao3 commented Aug 28, 2022

/rerun

@bobcao3
Copy link
Collaborator Author

bobcao3 commented Aug 28, 2022

/rerun

@bobcao3
Copy link
Collaborator Author

bobcao3 commented Aug 28, 2022

/rerun

@bobcao3
Copy link
Collaborator Author

bobcao3 commented Aug 30, 2022

/rerun

@ailzhang
Copy link
Contributor

Thanks! fyi reviewing in progress as this is large... will try to get it done by EOW.
TODO: pull this locally and run the rhi_examples.

Copy link
Member

@PENGUINLIONG PENGUINLIONG left a comment

Choose a reason for hiding this comment

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

lgtm otherwise

@PENGUINLIONG
Copy link
Member

thank you!

mat4 model = mat4(1.0) * (1.0 - ubo.has_attribute) + model_tmp * ubo.has_attribute;

gl_Position = ubo.scene.projection * ubo.scene.view * model * vec4(in_position, 1.0);
gl_Position = ubo.scene.projection * ubo.scene.view * vec4(in_position, 1.0);
Copy link
Member

Choose a reason for hiding this comment

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

Why should we remove the implementation of mesh instancing in mesh shader?

@@ -265,7 +265,7 @@ def render():
render()
write_temp_image(window)
render()
verify_image(window, 'test_set_image')
verify_image(window, 'test_set_image', 0.5)
Copy link
Member

Choose a reason for hiding this comment

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

Why we should change tolerance from 0.1 to 0.5?

This was referenced Sep 1, 2022
ailzhang pushed a commit that referenced this pull request Sep 18, 2022
strongoier pushed a commit that referenced this pull request Sep 19, 2022
Split from #5880

Depending on #5969

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants