MCPcopy Create free account
hub / github.com/KhronosGroup/glslang / MemoryAccessString

Function MemoryAccessString

SPIRV/doc.cpp:829–841  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

827const int MemoryAccessCeiling = 6;
828
829const char* MemoryAccessString(int mem)
830{
831 switch (mem) {
832 case (int)MemoryAccessShift::Volatile: return "Volatile";
833 case (int)MemoryAccessShift::Aligned: return "Aligned";
834 case (int)MemoryAccessShift::Nontemporal: return "Nontemporal";
835 case (int)MemoryAccessShift::MakePointerAvailableKHR: return "MakePointerAvailableKHR";
836 case (int)MemoryAccessShift::MakePointerVisibleKHR: return "MakePointerVisibleKHR";
837 case (int)MemoryAccessShift::NonPrivatePointerKHR: return "NonPrivatePointerKHR";
838
839 default: return "Bad";
840 }
841}
842
843const int CooperativeMatrixOperandsCeiling = 6;
844

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected