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

Switch Binding Arrays on Metal to Argument Buffers #6751

Open
wants to merge 4 commits into
base: trunk
Choose a base branch
from

Conversation

cwfitzgerald
Copy link
Member

@cwfitzgerald cwfitzgerald commented Dec 16, 2024

Connections

Closes #3334
Closes #3640
Depends on #6732

Commits cannot be merged separately, but can be reviewed separately

@cwfitzgerald cwfitzgerald force-pushed the cw/argument-buffer-metal branch from 1f67c9f to 05236bc Compare December 16, 2024 05:37
@cwfitzgerald cwfitzgerald changed the title Move Partial Binding into Own File Switch Binding Arrays on Metal to Argument Buffers Dec 16, 2024
@cwfitzgerald cwfitzgerald force-pushed the cw/argument-buffer-metal branch 3 times, most recently from 7be0e51 to 8986532 Compare December 16, 2024 06:04
@cwfitzgerald cwfitzgerald force-pushed the cw/argument-buffer-metal branch 3 times, most recently from cb8d1d7 to 793f047 Compare December 23, 2024 01:19
@@ -48,7 +48,7 @@ env:
CARGO_INCREMENTAL: false
CARGO_TERM_COLOR: always
WGPU_DX12_COMPILER: dxc
RUST_LOG: info
RUST_LOG: debug
Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is a better setting anyway

Comment on lines +70 to +72
{
return;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Missed a feature check on this benchmark

@@ -10,6 +9,8 @@ use super::conv;
use crate::auxil::map_naga_stage;
use crate::TlasInstance;

use metal::foreign_types::ForeignType;
Copy link
Member Author

Choose a reason for hiding this comment

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

Trait import

(entry, layout)
});
for (entry, layout) in layout_and_entry_iter {
// Bindless path
Copy link
Member Author

Choose a reason for hiding this comment

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

The bindless path is entirely new, the bindful path is entirely the same.

@cwfitzgerald cwfitzgerald force-pushed the cw/argument-buffer-metal branch from 6857fc9 to 4ce012c Compare December 23, 2024 02:33
@cwfitzgerald cwfitzgerald marked this pull request as ready for review December 23, 2024 02:33
@cwfitzgerald cwfitzgerald requested review from a team as code owners December 23, 2024 02:33
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.

Partially bound descriptors on Metal Use Argument Buffers for binding_array on Metal
1 participant