Lines Matching refs:decorations
1669 … OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitBinary() local
1672 rValue = createBinaryOperation(node->getOp(), decorations, in visitBinary()
1823 OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitBinary() local
1826 spv::Id result = createBinaryOperation(node->getOp(), decorations, in visitBinary()
1915 OpDecorations decorations = { TranslatePrecisionDecoration(node->getOperationPrecision()), in visitUnary() local
1921 …result = createConversion(node->getOp(), decorations, resultType(), operand, node->getOperand()->g… in visitUnary()
1925 …result = createUnaryOperation(node->getOp(), decorations, resultType(), operand, node->getOperand(… in visitUnary()
1929 result = createInvertedSwizzle(decorations.precision, *node->getOperand(), result); in visitUnary()
1930 builder.addDecoration(result, decorations.nonUniform); in visitUnary()
1969 spv::Id result = createBinaryOperation(op, decorations, in visitUnary()
2372 OpDecorations decorations = { precision, in visitAggregate() local
2375 result = createBinaryOperation(binOp, decorations, in visitAggregate()
2476 OpDecorations decorations = { precision, in visitAggregate() local
2480 node->getOp(), decorations, in visitAggregate()
3728 …const auto getParamDecorations = [&](std::vector<spv::Decoration>& decorations, const glslang::TTy… in makeFunctions() argument
3731 decorations.push_back(paramPrecision); in makeFunctions()
3732 TranslateMemoryDecoration(type.getQualifier(), decorations, useVulkanMemoryModel); in makeFunctions()
3739 …decorations.push_back(type.getQualifier().restrict ? spv::DecorationRestrict : spv::DecorationAlia… in makeFunctions()
3741 …decorations.push_back(type.getQualifier().restrict ? spv::DecorationRestrictPointerEXT : spv::Deco… in makeFunctions()
4712 …Id TGlslangToSpvTraverser::createBinaryOperation(glslang::TOperator op, OpDecorations& decorations, argument
4851 return createBinaryMatrixOperation(binOp, decorations, typeId, left, right);
4855 builder.promoteScalar(decorations.precision, left, right);
4858 builder.addDecoration(result, decorations.noContraction);
4859 builder.addDecoration(result, decorations.nonUniform);
4860 return builder.setPrecision(result, decorations.precision);
4870 …spv::Id result = builder.createCompositeCompare(decorations.precision, left, right, op == glslang:…
4871 builder.addDecoration(result, decorations.nonUniform);
4932 builder.addDecoration(result, decorations.noContraction);
4933 builder.addDecoration(result, decorations.nonUniform);
4934 return builder.setPrecision(result, decorations.precision);
4954 spv::Id TGlslangToSpvTraverser::createBinaryMatrixOperation(spv::Op op, OpDecorations& decorations,… argument
4994 builder.addDecoration(result, decorations.noContraction);
4995 builder.addDecoration(result, decorations.nonUniform);
4996 return builder.setPrecision(result, decorations.precision);
5023 smearVec = builder.smearScalar(decorations.precision, left, vecType);
5025 smearVec = builder.smearScalar(decorations.precision, right, vecType);
5034 builder.addDecoration(result, decorations.noContraction);
5035 builder.addDecoration(result, decorations.nonUniform);
5036 results.push_back(builder.setPrecision(result, decorations.precision));
5040 …t = builder.setPrecision(builder.createCompositeConstruct(typeId, results), decorations.precision);
5041 builder.addDecoration(result, decorations.nonUniform);
5050 …vTraverser::createUnaryOperation(glslang::TOperator op, OpDecorations& decorations, spv::Id typeId, argument
5064 return createUnaryMatrixOperation(unaryOp, decorations, typeId, operand, typeProxy);
5322 return createAtomicOperation(op, decorations.precision, typeId, operands, typeProxy);
5447 builder.addDecoration(id, decorations.noContraction);
5448 builder.addDecoration(id, decorations.nonUniform);
5449 return builder.setPrecision(id, decorations.precision);
5453 spv::Id TGlslangToSpvTraverser::createUnaryMatrixOperation(spv::Op op, OpDecorations& decorations, … argument
5476 builder.addDecoration(destVec, decorations.noContraction);
5477 builder.addDecoration(destVec, decorations.nonUniform);
5478 results.push_back(builder.setPrecision(destVec, decorations.precision));
5482 …t = builder.setPrecision(builder.createCompositeConstruct(typeId, results), decorations.precision);
5483 builder.addDecoration(result, decorations.nonUniform);
5565 spv::Id TGlslangToSpvTraverser::createConversion(glslang::TOperator op, OpDecorations& decorations,… argument
5721 return createUnaryMatrixOperation(convOp, decorations, destType, operand, typeProxy);
5907 result = builder.setPrecision(result, decorations.precision);
5908 builder.addDecoration(result, decorations.nonUniform);