Home
last modified time | relevance | path

Searched refs:vertexData (Results 1 – 22 of 22) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fShaderStateQueryTests.cpp2177 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
2182 { 4, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2183 { 3, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2184 { 2, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2185 { 1, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
2186 { 4, GL_INT, 0, GL_FALSE, vertexData }, in test()
2187 { 3, GL_INT, 0, GL_FALSE, vertexData }, in test()
2188 { 2, GL_INT, 0, GL_FALSE, vertexData }, in test()
2189 { 1, GL_INT, 0, GL_FALSE, vertexData }, in test()
2261 const GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
[all …]
Des3fRasterizationTests.cpp123 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
124 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const st…
351 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum pri… in drawPrimitives() argument
354 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
356 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives()
359 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vect… in drawPrimitives() argument
371 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertexData[0]); in drawPrimitives()
376 gl.drawArrays (primitiveType, 0, (glw::GLsizei)vertexData.size()); in drawPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationShaderInputOutputTests.cpp68 const void* vertexData, in runTest() argument
87 deMemcpy(alloc.getHostPtr(), vertexData, static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
304 std::vector<float> vertexData; in test() local
305 vertexData.reserve(caseDef.inPatchSize); in test()
309 vertexData.push_back(f*f); in test()
311 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test()
320 VK_FORMAT_R32_SFLOAT, &vertexData[0], vertexBufferSize, referenceImage.getAccess()); in test()
487 std::vector<float> vertexData (INPUT_PATCH_SIZE * numPrimitives, 0.0f); in test() local
488 const VkDeviceSize vertexBufferSize = sizeof(float) * vertexData.size(); in test()
491 vertexData[INPUT_PATCH_SIZE * i] = static_cast<float>(i) / static_cast<float>(numPrimitives); in test()
[all …]
DvktTessellationMiscDrawTests.cpp136 const std::vector<tcu::Vec2> vertexData = genVertexPositions(caseDef.primitiveType); in runTest() local
143 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(vertexData); in runTest()
148 DE_ASSERT(inPatchSize == vertexData.size()); in runTest()
149 DE_ASSERT(sizeof(vertexData[0]) == vertexStride); in runTest()
153 deMemcpy(alloc.getHostPtr(), &vertexData[0], static_cast<std::size_t>(vertexDataSizeBytes)); in runTest()
DvktTessellationInvarianceTests.cpp556 void uploadVertexAttributes (const std::vector<float>& vertexData);
693 void BaseTestInstance::uploadVertexAttributes (const std::vector<float>& vertexData) in uploadVertexAttributes() argument
699 deMemcpy(alloc.getHostPtr(), &vertexData[0], sizeInBytes(vertexData)); in uploadVertexAttributes()
700 flushMappedMemoryRange(vk, device, alloc.getMemory(), alloc.getOffset(), sizeInBytes(vertexData)); in uploadVertexAttributes()
/external/deqp/modules/gles2/functional/
Des2fShaderStateQueryTests.cpp1519 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
1525 { 4, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1526 { 3, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1527 { 2, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1528 { 1, GL_FLOAT, 0, GL_FALSE, vertexData }, in test()
1529 { 4, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1530 { 3, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1531 { 2, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1532 { 1, GL_SHORT, 0, GL_FALSE, vertexData }, in test()
1555 GLfloat vertexData[4] = {0.0f}; // never accessed in test() local
[all …]
Des2fRasterizationTests.cpp95 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLe…
96 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const st…
186 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, glw::GLenum pri… in drawPrimitives() argument
189 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
191 drawPrimitives(result, vertexData, colorData, primitiveType); in drawPrimitives()
194 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, const std::vect… in drawPrimitives() argument
206 gl.vertexAttribPointer (positionLoc, 4, GL_FLOAT, GL_FALSE, 0, &vertexData[0]); in drawPrimitives()
211 gl.drawArrays (primitiveType, 0, (glw::GLsizei)vertexData.size()); in drawPrimitives()
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp96 std::vector<Vec4> vertexData; in NegativeViewportHeightTestInstance() local
99 vertexData.push_back(Vec4(-0.8f, -0.6f, 0.0f, 1.0f)); // 0-----2 in NegativeViewportHeightTestInstance()
100 vertexData.push_back(Vec4(-0.8f, 0.6f, 0.0f, 1.0f)); // | / in NegativeViewportHeightTestInstance()
101 vertexData.push_back(Vec4(-0.2f, -0.6f, 0.0f, 1.0f)); // 1|/ in NegativeViewportHeightTestInstance()
104 vertexData.push_back(Vec4( 0.2f, -0.6f, 0.0f, 1.0f)); // 0-----1 in NegativeViewportHeightTestInstance()
105 vertexData.push_back(Vec4( 0.8f, -0.6f, 0.0f, 1.0f)); // \ | in NegativeViewportHeightTestInstance()
106 vertexData.push_back(Vec4( 0.8f, 0.6f, 0.0f, 1.0f)); // \|2 in NegativeViewportHeightTestInstance()
108 const VkDeviceSize dataSize = vertexData.size() * sizeof(Vec4); in NegativeViewportHeightTestInstance()
112 …deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), &vertexData[0], static_cast<std::size_t>(d… in NegativeViewportHeightTestInstance()
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesShaderIntrinsicsSampled.cpp664 std::vector<tcu::Vec2> vertexData; in recordCommands() local
666 vertexData.push_back(tcu::Vec2(-1.0f,-1.0f)); in recordCommands()
667 vertexData.push_back(tcu::Vec2( 0.0f, 0.0f)); in recordCommands()
669 vertexData.push_back(tcu::Vec2(-1.0f, 1.0f)); in recordCommands()
670 vertexData.push_back(tcu::Vec2( 0.0f, 1.0f)); in recordCommands()
672 vertexData.push_back(tcu::Vec2( 1.0f,-1.0f)); in recordCommands()
673 vertexData.push_back(tcu::Vec2( 1.0f, 0.0f)); in recordCommands()
675 vertexData.push_back(tcu::Vec2( 1.0f, 1.0f)); in recordCommands()
676 vertexData.push_back(tcu::Vec2( 1.0f, 1.0f)); in recordCommands()
678 const VkDeviceSize vertexDataSizeInBytes = sizeInBytes(vertexData); in recordCommands()
[all …]
DvktSparseResourcesBufferTests.cpp1078 const Vec4 vertexData[] = in iterate() local
1086 const VkDeviceSize vertexBufferSize = sizeof(vertexData); in iterate()
1091 deMemcpy(m_vertexBufferAlloc->getHostPtr(), &vertexData[0], vertexBufferSize); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp523 Vertex4RGBA vertexData[3] = in generateVertices() local
542 vertexData[i].color = tcu::Vec4(); in generateVertices()
545 vertices = std::vector<Vertex4RGBA>(vertexData, vertexData + 3); in generateVertices()
551 const Vertex4RGBA vertexData[2] = in generateVertices() local
563 vertices = std::vector<Vertex4RGBA>(vertexData, vertexData + 2); in generateVertices()
585 Vertex4RGBA vertexData[4] = in generateVertices() local
608 vertexData[i].color.w() = 0.25f; in generateVertices()
613 vertexData[i].color.w() = 0.0f; in generateVertices()
617 vertexData[0].color.w() = 0.0f; in generateVertices()
618 vertexData[2].color.w() = 0.0f; in generateVertices()
[all …]
DvktPipelineInputAssemblyTests.cpp83 std::vector<Vertex4RGBA>& vertexData) const = 0;
106 std::vector<Vertex4RGBA>& vertexData) const;
126 std::vector<Vertex4RGBA>& vertexData) const;
286 …kIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData()
614 vertexData = vertices; in createBufferData()
640 …kIndexType indexType, std::vector<deUint32>& indexData, std::vector<Vertex4RGBA>& vertexData) const in createBufferData()
894 vertexData = vertices; in createBufferData()
/external/skia/tests/
DGrMeshTest.cpp93 SkTArray<std::array<Box, 4>> vertexData; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
115 std::array<Box, 4>& boxVertices = vertexData.push_back(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
143 expandedVertexData.push_back(vertexData[i][kIndexPattern[j]]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
161 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
185 auto vbuff = helper->makeVertexBuffer(vertexData); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/external/deqp/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp3882 static void generateLayeredGridVertexAttribData4C4V (std::vector<tcu::Vec4>& vertexData, const Laye… in generateLayeredGridVertexAttribData4C4V() argument
3888 vertexData.resize(getLayeredGridNumVertices(scene) * 2); in generateLayeredGridVertexAttribData4C4V()
3900vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3901vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3903vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3904vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3906vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3907vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3909vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3910vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
[all …]
/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1242 std::vector<tcu::Vec4> vertexData (12 * GRID_SIZE * GRID_SIZE); in createBuffers() local
1249vertexData[(y * GRID_SIZE + x) * 12 + 0] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1250 vertexData[(y * GRID_SIZE + x) * 12 + 1] = color; in createBuffers()
1251vertexData[(y * GRID_SIZE + x) * 12 + 2] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1252 vertexData[(y * GRID_SIZE + x) * 12 + 3] = color; in createBuffers()
1253vertexData[(y * GRID_SIZE + x) * 12 + 4] = tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1254 vertexData[(y * GRID_SIZE + x) * 12 + 5] = color; in createBuffers()
1255vertexData[(y * GRID_SIZE + x) * 12 + 6] = tcu::Vec4(float(x+0) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
1256 vertexData[(y * GRID_SIZE + x) * 12 + 7] = color; in createBuffers()
1257vertexData[(y * GRID_SIZE + x) * 12 + 8] = tcu::Vec4(float(x+1) / float(GRID_SIZE) * 2.0f - 1.0f,… in createBuffers()
[all …]
Des31fFboSRGBWriteControlTests.cpp419 const glw::GLfloat vertexData[] = in TestVertexData() local
431 m_data.resize(DE_LENGTH_OF_ARRAY(vertexData)); in TestVertexData()
433 m_data[idx] = vertexData[idx]; in TestVertexData()
Des31fGeometryShaderTests.cpp4708 static const tcu::Vec4 vertexData[8*2] = in iterate() local
4730 gl.bufferData(GL_ARRAY_BUFFER, (int)sizeof(vertexData), vertexData, GL_STATIC_DRAW); in iterate()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp311 static void setupAttributes (sglr::Context& ctx, const VertexDataStorage& vertexData, deUint32 prog… in setupAttributes() argument
313 for (int attribNdx = 0; attribNdx < vertexData.getNumEntries(); ++attribNdx) in setupAttributes()
315 const glu::VertexArrayBinding bindingPtr = getEntryWithPointer(vertexData, attribNdx); in setupAttributes()
517 VertexDataStorage vertexData (m_vertexShader.getInputs(), numVertices); in iterate() local
543 const glu::VertexArrayBinding layoutEntry = getEntryWithPointer(vertexData, attribNdx); in iterate()
573 const glu::VertexArrayPointer posPtr = getEntryWithPointer(vertexData, positionNdx).pointer; in iterate()
587 setupAttributes(ctx, vertexData, program); in iterate()
/external/swiftshader/third_party/PowerVR_SDK/Examples/Beginner/01_HelloAPI/OGLES2/
DOGLES2HelloAPI_LinuxX11.cpp399 GLfloat vertexData[] = {-0.4f,-0.4f, 0.0f, // Bottom Left in InitialiseBuffer() local
413 glBufferData(GL_ARRAY_BUFFER, sizeof(vertexData), vertexData, GL_STATIC_DRAW); in InitialiseBuffer()
DOGLES2HelloAPI_OSX.mm301 GLfloat vertexData[] = {-0.4f,-0.4f, 0.0f, // Bottom Left
315 glBufferData(GL_ARRAY_BUFFER, sizeof(vertexData), vertexData, GL_STATIC_DRAW);
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmGraphicsShaderTestUtil.cpp2266 const Vec4 vertexData[] = in runAndVerifyDefaultPipeline() local
2289 const size_t vertexCount = sizeof(vertexData) / singleVertexDataSize; in runAndVerifyDefaultPipeline()
2304 (VkDeviceSize)sizeof(vertexData), // VkDeviceSize size; in runAndVerifyDefaultPipeline()
3292 (VkDeviceSize)sizeof(vertexData), // VkDeviceSize size; in runAndVerifyDefaultPipeline()
3296 deMemcpy(vertexBufPtr, &vertexData[0], sizeof(vertexData)); in runAndVerifyDefaultPipeline()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp148 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData,…
149 …void drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData,…
601 …e::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& vertexData, VkPrimitiveTopo… in drawPrimitives() argument
604 const std::vector<tcu::Vec4> colorData(vertexData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); in drawPrimitives()
606 drawPrimitives(result, vertexData, colorData, primitiveTopology); in drawPrimitives()