Lines Matching defs:components
2437 // these require changing a 64-bit scaler -> a vector of 32-bit components
2482 std::vector<spv::Id> components;
2483 components.push_back(builder.createCompositeExtract(object, builder.getContainedTypeId(objectTypeId), 0));
2484 components.push_back(builder.createCompositeExtract(object, builder.getContainedTypeId(objectTypeId), 1));
2488 builder.createCompositeConstruct(vecType, components));
5813 int components = node->getType().getVectorSize();
5819 // These must produce 4 components, per SPIR-V spec. We'll add a conversion constructor if needed.
5823 components = 4;
5826 glslang::TType returnType(node->getType().getBasicType(), glslang::EvqTemporary, components);
5917 if (components != node->getType().getVectorSize())
6278 // unused components will appear after all used components."
6312 if (components != node->getType().getVectorSize())
6590 // No matrix involved; make both operands be the same number of components, if needed
7786 std::vector<spv::Id> components;
7788 components.push_back(constant);
7789 return builder.makeCompositeConstant(vectorTypeId, components);
8105 std::vector<spv::Id> components;
8106 components.push_back(builder.createCompositeExtract(result, uintType, 0));
8107 components.push_back(builder.createCompositeExtract(result, uintType, 1));
8111 builder.createCompositeConstruct(uvec2Type, components));