Home | History | Annotate | Download | only in SPIRV

Lines Matching defs:memory

303 // Translate glslang type to SPIR-V memory decorations.
304 void TranslateMemoryDecoration(const glslang::TQualifier& qualifier, std::vector<spv::Decoration>& memory)
307 memory.push_back(spv::DecorationCoherent);
309 memory.push_back(spv::DecorationVolatile);
311 memory.push_back(spv::DecorationRestrict);
313 memory.push_back(spv::DecorationNonWritable);
315 memory.push_back(spv::DecorationNonReadable);
1102 // For now, we consider all user variables as being in memory, so they are pointers,
1936 // next layer copies r-values into memory to use the access-chain mechanism
2036 // next layer copies r-values into memory to use the access-chain mechanism
2583 // Add memory decorations only to top-level members of shader storage block
2584 std::vector<spv::Decoration> memory;
2585 TranslateMemoryDecoration(memberQualifier, memory);
2586 for (unsigned int i = 0; i < memory.size(); ++i)
2587 addMemberDecoration(spvType, member, memory[i]);
4769 // - compare-exchange has an extra memory semantics
4774 spvAtomicOperands.push_back(builder.makeUintConstant(spv::MemorySemanticsMaskNone)); // TBD: what are the correct memory semantics?
4776 // There are 2 memory semantics for compare-exchange. And the operand order of "comparator" and "new value" in GLSL
5376 // Control barrier with non-"None" semantic is also a memory barrier.
5380 // Control barrier with non-"None" semantic is also a memory barrier.
5387 // Control barrier with non-"None" semantic is also a memory barrier.
5467 std::vector<spv::Decoration> memory;
5468 TranslateMemoryDecoration(symbol->getType().getQualifier(), memory);
5469 for (unsigned int i = 0; i < memory.size(); ++i)
5470 addDecoration(id, memory[i]);