You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now imagine I declared a large array for histogram or something as a member variable.
This is probably a dup of some issue (searched but couldn't find it in the ocean of open SPIR-V issues), since I'm certainly not the first person to discover this.
My suggestion to fix this is
namespacevk
{
namespaceimpl
{
// you'll need to magically generate and instantiate internally within Clang when you encounter ittemplate<typename T>
structAccessChain;
/*{ // actually emit the OpLoad operator T() const; // all members redeclared but with types exchanged from U to AccessChain<U>};*/
}
template<typename T>
AccessChain<T> RawBufferLoad(uint64_t addr);
}
The text was updated successfully, but these errors were encountered:
Glslang with
GL_EXT_buffer_reference
DXC with
vk::RawBufferLoad<Test>(addr).mem2
Now imagine I declared a large array for histogram or something as a member variable.
This is probably a dup of some issue (searched but couldn't find it in the ocean of open SPIR-V issues), since I'm certainly not the first person to discover this.
My suggestion to fix this is
The text was updated successfully, but these errors were encountered: