Searched refs:kVertices (Results 1 - 6 of 6) sorted by relevance
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 79 constexpr float kMargin = 0.2f; // Space between triangle and image border. See kVertices. 80 constexpr float kDiagonalMargin = 0.00125f; // Makes sure the image diagonal falls inside the triangle. See kVertices. 86 const std::array<Vec4, 3u> kVertices = member 148 const auto dataSize = static_cast<VkDeviceSize>(kVertices.size() * sizeof(decltype(kVertices)::value_type)); in InvertedDepthRangesTestInstance() 152 deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), kVertices.data(), static_cast<size_t>(dataSize)); in InvertedDepthRangesTestInstance() 385 // Depth value of each vertex in kVertices. in generateReferenceImage() 386 DE_ASSERT(depthValues.size() == kVertices.size()); in generateReferenceImage() 387 std::transform(begin(kVertices), end(kVertices), begi in generateReferenceImage() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawInvertedDepthRangesTests.cpp | 79 constexpr float kMargin = 0.2f; // Space between triangle and image border. See kVertices. 80 constexpr float kDiagonalMargin = 0.00125f; // Makes sure the image diagonal falls inside the triangle. See kVertices. 86 const std::array<Vec4, 3u> kVertices = member 148 const auto dataSize = static_cast<VkDeviceSize>(kVertices.size() * sizeof(decltype(kVertices)::value_type)); in InvertedDepthRangesTestInstance() 152 deMemcpy(m_vertexBuffer->getBoundMemory().getHostPtr(), kVertices.data(), static_cast<size_t>(dataSize)); in InvertedDepthRangesTestInstance() 385 // Depth value of each vertex in kVertices. in generateReferenceImage() 386 DE_ASSERT(depthValues.size() == kVertices.size()); in generateReferenceImage() 387 std::transform(begin(kVertices), end(kVertices), begi in generateReferenceImage() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | PrimitiveTopologyTests.cpp | 139 constexpr static float kVertices[] = { variable 167 vertexBuffer = utils::CreateBufferFromData(device, kVertices, sizeof(kVertices),
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
H A D | RenderBundleValidationTests.cpp | 77 constexpr static float kVertices[] = {-1.f, 1.f, 1.f, -1.f, -1.f, 1.f}; variable 79 vertexBuffer = utils::CreateBufferFromData(device, kVertices, sizeof(kVertices), 84 device, kVertices, sizeof(kVertices), wgpu::BufferUsage::Storage); 88 utils::CreateBufferFromData(device, kVertices, sizeof(kVertices), 94 {{0, buffer, 0, 4 * sizeof(float)}, {1, storageBuffer, 0, sizeof(kVertices)}}); 98 {1, vertexStorageBuffer, 0, sizeof(kVertices)}});
|
/third_party/skia/tests/ |
H A D | DMSAATest.cpp | 42 static const SkPoint kVertices[3] = {{-.5f,-.5f}, {kWidth * 2.1f, 0}, {0, kHeight * 2.1f}}; in draw_paint_with_dmsaa() local 44 memcpy(builder.positions(), kVertices, sizeof(kVertices)); in draw_paint_with_dmsaa()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | StateChangeTest.cpp | 6766 const std::array<GLfloat, 6> kVertices = { 6771 glBufferData(GL_ARRAY_BUFFER, sizeof(kVertices), kVertices.data(), GL_STATIC_DRAW); 6865 const std::array<GLfloat, 6> kVertices = { 6870 glBufferData(GL_ARRAY_BUFFER, sizeof(kVertices), kVertices.data(), GL_STATIC_DRAW); 6949 const std::array<GLfloat, 6> kVertices = { 6954 glBufferData(GL_ARRAY_BUFFER, sizeof(kVertices), kVertices.data(), GL_STATIC_DRAW);
|
Completed in 13 milliseconds