Lines Matching defs:specConstant
159 spv::Id createSpvConstantFromConstUnionArray(const glslang::TType& type, const glslang::TConstUnionArray&, int& nextConst, bool specConstant);
4167 // - emit specialization constant-building instructions for specConstant
4174 if (! node.getQualifier().specConstant) {
4202 // During the AST traversal, if the node is marked as 'specConstant', SpecConstantOpModeGuard
4225 spv::Id TGlslangToSpvTraverser::createSpvConstantFromConstUnionArray(const glslang::TType& glslangType, const glslang::TConstUnionArray& consts, int& nextConst, bool specConstant)
4282 scalar = builder.makeIntConstant(zero ? 0 : consts[nextConst].getIConst(), specConstant);
4285 scalar = builder.makeUintConstant(zero ? 0 : consts[nextConst].getUConst(), specConstant);
4288 scalar = builder.makeInt64Constant(zero ? 0 : consts[nextConst].getI64Const(), specConstant);
4291 scalar = builder.makeUint64Constant(zero ? 0 : consts[nextConst].getU64Const(), specConstant);
4294 scalar = builder.makeFloatConstant(zero ? 0.0F : (float)consts[nextConst].getDConst(), specConstant);
4297 scalar = builder.makeDoubleConstant(zero ? 0.0 : consts[nextConst].getDConst(), specConstant);
4300 scalar = builder.makeBoolConstant(zero ? false : consts[nextConst].getBConst(), specConstant);