Lines Matching defs:dim

176     spv::Id makeArraySizeId(const glslang::TArraySizes&, int dim, bool allowZero = false);
338 switch (sampler.dim) {
1750 for (int dim = 0; dim < 3; ++dim) {
1751 if ((glslangIntermediate->getLocalSizeSpecId(dim) != glslang::TQualifier::layoutNotSet)) {
1758 for (int dim = 0; dim < 3; ++dim) {
1759 bool specConst = (glslangIntermediate->getLocalSizeSpecId(dim) != glslang::TQualifier::layoutNotSet);
1760 dimConstId.push_back(builder.makeUintConstant(glslangIntermediate->getLocalSize(dim), specConst));
1763 glslangIntermediate->getLocalSizeSpecId(dim));
1893 for (int dim = 0; dim < 3; ++dim) {
1894 bool specConst = (glslangIntermediate->getLocalSizeSpecId(dim) != glslang::TQualifier::layoutNotSet);
1895 dimConstId.push_back(builder.makeUintConstant(glslangIntermediate->getLocalSize(dim), specConst));
1898 glslangIntermediate->getLocalSizeSpecId(dim));
4679 for (int dim = type.getArraySizes()->getNumDims() - 1; dim > 0; --dim) {
4680 spvType = builder.makeArrayType(spvType, makeArraySizeId(*type.getArraySizes(), dim), stride);
4683 stride *= type.getArraySizes()->getDimSize(dim);
5033 spv::Id TGlslangToSpvTraverser::makeArraySizeId(const glslang::TArraySizes& arraySizes, int dim, bool allowZero)
5036 glslang::TIntermTyped* specNode = arraySizes.getDimNode(dim);
5046 int size = arraySizes.getDimSize(dim);
5606 cubeCompare = sampler.dim == glslang::EsdCube && sampler.arrayed && sampler.shadow;
5649 if ((sampler.dim != glslang::EsdRect && i == 3) || (sampler.dim == glslang::EsdRect && i == 2))
5653 if ((sampler.dim != glslang::EsdRect && i == 4) || (sampler.dim == glslang::EsdRect && i == 3))
6085 bool cubeCompare = sampler.dim == glslang::EsdCube && sampler.isArrayed() && sampler.isShadow();
6282 switch (sampler.dim) {
9744 for (int dim = 0; dim < 3; ++dim) {
9745 bool specConst = (glslangIntermediate->getLocalSizeSpecId(dim) != glslang::TQualifier::layoutNotSet);
9746 dimConstId.push_back(builder.makeUintConstant(glslangIntermediate->getLocalSize(dim), specConst));
9749 glslangIntermediate->getLocalSizeSpecId(dim));