Lines Matching defs:scope
623 spv::Scope scope = spv::ScopeMax;
626 // coherent defaults to Device scope in the old model, QueueFamilyKHR scope in the new model
627 scope = glslangIntermediate->usingVulkanMemoryModel() ? spv::ScopeQueueFamilyKHR : spv::ScopeDevice;
629 scope = spv::ScopeDevice;
631 scope = spv::ScopeQueueFamilyKHR;
633 scope = spv::ScopeWorkgroup;
635 scope = spv::ScopeSubgroup;
637 scope = spv::ScopeShaderCallKHR;
639 if (glslangIntermediate->usingVulkanMemoryModel() && scope == spv::ScopeDevice) {
643 return scope;
1453 // if they are the global-scope-class, not the function parameter
4635 spv::Id scope = makeArraySizeId(*type.getTypeParameters()->arraySizes, 1);
4639 spvType = builder.makeCooperativeMatrixTypeNV(spvType, scope, rows, cols);
4652 spv::Id scope = makeArraySizeId(*type.getTypeParameters()->arraySizes, 0);
4657 spvType = builder.makeCooperativeMatrixTypeKHR(spvType, scope, rows, cols, use);
7912 // scope defaults to Device in the old model, QueueFamilyKHR in the new model
8060 spv::IdImmediate scope = { true, builder.makeUintConstant(spv::ScopeSubgroup) };
8061 spvGroupOperands.push_back(scope);
8248 spv::IdImmediate scope = { true, builder.makeUintConstant(spv::ScopeSubgroup) };
8249 spvGroupOperands.push_back(scope);
8254 spv::IdImmediate scope = { true, builder.makeUintConstant(spv::ScopeSubgroup) };
8255 spvGroupOperands.push_back(scope);
9261 // GLSL memory barriers use queuefamily scope in new model, device scope in old model