Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add CoopVec load/store pointer overloads #6822

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

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

fairywreath
Copy link
Contributor

No description provided.

@fairywreath fairywreath requested a review from a team as a code owner April 15, 2025 21:56
@fairywreath fairywreath marked this pull request as draft April 15, 2025 21:57
int32_t* ptr;
}

//TEST_INPUT:ubuffer(data=[1 2 3 4 5 6 7 8], stride=4),name=buf
Copy link
Collaborator

Choose a reason for hiding this comment

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

ptr isn't initialized with anything that is actually valid to read/write to.

TEST_INPUT allows you to assign a ubuffer to a pointer value, can you try that instead and turn this into an executable test?

Copy link
Collaborator

Choose a reason for hiding this comment

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

e.g.

//TEST_INPUT: set pObj = ubuffer(data=[2 0 0 0], stride=4);
uniform Obj* pObj;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks - is it possible to have these as output?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should be? I haven’t tried that yet…

@fairywreath fairywreath added the pr: non-breaking PRs without breaking changes label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: non-breaking PRs without breaking changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants