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

Method SetTargetEnv

source/opt/optimizer.cpp:660–662  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

658}
659
660void Optimizer::SetTargetEnv(const spv_target_env env) {
661 impl_->target_env = env;
662}
663
664bool Optimizer::Run(const uint32_t* original_binary,
665 const size_t original_binary_size,

Callers 1

RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected