Lines Matching defs:isSint
646 std::string getColorFormatStr (const int numComponents, const bool isUint, const bool isSint)
650 str << (isUint ? "uint" : isSint ? "int" : "float");
652 str << (isUint ? "u" : isSint ? "i" : "") << "vec" << numComponents;
657 std::string getSamplerTypeStr (const int numLayers, const bool isUint, const bool isSint)
660 str << (isUint ? "u" : isSint ? "i" : "") << "sampler2DMS" << (numLayers > 1 ? "Array" : "");
666 std::string getColorStr (const T* data, int numComponents, const bool isUint, const bool isSint)
671 str << (isUint ? "u" : isSint ? "i" : "") << "vec4(";
690 std::string getReferenceClearColorStr (const VkFormat format, const int numComponents, const bool isUint, const bool isSint)
694 return getColorStr(clearColor.uint32, numComponents, isUint, isSint);
695 else if (isSint)
696 return getColorStr(clearColor.int32, numComponents, isUint, isSint);
698 return getColorStr(clearColor.float32, numComponents, isUint, isSint);
702 std::string getReferencePrimitiveColorStr (int numComponents, const bool isUint, const bool isSint)
705 return getColorStr(color.getPtr(), numComponents, isUint, isSint);
929 const bool isSint = isIntFormat(caseDef.colorFormat);
955 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint);
1102 const bool isSint = isIntFormat(caseDef.colorFormat);
1103 const std::string texelFormatStr = (isUint ? "uvec4" : isSint ? "ivec4" : "vec4");
1104 const std::string refClearColor = getReferenceClearColorStr(caseDef.colorFormat, numComponents, isUint, isSint);
1105 const std::string refPrimitiveColor = getReferencePrimitiveColorStr(numComponents, isUint, isSint);
1106 const std::string samplerTypeStr = getSamplerTypeStr(caseDef.numLayers, isUint, isSint);