/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fFboColorbufferTests.cpp | 872 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() 880 glViewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render() 938 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() 946 glBlitFramebuffer(0, 0, cellSize, cellSize, cellX*cellSize, cellY*cellSize, (cellX+1)*cellSize, (cellY+1)*cellSize, GL_COLOR_BUFFER_BIT, GL_NEAREST); in render() 1000 for (int cellX in render() [all...] |
H A D | es3fFragmentOutputTests.cpp | 407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderFloatReference() local 409 const float xf = ((float)x - (float)cellX*cellW + 0.5f) / cellW; in renderFloatReference() 411 const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponents); in renderFloatReference() 412 const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponents); in renderFloatReference() 413 const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponents); in renderFloatReference() 414 const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponents); in renderFloatReference() 437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderIntReference() local 439 IVec4 c = readIVec4(vertices + (cellY*gridWidth + cellX+1)*numComponents, numComponents); in renderIntReference()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ClearTest.cpp | 1526 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() 1528 int seed = cellX + cellY * numRowsCols; in TEST_P() 1537 glViewport(cellX * cellSize, cellY * cellSize, cellSize, cellSize); in TEST_P() 1550 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() 1552 int seed = cellX + cellY * numRowsCols; in TEST_P() 1556 int testN = cellX * cellSiz in TEST_P() [all...] |
H A D | StateChangeTest.cpp | 3342 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() 3344 int seed = cellX + cellY * numRowsCols; in TEST_P() 3354 glViewport(cellX * cellSize, cellY * cellSize, cellSize, cellSize); in TEST_P() 3368 for (int cellX = 0; cellX < numRowsCols; cellX++) in TEST_P() 3370 int seed = cellX + cellY * numRowsCols; in TEST_P() 3376 cellX * cellSiz in TEST_P() [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fPrimitiveBoundingBoxTests.cpp | 1340 const int cellX = cellNdx % m_gridSize; 1342 const tcu::Vec4& cellColor = ((cellX+cellY)%2 == 0) ? (green) : (yellow); 1344 data[(ndx * 6 + 0) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gridSize), float(cellY+0) / float(m_gridSize), 0.0f, 1.0f); 1346 data[(ndx * 6 + 1) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gridSize), float(cellY+1) / float(m_gridSize), 0.0f, 1.0f); 1348 data[(ndx * 6 + 2) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gridSize), float(cellY+1) / float(m_gridSize), 0.0f, 1.0f); 1350 data[(ndx * 6 + 3) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+0) / float(m_gridSize), float(cellY+0) / float(m_gridSize), 0.0f, 1.0f); 1352 data[(ndx * 6 + 4) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gridSize), float(cellY+0) / float(m_gridSize), 0.0f, 1.0f); 1354 data[(ndx * 6 + 5) * VA_NUM_ATTRIB_VECS + VA_POS_VEC_NDX] = tcu::Vec4(float(cellX+1) / float(m_gridSize), float(cellY+1) / float(m_gridSize), 0.0f, 1.0f); 4191 const int cellX = cellNdx % m_gridSize; 4193 const tcu::Vec4& cellColor = ((cellX [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingMiscTests.cpp | 493 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); variable 497 optASFeedbackPtr->onCullMaskAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 499 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 561 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); variable 565 optASFeedbackPtr->onCullMaskAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 567 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 621 const auto cellX = (((nInstance) % m_gridSizeXYZ.x() )); variable 625 optASFeedbackPtr->onCullMaskAssignedToCell( tcu::UVec3(cellX, cellY, cellZ), 627 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell( tcu::UVec3(cellX, cellY, cellZ), 689 const auto cellX variable 765 const auto cellX = (((cellIndex) % m_gridSizeXYZ.x() )); global() variable 827 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); fillVertexVec() local [all...] |
/third_party/vk-gl-cts/modules/gles3/performance/ |
H A D | es3pBufferDataUploadTests.cpp | 3891 for (int cellX = 0; cellX < scene.gridWidth; ++cellX) 3894 const tcu::Vec4 color = (((cellX + cellY + cellZ) % 2) == 0) ? (green) : (yellow); 3895 const float cellLeft = (float(cellX ) / (float)scene.gridWidth - 0.5f) * 2.0f; 3896 const float cellRight = (float(cellX+1) / (float)scene.gridWidth - 0.5f) * 2.0f; 3900 vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + 0] = color; 3901 vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + 1] = tcu::Vec4(cellLeft, cellTop, 0.0f, 1.0f); 3903 vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + 2] = color; 3904 vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scen [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingMiscTests.cpp | 492 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); variable 496 optASFeedbackPtr->onCullMaskAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 498 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 560 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); variable 564 optASFeedbackPtr->onCullMaskAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 566 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell ( tcu::UVec3(cellX, cellY, cellZ), 620 const auto cellX = (((nInstance) % m_gridSizeXYZ.x() )); variable 624 optASFeedbackPtr->onCullMaskAssignedToCell( tcu::UVec3(cellX, cellY, cellZ), 626 optASFeedbackPtr->onInstanceCustomIndexAssignedToCell( tcu::UVec3(cellX, cellY, cellZ), 688 const auto cellX variable 764 const auto cellX = (((cellIndex) % m_gridSizeXYZ.x() )); global() variable 826 const auto cellX = (((nCell) % m_gridSizeXYZ.x() )); fillVertexVec() local [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fFboRenderTest.cpp | 2060 for (int cellX = 0; cellX < numRowsCols; cellX++) in render() 2072 ctx.viewport(cellX*cellSize, cellY*cellSize, cellSize, cellSize); in render()
|