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

[gfx] Update Device API: Splitting ResourceBinder into seperate ShaderResourceSet & RasterResources #6954

Merged
merged 24 commits into from
Dec 30, 2022

Conversation

bobcao3
Copy link
Collaborator

@bobcao3 bobcao3 commented Dec 21, 2022

Issue: #6832

Brief Summary

ResourceBinder is not split into two structures, one controls binding of shared-accessible resources, the other is dedicated to control binding of rasterizer states (vertex buffers, etc.)

This makes the mapping onto Vulkan DescriptorSets easier, and cleans up the implementation of resource binding all over the place. In addition, these binding states are now no longer attached to the program and can be thus pre-filled / pre-allocated to achieve lower overhead.

@netlify
Copy link

netlify bot commented Dec 21, 2022

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit 28884c5
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/63aea354ce5aff0009bf69cf

@bobcao3 bobcao3 marked this pull request as draft December 22, 2022 07:44
@bobcao3 bobcao3 force-pushed the vulkan-rhi branch 2 times, most recently from 40f0307 to 2b0973a Compare December 22, 2022 08:51
Copy link
Member

@k-ye k-ye left a comment

Choose a reason for hiding this comment

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

LGTM!

taichi/rhi/dx/dx_device.h Show resolved Hide resolved
@bobcao3
Copy link
Collaborator Author

bobcao3 commented Dec 29, 2022

/rerun

@bobcao3
Copy link
Collaborator Author

bobcao3 commented Dec 30, 2022

@bobcao3 bobcao3 marked this pull request as ready for review December 30, 2022 21:42
@bobcao3 bobcao3 merged commit 4223bf3 into taichi-dev:master Dec 30, 2022
feisuzhu added a commit to feisuzhu/taichi that referenced this pull request Dec 31, 2022
…te ShaderResourceSet & RasterResources (taichi-dev#6954)"

This reverts commit 4223bf3.
feisuzhu added a commit that referenced this pull request Dec 31, 2022
#7019)

…te ShaderResourceSet & RasterResources (#6954)"

This reverts commit 4223bf3.

Issue: #

### Brief Summary
feisuzhu pushed a commit to feisuzhu/taichi that referenced this pull request Dec 31, 2022
…rResourceSet & RasterResources (taichi-dev#6954)

Issue: taichi-dev#6832

### Brief Summary

ResourceBinder is not split into two structures, one controls binding of
shared-accessible resources, the other is dedicated to control binding
of rasterizer states (vertex buffers, etc.)

This makes the mapping onto Vulkan DescriptorSets easier, and cleans up
the implementation of resource binding all over the place. In addition,
these binding states are now no longer attached to the program and can
be thus pre-filled / pre-allocated to achieve lower overhead.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
feisuzhu added a commit that referenced this pull request Dec 31, 2022
#7020)

…rResourceSet & RasterResources (#6954)

This is a re-apply of #6954

Author: Bob Cao <[email protected]>
feisuzhu pushed a commit to feisuzhu/taichi that referenced this pull request Jan 5, 2023
…rResourceSet & RasterResources (taichi-dev#6954)

Issue: taichi-dev#6832

### Brief Summary

ResourceBinder is not split into two structures, one controls binding of
shared-accessible resources, the other is dedicated to control binding
of rasterizer states (vertex buffers, etc.)

This makes the mapping onto Vulkan DescriptorSets easier, and cleans up
the implementation of resource binding all over the place. In addition,
these binding states are now no longer attached to the program and can
be thus pre-filled / pre-allocated to achieve lower overhead.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
feisuzhu added a commit to feisuzhu/taichi that referenced this pull request Jan 5, 2023
taichi-dev#7019)

…te ShaderResourceSet & RasterResources (taichi-dev#6954)"

This reverts commit 4223bf3.

Issue: #

### Brief Summary
feisuzhu added a commit to feisuzhu/taichi that referenced this pull request Jan 5, 2023
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
…rResourceSet & RasterResources (taichi-dev#6954)

Issue: taichi-dev#6832

### Brief Summary

ResourceBinder is not split into two structures, one controls binding of
shared-accessible resources, the other is dedicated to control binding
of rasterizer states (vertex buffers, etc.)

This makes the mapping onto Vulkan DescriptorSets easier, and cleans up
the implementation of resource binding all over the place. In addition,
these binding states are now no longer attached to the program and can
be thus pre-filled / pre-allocated to achieve lower overhead.

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
taichi-dev#7019)

…te ShaderResourceSet & RasterResources (taichi-dev#6954)"

This reverts commit 4223bf3.

Issue: #

### Brief Summary
quadpixels pushed a commit to quadpixels/taichi that referenced this pull request May 13, 2023
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.

2 participants