Lines Matching defs:std

208 																		 const std::string&					name,
210 const std::vector<AttributeInfo>& attributeInfos,
226 std::string getGlslExtensions (void) const;
227 std::string getGlslInputDeclarations (void) const;
228 std::string getGlslVertexCheck (void) const;
229 std::string getGlslAttributeConditions (const AttributeInfo& attributeInfo, const std::string attributeIndex) const;
233 const std::vector<AttributeInfo> m_attributeInfos;
237 mutable std::vector<deUint32> m_locations;
255 typedef std::vector<VertexInputAttributeDescription> AttributeDescriptionList;
260 const std::vector<VkVertexInputBindingDescription>& bindingDescriptions,
261 const std::vector<VkDeviceSize>& bindingOffsets);
274 std::vector<VkBuffer> m_vertexBuffers;
275 std::vector<Allocation*> m_vertexBufferAllocs;
333 static const std::map<std::string, std::string> nameMap
335 std::make_pair("int", "ivec4"),
336 std::make_pair("ivec2", "ivec4"),
337 std::make_pair("ivec3", "ivec4"),
338 std::make_pair("ivec4", "ivec4"),
339 std::make_pair("uint", "uvec4"),
340 std::make_pair("uvec2", "uvec4"),
341 std::make_pair("uvec3", "uvec4"),
342 std::make_pair("uvec4", "uvec4"),
343 std::make_pair("float", "vec4"),
344 std::make_pair("vec2", "vec4"),
345 std::make_pair("vec3", "vec4"),
346 std::make_pair("vec4", "vec4"),
347 std::make_pair("float16_t", "f16vec4"),
348 std::make_pair("f16vec2", "f16vec4"),
349 std::make_pair("f16vec3", "f16vec4"),
350 std::make_pair("f16vec4", "f16vec4"),
351 std::make_pair("mat2", "mat2x4"),
352 std::make_pair("mat3", "mat3x4"),
353 std::make_pair("mat4", "mat4"),
357 std::make_pair("double", "dvec4"),
358 std::make_pair("dvec2", "dvec4"),
359 std::make_pair("dvec3", "dvec4"),
360 std::make_pair("dvec4", "dvec4"),
361 std::make_pair("dmat2", "dmat2x4"),
362 std::make_pair("dmat3", "dmat3x4"),
363 std::make_pair("dmat4", "dmat4"),
402 const std::string& name,
404 const std::vector<AttributeInfo>& attributeInfos,
436 std::vector<deUint32> locationSlotsNeeded;
467 std::vector<deUint32> indices;
468 std::vector<deUint32> slots;
567 std::vector<VkVertexInputBindingDescription> bindingDescriptions;
568 std::vector<VkDeviceSize> bindingOffsets;
590 std::vector<VertexInputAttributeDescription> attributeDescriptions;
591 std::vector<deUint32> attributeOffsets (bindingDescriptions.size(), 0);
592 std::vector<deUint32> attributeMaxSizes (bindingDescriptions.size(), 0); // max component or vector size, depending on which layout we are using
593 std::vector<uint32_t> attributeMaxCompSizes (bindingDescriptions.size(), 0u); // max component size for each binding.
594 std::vector<uint32_t> bindingSeqStrides (bindingDescriptions.size(), 0u); // strides for bindings in sequential layout mode
693 const std::string notSupportedStr = "Unsupported number of vertex input bindings, maxVertexInputBindings: " + de::toString(maxBindings);
716 std::ostringstream vertexSrc;
744 std::string VertexInputTest::getGlslExtensions (void) const
746 std::string extensions;
754 std::string VertexInputTest::getGlslInputDeclarations (void) const
756 std::ostringstream glslInputs;
791 std::string VertexInputTest::getGlslVertexCheck (void) const
793 std::ostringstream glslCode;
794 std::string inputCountStr;
818 inputCountStr = std::to_string(totalInputComponentCount) + " * (numAttributes-1)";
833 inputCountStr = std::to_string(totalInputComponentCount);
868 std::string VertexInputTest::getGlslAttributeConditions (const AttributeInfo& attributeInfo, const std::string attributeIndex) const
870 std::ostringstream glslCode;
871 std::ostringstream attributeVar;
876 const std::string indexStr = m_queryMaxAttributes ? "[" + attributeIndex + "]" : attributeIndex;
877 const std::string indentStr = m_queryMaxAttributes ? "\t\t" : "\t";
880 std::string indexId;
893 glslCode << std::fixed;
906 std::string accessStr;
909 std::ostringstream accessStream;
1038 std::string glslType;
1106 const std::vector<VkVertexInputBindingDescription>& bindingDescriptions,
1107 const std::vector<VkDeviceSize>& bindingOffsets)
1127 throw tcu::NotSupportedError(std::string("Unsupported format for vertex input: ") + getFormatName(attributeDescription.format));
1236 std::vector<VkVertexInputAttributeDescription> vkAttributeDescriptions;
1254 const std::vector<VkViewport> viewport { makeViewport(m_renderSize) };
1255 const std::vector<VkRect2D> scissor { makeRect2D(m_renderSize) };
1374 std::vector<VkBuffer> vertexBuffers;
1757 std::string getAttributeInfoCaseName (const VertexInputTest::AttributeInfo& attributeInfo)
1759 std::ostringstream caseName;
1760 const std::string formatName = getFormatName(attributeInfo.vkType);
1775 std::vector<VkFormat> compatibleVkFormats;
1891 std::vector<VertexInputTest::AttributeInfo>(1, attributeInfo),
1901 std::vector<VertexInputTest::AttributeInfo>(1, attributeInfo),
1920 std::vector<VertexInputTest::AttributeInfo>(1, attributeInfo),
1933 std::vector<VertexInputTest::AttributeInfo>(1, attributeInfo),
1954 void createMultipleAttributeCases (PipelineConstructionType pipelineConstructionType, deUint32 depth, deUint32 firstNdx, CompatibleFormats* compatibleFormats, de::Random& randomFunc, tcu::TestCaseGroup& testGroup, VertexInputTest::BindingMapping bindingMapping, VertexInputTest::AttributeLayout attributeLayout, VertexInputTest::LayoutSkip layoutSkip, VertexInputTest::LayoutOrder layoutOrder, const std::vector<VertexInputTest::AttributeInfo>& attributeInfos = std::vector<VertexInputTest::AttributeInfo>(0))
1961 std::vector <VertexInputTest::AttributeInfo> newAttributeInfos = attributeInfos;
1978 const std::vector<VkFormat>& formats = compatibleFormats[newAttributeInfos[i].glslType].compatibleVkFormats;
1982 const std::string caseName = VertexInputTest::s_glslTypeDescriptions[currentNdx].name;
1989 const std::string name = VertexInputTest::s_glslTypeDescriptions[currentNdx].name;
2209 const std::string groupName = (attributeCount[attributeCountNdx] == 0 ? "query_max" : de::toString(attributeCount[attributeCountNdx])) + "_attributes";
2210 const std::string groupDesc = de::toString(attributeCount[attributeCountNdx]) + " vertex input attributes";
2216 std::vector<VertexInputTest::AttributeInfo> attributeInfos(attributeCount[attributeCountNdx]);
2222 const std::vector<VkFormat>& formats = compatibleFormats[glslType].compatibleVkFormats;