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

Allow more atomic instructions to use untyped pointer as an operand (SPV_KHR_untyped_pointers extension) #292

Open
vmaksimo opened this issue Oct 22, 2024 · 1 comment

Comments

@vmaksimo
Copy link

Should OpAtomicFAddEXT, OpAtomicFMinEXT, and OpAtomicFMaxEXT atomic instructions be also allowed to be used with SPV_KHR_untyped_pointers extension?
The main point is that these instructions do have a return type which can be used to interpret untyped pointer argument.
This will require modifications to SPV_EXT_shader_atomic_float_min_max, SPV_EXT_shader_atomic_float_add, and its 16-bit version.

@vmaksimo
Copy link
Author

One more, possibly related - should OpAtomicFlagTestAndSet and OpAtomicFlagClear also be allowed to use untyped pointers for Pointer operand?

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

No branches or pull requests

1 participant