Home
last modified time | relevance | path

Searched refs:QUAD_GRID_SIZE (Results 1 – 2 of 2) sorted by relevance

/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp52 static const int QUAD_GRID_SIZE = 127; variable
318 for (int y = 0; y < QUAD_GRID_SIZE + 1; y++) in init()
319 for (int x = 0; x < QUAD_GRID_SIZE + 1; x++) in init()
321 float fx = -1.0f + (float)x / (float)QUAD_GRID_SIZE * 2.0f / (float)m_numInstances; in init()
322 float fy = -1.0f + (float)y / (float)QUAD_GRID_SIZE * 2.0f; in init()
330 for (int y = 0; y < QUAD_GRID_SIZE; y++) in init()
331 for (int x = 0; x < QUAD_GRID_SIZE; x++) in init()
333 int ndx00 = y*(QUAD_GRID_SIZE + 1) + x; in init()
334 int ndx10 = y*(QUAD_GRID_SIZE + 1) + x + 1; in init()
335 int ndx01 = (y + 1)*(QUAD_GRID_SIZE + 1) + x; in init()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp51 static const int QUAD_GRID_SIZE = 8; variable
757 for (int y = 0; y < QUAD_GRID_SIZE; y++) in prepareVertexData()
759 for (int x = 0; x < QUAD_GRID_SIZE; x++) in prepareVertexData()
761 const float fx0 = -1.0f + (float)(x+0) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData()
762 const float fx1 = -1.0f + (float)(x+1) / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData()
763 const float fy0 = -1.0f + (float)(y+0) / (float)QUAD_GRID_SIZE * 2.0f; in prepareVertexData()
764 const float fy1 = -1.0f + (float)(y+1) / (float)QUAD_GRID_SIZE * 2.0f; in prepareVertexData()
780 for (int y = 0; y < QUAD_GRID_SIZE + 1; y++) in prepareVertexData()
782 for (int x = 0; x < QUAD_GRID_SIZE + 1; x++) in prepareVertexData()
784 const float fx = -1.0f + (float)x / (float)QUAD_GRID_SIZE * 2.0f / (float)instanceCount; in prepareVertexData()
[all …]