Skip to content

[SPIR-V] Fix r-value being used in mul intrinsic #7489

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Keenuts
Copy link
Collaborator

@Keenuts Keenuts commented May 27, 2025

When dealing with the Load method on buffers, the operator call can emit a pointer instead of an actual load, and the user is then responsible on loading the value if required.
The mul instrinsic code was not handling this, hence caused the pointer to be passed as-is in SPIR-V.

Fixes #7246

When dealing with the Load method on buffers, the operator call
can emit a pointer instead of an actual load, and the user is then
responsible on loading the value if required.
The `mul` instrinsic code was not handling this, hence caused the
pointer to be passed as-is in SPIR-V.

Fixes microsoft#7246

Signed-off-by: Nathan Gauër <brioche@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New
Development

Successfully merging this pull request may close these issues.

[SPIR-V] invalid matrix-vector multiplication output
1 participant