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

[Bindless] Struct for unique addressing modes per dimension #863

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

Seanst98
Copy link
Contributor

This MR adds a struct allowing for unique addressing modes per dimension

base: $x_base_properties_t
members:
- type: $x_sampler_addressing_mode_t
name: addrModes[3]
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunatelly this won't work with the current generator. I think the simplest solution would be to just have three named fields for the addressing mode values.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this something that may change in the future? Ideally we'd like to use an array.

Copy link
Contributor

Choose a reason for hiding this comment

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

I've created #869 to add this support.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great, thanks! We'll keep an eye on this but will use the separate variables as a temporary solution.

@kbenzie kbenzie merged commit 099fe5e into oneapi-src:main Sep 18, 2023
26 checks passed
@Seanst98 Seanst98 deleted the sean/addr-mode-per-dimension branch January 31, 2024 11:57
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.

3 participants