Home
last modified time | relevance | path

Searched refs:gridWidth (Results 1 – 14 of 14) sorted by relevance

/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFragmentOutputTests.cpp397 static void renderFloatReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight,… in renderFloatReference() argument
400 const float cellW = (float)dst.getWidth() / (float)(gridWidth-1); in renderFloatReference()
407 const int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderFloatReference()
411 …const Vec4 v00 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+0)*numComponents, numComponent… in renderFloatReference()
412 …const Vec4 v01 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+0)*numComponents, numComponent… in renderFloatReference()
413 …const Vec4 v10 = readVec4(vertices + ((cellY+0)*gridWidth + cellX+1)*numComponents, numComponent… in renderFloatReference()
414 …const Vec4 v11 = readVec4(vertices + ((cellY+1)*gridWidth + cellX+1)*numComponents, numComponent… in renderFloatReference()
428 static void renderIntReference (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight, i… in renderIntReference() argument
430 float cellW = (float)dst.getWidth() / (float)(gridWidth-1); in renderIntReference()
437 int cellX = de::clamp(deFloorFloatToInt32((float)x / cellW), 0, gridWidth-2); in renderIntReference()
[all …]
Des3fTextureMipmapTests.cpp315 int gridWidth = 4; in iterate() local
317 int cellWidth = viewport.width / gridWidth; in iterate()
357 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
361 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
363 const int cellNdx = gridY*gridWidth + gridX; in iterate()
409 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
413 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
415 const int cellNdx = gridY*gridWidth + gridX; in iterate()
1260 const int gridWidth = 4; in iterate() local
1262 const int cellWidth = viewport.width / gridWidth; in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp263 const int gridWidth = 4; in test() local
265 const int numVertices = (gridWidth+1)*(gridHeight+1); in test()
266 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test()
276 for (int j = 0; j < gridWidth+1; ++j) in test()
278 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in test()
280 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in test()
291 for (int j = 0; j < gridWidth; j++) in test()
295 (deUint16)((i+0)*(gridWidth+1) + j+0), in test()
296 (deUint16)((i+0)*(gridWidth+1) + j+1), in test()
297 (deUint16)((i+1)*(gridWidth+1) + j+0), in test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCommonEdgeTests.cpp263 const int gridWidth = 4; in test() local
265 const int numVertices = (gridWidth+1)*(gridHeight+1); in test()
266 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test()
276 for (int j = 0; j < gridWidth+1; ++j) in test()
278 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in test()
280 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in test()
291 for (int j = 0; j < gridWidth; j++) in test()
295 (deUint16)((i+0)*(gridWidth+1) + j+0), in test()
296 (deUint16)((i+0)*(gridWidth+1) + j+1), in test()
297 (deUint16)((i+1)*(gridWidth+1) + j+0), in test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/
DvktTextureMipmapTests.cpp292 const int gridWidth = 4; in iterate() local
294 const int cellWidth = viewportWidth / gridWidth; in iterate()
318 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
322 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
324 const int cellNdx = gridY*gridWidth + gridX; in iterate()
367 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
371 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
373 const int cellNdx = gridY*gridWidth + gridX; in iterate()
814 const int gridWidth = 4; in iterate() local
816 const int cellWidth = viewportWidth / gridWidth; in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp292 const int gridWidth = 4; in iterate() local
294 const int cellWidth = viewportWidth / gridWidth; in iterate()
318 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
322 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
324 const int cellNdx = gridY*gridWidth + gridX; in iterate()
367 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
371 const int curW = gridX+1 == gridWidth ? (viewportWidth-curX) : cellWidth; in iterate()
373 const int cellNdx = gridY*gridWidth + gridX; in iterate()
814 const int gridWidth = 4; in iterate() local
816 const int cellWidth = viewportWidth / gridWidth; in iterate()
[all …]
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp275 int gridWidth = 4; in iterate() local
277 int cellWidth = viewport.width / gridWidth; in iterate()
321 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
325 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
327 int cellNdx = gridY*gridWidth + gridX; in iterate()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aTextureMipmapTests.cpp267 int gridWidth = 4; in iterate() local
269 int cellWidth = viewport.width / gridWidth; in iterate()
313 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
317 int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
319 int cellNdx = gridY*gridWidth + gridX; in iterate()
/third_party/node/deps/v8/tools/turbolizer/src/
Dresizer.ts264 const gridWidth = panelWidth - yAxis.clientWidth; constant
265 rangeGrid.style.width = Math.floor(gridWidth - 1) + 'px';
267 … rangeHeader.style.width = (gridWidth - rangeGrid.offsetWidth + rangeGrid.clientWidth - 1) + 'px';
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fTextureMipmapTests.cpp271 int gridWidth = 4; in iterate() local
273 int cellWidth = viewport.width / gridWidth; in iterate()
313 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
317 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
319 const int cellNdx = gridY*gridWidth + gridX; in iterate()
365 for (int gridX = 0; gridX < gridWidth; gridX++) in iterate()
369 const int curW = gridX+1 == gridWidth ? (viewport.width-curX) : cellWidth; in iterate()
371 const int cellNdx = gridY*gridWidth + gridX; in iterate()
/third_party/vk-gl-cts/framework/randomshaders/
DrsgProgramExecutor.hpp45 ProgramExecutor (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight);
DrsgProgramExecutor.cpp167 ProgramExecutor::ProgramExecutor (const tcu::PixelBufferAccess& dst, int gridWidth, int gridHeight) in ProgramExecutor() argument
169 , m_gridWidth (gridWidth) in ProgramExecutor()
/third_party/vk-gl-cts/modules/gles3/performance/
Des3pBufferDataUploadTests.cpp3872 int gridWidth; member
3879 return scene.gridWidth * scene.gridHeight * scene.gridLayers * 6; in getLayeredGridNumVertices()
3891 for (int cellX = 0; cellX < scene.gridWidth; ++cellX) in generateLayeredGridVertexAttribData4C4V()
3895 const float cellLeft = (float(cellX ) / (float)scene.gridWidth - 0.5f) * 2.0f; in generateLayeredGridVertexAttribData4C4V()
3896 const float cellRight = (float(cellX+1) / (float)scene.gridWidth - 0.5f) * 2.0f; in generateLayeredGridVertexAttribData4C4V()
3900 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3901 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3903 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3904 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
3906 …vertexData[(cellY * scene.gridWidth * scene.gridLayers + cellX * scene.gridLayers + cellZ) * 12 + … in generateLayeredGridVertexAttribData4C4V()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTessellationTests.cpp1760 const int gridWidth = 4; in iterate() local
1762 const int numVertices = (gridWidth+1)*(gridHeight+1); in iterate()
1763 …const int numIndices = gridWidth*gridHeight * (m_primitiveType == TESSPRIMITIVETYPE_TRIANGL… in iterate()
1776 for (int j = 0; j < gridWidth+1; j++) in iterate()
1778 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in iterate()
1780 gridTessParams.push_back((float)(i*(gridWidth+1) + j) / (float)(numVertices-1)); in iterate()
1791 for (int j = 0; j < gridWidth; j++) in iterate()
1795 (deUint16)((i+0)*(gridWidth+1) + j+0), in iterate()
1796 (deUint16)((i+0)*(gridWidth+1) + j+1), in iterate()
1797 (deUint16)((i+1)*(gridWidth+1) + j+0), in iterate()
[all …]