MCPcopy Create free account
hub / github.com/KhronosGroup/SPIRV-Tools / SetMemoryModel

Method SetMemoryModel

source/opt/module.h:360–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) {
361 memory_model_ = std::move(m);
362}
363
364inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) {
365 sampled_image_address_mode_ = std::move(m);

Callers 2

MergeModulesFunction · 0.45
AddInstructionMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected