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

Method SetContext

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

Sets the associated context for this module

Source from the content-addressed store, hash-verified

291
292 // Sets the associated context for this module
293 void SetContext(IRContext* c) { context_ = c; }
294
295 // Gets the associated context for this module
296 IRContext* context() const { return context_; }

Callers 1

IRContextMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected