/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineInputAssemblyTests.cpp | 99 std::vector<Vertex4RGBA>& vertexData) const = 0; 125 std::vector<Vertex4RGBA>& vertexData) const; 149 std::vector<Vertex4RGBA>& vertexData) const; 161 std::vector<Vertex4RGBA>& vertexData, 179 const std::vector<Vertex4RGBA>& vertexBufferData); 193 std::vector<Vertex4RGBA> m_vertices; 297 std::vector<Vertex4RGBA> vertexBufferData; in createInstance() 405 …, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) c… in createBufferData() 415 const Vertex4RGBA defaultVertex = { tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), green }; in createBufferData() 419 std::vector<Vertex4RGBA> vertices; in createBufferData() [all …]
|
D | vktPipelineMultisampleTests.cpp | 137 std::vector<Vertex4RGBA> generateVertices (const GeometryType geometryType); 164 const std::vector<Vertex4RGBA>& vertices, 197 const std::vector<Vertex4RGBA>& vertices, 229 const std::vector<Vertex4RGBA>& vertices, 262 const std::vector<Vertex4RGBA>& vertices, 289 const std::vector<Vertex4RGBA>& vertices, 317 const std::vector<Vertex4RGBA>& vertices, 345 const std::vector<Vertex4RGBA>& vertices, 375 const std::vector<Vertex4RGBA>& vertices, 452 const std::vector<Vertex4RGBA>& vertices, [all …]
|
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 210 static inline std::vector<Vertex4RGBA> createPoints (float wc) in createPoints() 215 std::vector<Vertex4RGBA> vertices; in createPoints() 244 const Vertex4RGBA vertex0 = in createPoints() 249 const Vertex4RGBA vertex1 = in createPoints() 254 const Vertex4RGBA vertex2 = in createPoints() 259 const Vertex4RGBA vertex3 = in createPoints() 264 const Vertex4RGBA vertex4 = in createPoints() 269 const Vertex4RGBA vertex5 = in createPoints() 274 const Vertex4RGBA vertex6 = in createPoints() 280 const Vertex4RGBA vertex7 = in createPoints() [all …]
|
D | vktPipelineVertexUtil.cpp | 892 std::vector<Vertex4RGBA> createOverlappingQuads (void) in createOverlappingQuads() 897 std::vector<Vertex4RGBA> vertices; in createOverlappingQuads() 922 const Vertex4RGBA lowerLeftVertex = in createOverlappingQuads() 927 const Vertex4RGBA upperLeftVertex = in createOverlappingQuads() 932 const Vertex4RGBA lowerRightVertex = in createOverlappingQuads() 937 const Vertex4RGBA upperRightVertex = in createOverlappingQuads()
|
D | vktPipelineVertexUtil.hpp | 38 struct Vertex4RGBA struct 82 std::vector<Vertex4RGBA> createOverlappingQuads (void);
|
D | vktPipelineStencilTests.cpp | 174 std::vector<Vertex4RGBA> m_vertices; 529 sizeof(Vertex4RGBA), // deUint32 strideInBytes; 545 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offsetInBytes; 684 …cpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4RGBA)); 750 …st VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RGBA); 811 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage() 814 const Vertex4RGBA cwVertex1 = cwVertices[vertexNdx + 1]; in verifyImage() 832 std::vector<Vertex4RGBA>(cwVertices.begin() + quadNdx * 6, in verifyImage()
|
D | vktPipelinePushConstantTests.cpp | 180 std::vector<Vertex4RGBA> createQuad(const float size, const tcu::Vec4 &color) in createQuad() 182 std::vector<Vertex4RGBA> vertices; in createQuad() 184 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color}; in createQuad() 185 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color}; in createQuad() 186 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color}; in createQuad() 187 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color}; in createQuad() 222 std::vector<Vertex4RGBA> m_vertices; 493 sizeof(Vertex4RGBA), // deUint32 strideInBytes; in init() 509 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offset; in init() 560 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 103 sizeof(Vertex4RGBA), // uint32_t stride; in makeGraphicsPipelines() 334 sizeof(Vertex4RGBA), // uint32_t stride; in preparePipelineWrapper() 710 std::vector<Vertex4RGBA> genTriangleVertices (void) in genTriangleVertices() 712 static const Vertex4RGBA data[] = in genTriangleVertices() 727 return std::vector<Vertex4RGBA>(data, data + DE_LENGTH_OF_ARRAY(data)); in genTriangleVertices() 811 std::vector<Vertex4RGBA> genPerSampleTriangleVertices (VkSampleCountFlagBits samples) in genPerSampleTriangleVertices() 815 std::vector<Vertex4RGBA> res; in genPerSampleTriangleVertices() 819 Vertex4RGBA data[] = in genPerSampleTriangleVertices() 842 std::vector<Vertex4RGBA> genFullQuadVertices (void) in genFullQuadVertices() 844 static const Vertex4RGBA data[] = in genFullQuadVertices() [all …]
|
D | vktPipelineDepthTests.cpp | 217 std::vector<Vertex4RGBA> m_vertices; 221 std::vector<Vertex4RGBA> m_altVertices; 565 sizeof(Vertex4RGBA), // deUint32 strideInBytes; 581 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offset; 867 …cpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4RGBA)); 871 …VertexBufferAlloc->getHostPtr(), m_altVertices.data(), m_altVertices.size() * sizeof(Vertex4RGBA)); 941 const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA); 1022 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
|
D | vktPipelinePushDescriptorTests.cpp | 180 vector<Vertex4RGBA> createQuads (deUint32 numQuads, float size) in createQuads() 182 vector<Vertex4RGBA> vertices; in createQuads() 188 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size + xOffset, -size, 0.0f, 1.0f), color}; in createQuads() 189 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size + xOffset, -size, 0.0f, 1.0f), color}; in createQuads() 190 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size + xOffset, size, 0.0f, 1.0f), color}; in createQuads() 191 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size + xOffset, size, 0.0f, 1.0f), color}; in createQuads() 275 vector<Vertex4RGBA> m_vertices; 455 sizeof(Vertex4RGBA), // deUint32 strideInBytes; in init() 471 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offset; in init() 516 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
D | vktPipelineInputAssemblyTests.cpp | 99 std::vector<Vertex4RGBA>& vertexData) const = 0; 125 std::vector<Vertex4RGBA>& vertexData) const; 149 std::vector<Vertex4RGBA>& vertexData) const; 161 std::vector<Vertex4RGBA>& vertexData, 179 const std::vector<Vertex4RGBA>& vertexBufferData); 193 std::vector<Vertex4RGBA> m_vertices; 297 std::vector<Vertex4RGBA> vertexBufferData; in createInstance() 405 …, VkIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) c… in createBufferData() 415 const Vertex4RGBA defaultVertex = { tcu::Vec4(-1.0f, -1.0f, 0.0f, 1.0f), green }; in createBufferData() 419 std::vector<Vertex4RGBA> vertices; in createBufferData() [all …]
|
D | vktPipelineMultisampleTests.cpp | 137 std::vector<Vertex4RGBA> generateVertices (const GeometryType geometryType); 164 const std::vector<Vertex4RGBA>& vertices, 197 const std::vector<Vertex4RGBA>& vertices, 229 const std::vector<Vertex4RGBA>& vertices, 262 const std::vector<Vertex4RGBA>& vertices, 289 const std::vector<Vertex4RGBA>& vertices, 317 const std::vector<Vertex4RGBA>& vertices, 345 const std::vector<Vertex4RGBA>& vertices, 375 const std::vector<Vertex4RGBA>& vertices, 452 const std::vector<Vertex4RGBA>& vertices, [all …]
|
D | vktPipelineDepthRangeUnrestrictedTests.cpp | 210 static inline std::vector<Vertex4RGBA> createPoints (float wc) in createPoints() 215 std::vector<Vertex4RGBA> vertices; in createPoints() 244 const Vertex4RGBA vertex0 = in createPoints() 249 const Vertex4RGBA vertex1 = in createPoints() 254 const Vertex4RGBA vertex2 = in createPoints() 259 const Vertex4RGBA vertex3 = in createPoints() 264 const Vertex4RGBA vertex4 = in createPoints() 269 const Vertex4RGBA vertex5 = in createPoints() 274 const Vertex4RGBA vertex6 = in createPoints() 280 const Vertex4RGBA vertex7 = in createPoints() [all …]
|
D | vktPipelineVertexUtil.cpp | 892 std::vector<Vertex4RGBA> createOverlappingQuads (void) in createOverlappingQuads() 897 std::vector<Vertex4RGBA> vertices; in createOverlappingQuads() 922 const Vertex4RGBA lowerLeftVertex = in createOverlappingQuads() 927 const Vertex4RGBA upperLeftVertex = in createOverlappingQuads() 932 const Vertex4RGBA lowerRightVertex = in createOverlappingQuads() 937 const Vertex4RGBA upperRightVertex = in createOverlappingQuads()
|
D | vktPipelineVertexUtil.hpp | 38 struct Vertex4RGBA struct 82 std::vector<Vertex4RGBA> createOverlappingQuads (void);
|
D | vktPipelineStencilTests.cpp | 174 std::vector<Vertex4RGBA> m_vertices; 529 sizeof(Vertex4RGBA), // deUint32 strideInBytes; 545 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offsetInBytes; 684 …cpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4RGBA)); 750 …st VkDeviceSize quadOffset = (m_vertices.size() / StencilTest::QUAD_COUNT) * sizeof(Vertex4RGBA); 811 std::vector<Vertex4RGBA> cwVertices(m_vertices); in verifyImage() 814 const Vertex4RGBA cwVertex1 = cwVertices[vertexNdx + 1]; in verifyImage() 832 std::vector<Vertex4RGBA>(cwVertices.begin() + quadNdx * 6, in verifyImage()
|
D | vktPipelinePushConstantTests.cpp | 180 std::vector<Vertex4RGBA> createQuad(const float size, const tcu::Vec4 &color) in createQuad() 182 std::vector<Vertex4RGBA> vertices; in createQuad() 184 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color}; in createQuad() 185 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color}; in createQuad() 186 const Vertex4RGBA UpperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color}; in createQuad() 187 const Vertex4RGBA UpperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color}; in createQuad() 222 std::vector<Vertex4RGBA> m_vertices; 493 sizeof(Vertex4RGBA), // deUint32 strideInBytes; in init() 509 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offset; in init() 560 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in init() [all …]
|
D | vktPipelineMultisampleImageTests.cpp | 103 sizeof(Vertex4RGBA), // uint32_t stride; in makeGraphicsPipelines() 334 sizeof(Vertex4RGBA), // uint32_t stride; in preparePipelineWrapper() 710 std::vector<Vertex4RGBA> genTriangleVertices (void) in genTriangleVertices() 712 static const Vertex4RGBA data[] = in genTriangleVertices() 727 return std::vector<Vertex4RGBA>(data, data + DE_LENGTH_OF_ARRAY(data)); in genTriangleVertices() 811 std::vector<Vertex4RGBA> genPerSampleTriangleVertices (VkSampleCountFlagBits samples) in genPerSampleTriangleVertices() 815 std::vector<Vertex4RGBA> res; in genPerSampleTriangleVertices() 819 Vertex4RGBA data[] = in genPerSampleTriangleVertices() 842 std::vector<Vertex4RGBA> genFullQuadVertices (void) in genFullQuadVertices() 844 static const Vertex4RGBA data[] = in genFullQuadVertices() [all …]
|
D | vktPipelineDepthTests.cpp | 217 std::vector<Vertex4RGBA> m_vertices; 221 std::vector<Vertex4RGBA> m_altVertices; 565 sizeof(Vertex4RGBA), // deUint32 strideInBytes; 581 DE_OFFSET_OF(Vertex4RGBA, color), // deUint32 offset; 867 …cpy(m_vertexBufferAlloc->getHostPtr(), m_vertices.data(), m_vertices.size() * sizeof(Vertex4RGBA)); 871 …VertexBufferAlloc->getHostPtr(), m_altVertices.data(), m_altVertices.size() * sizeof(Vertex4RGBA)); 941 const VkDeviceSize quadOffset = (m_vertices.size() / DepthTest::QUAD_COUNT) * sizeof(Vertex4RGBA); 1022 std::vector<Vertex4RGBA>(m_vertices.begin() + quadNdx * 6, in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 67 struct Vertex4RGBA struct 73 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 75 std::vector<Vertex4RGBA> vertices; in createQuad() 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), red}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), green}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), blue}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), white}; in createQuad() 99 std::vector<Vertex4RGBA> createQuad (const tcu::Vec4& color) in createQuad() 101 std::vector<Vertex4RGBA> vertices; in createQuad() 106 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), color}; in createQuad() [all …]
|
D | vktRenderPassUnusedAttachmentTests.cpp | 72 struct Vertex4RGBA struct 78 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 80 std::vector<Vertex4RGBA> vertices; in createQuad() 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color}; in createQuad() 283 std::vector<Vertex4RGBA> m_vertices; 736 sizeof(Vertex4RGBA), // deUint32 strideInBytes; in UnusedAttachmentTestInstance() 812 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in UnusedAttachmentTestInstance() [all …]
|
D | vktRenderPassLoadStoreOpNoneTests.cpp | 124 struct Vertex4RGBA struct 136 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 138 std::vector<Vertex4RGBA> vertices; in createQuad() 143 const Vertex4RGBA lowerLeftVertexRed = {tcu::Vec4(-size, -size, 0.0f, 1.0f), red}; in createQuad() 144 const Vertex4RGBA lowerRightVertexRed = {tcu::Vec4(size, -size, 0.0f, 1.0f), red}; in createQuad() 145 const Vertex4RGBA upperLeftVertexRed = {tcu::Vec4(-size, size, 0.0f, 1.0f), red}; in createQuad() 146 const Vertex4RGBA upperRightVertexRed = {tcu::Vec4(size, size, 0.0f, 1.0f), red}; in createQuad() 147 const Vertex4RGBA lowerLeftVertexBlue = {tcu::Vec4(-size, -size, 0.0f, 1.0f), blue}; in createQuad() 148 const Vertex4RGBA lowerRightVertexBlue = {tcu::Vec4(size, -size, 0.0f, 1.0f), blue}; in createQuad() 149 const Vertex4RGBA upperLeftVertexBlue = {tcu::Vec4(-size, size, 0.0f, 1.0f), blue}; in createQuad() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
D | vktRenderPassDitheringTests.cpp | 67 struct Vertex4RGBA struct 73 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 75 std::vector<Vertex4RGBA> vertices; in createQuad() 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), red}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, depthValue, 1.0f), green}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, depthValue, 1.0f), blue}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, depthValue, 1.0f), white}; in createQuad() 99 std::vector<Vertex4RGBA> createQuad (const tcu::Vec4& color) in createQuad() 101 std::vector<Vertex4RGBA> vertices; in createQuad() 106 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, depthValue, 1.0f), color}; in createQuad() [all …]
|
D | vktRenderPassUnusedAttachmentTests.cpp | 72 struct Vertex4RGBA struct 78 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 80 std::vector<Vertex4RGBA> vertices; in createQuad() 84 const Vertex4RGBA lowerLeftVertex = {tcu::Vec4(-size, -size, 0.0f, 1.0f), color}; in createQuad() 85 const Vertex4RGBA lowerRightVertex = {tcu::Vec4(size, -size, 0.0f, 1.0f), color}; in createQuad() 86 const Vertex4RGBA upperLeftVertex = {tcu::Vec4(-size, size, 0.0f, 1.0f), color}; in createQuad() 87 const Vertex4RGBA upperRightVertex = {tcu::Vec4(size, size, 0.0f, 1.0f), color}; in createQuad() 283 std::vector<Vertex4RGBA> m_vertices; 736 sizeof(Vertex4RGBA), // deUint32 strideInBytes; in UnusedAttachmentTestInstance() 812 (VkDeviceSize)(sizeof(Vertex4RGBA) * m_vertices.size()), // VkDeviceSize size; in UnusedAttachmentTestInstance() [all …]
|
D | vktRenderPassLoadStoreOpNoneTests.cpp | 124 struct Vertex4RGBA struct 136 std::vector<Vertex4RGBA> createQuad (void) in createQuad() 138 std::vector<Vertex4RGBA> vertices; in createQuad() 143 const Vertex4RGBA lowerLeftVertexRed = {tcu::Vec4(-size, -size, 0.0f, 1.0f), red}; in createQuad() 144 const Vertex4RGBA lowerRightVertexRed = {tcu::Vec4(size, -size, 0.0f, 1.0f), red}; in createQuad() 145 const Vertex4RGBA upperLeftVertexRed = {tcu::Vec4(-size, size, 0.0f, 1.0f), red}; in createQuad() 146 const Vertex4RGBA upperRightVertexRed = {tcu::Vec4(size, size, 0.0f, 1.0f), red}; in createQuad() 147 const Vertex4RGBA lowerLeftVertexBlue = {tcu::Vec4(-size, -size, 0.0f, 1.0f), blue}; in createQuad() 148 const Vertex4RGBA lowerRightVertexBlue = {tcu::Vec4(size, -size, 0.0f, 1.0f), blue}; in createQuad() 149 const Vertex4RGBA upperLeftVertexBlue = {tcu::Vec4(-size, size, 0.0f, 1.0f), blue}; in createQuad() [all …]
|