Lines Matching refs:isUint
642 std::string getColorFormatStr (const int numComponents, const bool isUint, const bool isSint) in getColorFormatStr() argument
646 str << (isUint ? "uint" : isSint ? "int" : "float"); in getColorFormatStr()
648 str << (isUint ? "u" : isSint ? "i" : "") << "vec" << numComponents; in getColorFormatStr()
653 std::string getSamplerTypeStr (const int numLayers, const bool isUint, const bool isSint) in getSamplerTypeStr() argument
656 str << (isUint ? "u" : isSint ? "i" : "") << "sampler2DMS" << (numLayers > 1 ? "Array" : ""); in getSamplerTypeStr()
662 std::string getColorStr (const T* data, int numComponents, const bool isUint, const bool isSint) in getColorStr() argument
667 str << (isUint ? "u" : isSint ? "i" : "") << "vec4("; in getColorStr()
686 …learColorStr (const VkFormat format, const int numComponents, const bool isUint, const bool isSint) in getReferenceClearColorStr() argument
689 if (isUint) in getReferenceClearColorStr()
690 return getColorStr(clearColor.uint32, numComponents, isUint, isSint); in getReferenceClearColorStr()
692 return getColorStr(clearColor.int32, numComponents, isUint, isSint); in getReferenceClearColorStr()
694 return getColorStr(clearColor.float32, numComponents, isUint, isSint); in getReferenceClearColorStr()
698 std::string getReferencePrimitiveColorStr (int numComponents, const bool isUint, const bool isSint) in getReferencePrimitiveColorStr() argument
701 return getColorStr(color.getPtr(), numComponents, isUint, isSint); in getReferencePrimitiveColorStr()
924 const bool isUint = isUintFormat(caseDef.colorFormat); in addSimpleVertexAndFragmentPrograms() local
951 const std::string colorFormat = getColorFormatStr(numComponents, isUint, isSint); in addSimpleVertexAndFragmentPrograms()
1092 const bool isUint = isUintFormat(caseDef.colorFormat); in initPrograms() local
1094 const std::string texelFormatStr = (isUint ? "uvec4" : isSint ? "ivec4" : "vec4"); in initPrograms()
1095 …ing refClearColor = getReferenceClearColorStr(caseDef.colorFormat, numComponents, isUint, isSint); in initPrograms()
1096 …const std::string refPrimitiveColor = getReferencePrimitiveColorStr(numComponents, isUint, isSint); in initPrograms()
1097 const std::string samplerTypeStr = getSamplerTypeStr(caseDef.numLayers, isUint, isSint); in initPrograms()