Lines Matching defs:env
139 // Note: |env| should ideally be declared const. However, due to a known
140 // issue with older versions of MSVC we would have to mark |env| as being
142 // that such capturing is not necessary. Not declaring |env| as const means
146 spv_target_env env = SPV_ENV_UNIVERSAL_1_3;
149 SpirvTools tools(env);
157 BuildModule(env, consumer, kReferenceModule, kFuzzAssembleOption);
162 BuildModule(env, consumer, kDonorModule, kFuzzAssembleOption);
180 [consumer, env](const std::vector<uint32_t>& binary,
185 BuildModule(env, consumer, binary.data(), binary.size());
201 Shrinker(env, consumer, reference_binary, no_facts, transformations,
211 BuildModule(env, consumer, shrinker_result.transformed_binary.data(),
324 spv_target_env env = SPV_ENV_UNIVERSAL_1_3;
327 SpirvTools tools(env);
335 BuildModule(env, consumer, kReferenceModule, kFuzzAssembleOption);
340 BuildModule(env, consumer, kDonorModule, kFuzzAssembleOption);
358 [consumer, env](const std::vector<uint32_t>& binary,
361 BuildModule(env, consumer, binary.data(), binary.size());
373 Shrinker(env, consumer, reference_binary, no_facts, transformations,