Open
Description
In SPIR-V shaders, you cannot cast a pointer from one storage class to another (address space casts in llvm-ir). So we need to try to remove the address space casts when possible, and fails nicely when not possible.
This happens in HLSL for the this
pointer. See https://github.com/llvm/wg-hlsl/blob/main/proposals/0021-this-address-space.md for a discussion of the issues.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Active