Home
last modified time | relevance | path

Searched refs:gridSize (Results 1 – 12 of 12) sorted by relevance

/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp153 …QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vecto…
193 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4… in QuadGrid() argument
194 : m_gridSize (gridSize) in QuadGrid()
195 , m_numVertices ((gridSize + 1) * (gridSize + 1)) in QuadGrid()
196 , m_numTriangles (gridSize * gridSize * 2) in QuadGrid()
214 for (int y = 0; y < gridSize+1; y++) in QuadGrid()
215 for (int x = 0; x < gridSize+1; x++) in QuadGrid()
217 float sx = x / (float)gridSize; in QuadGrid()
218 float sy = y / (float)gridSize; in QuadGrid()
221 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid()
[all …]
/external/deqp/modules/gles3/stress/
Des3sSpecialFloatTests.cpp1166 const int gridSize = 16; in iterate() local
1167 std::vector<tcu::Vec4> gridVertices (gridSize * gridSize); in iterate()
1168 std::vector<tcu::Vec2> gridTexCoords (gridSize * gridSize); in iterate()
1169 std::vector<deUint16> indices ((gridSize - 1) * (gridSize - 1) * 6); in iterate()
1173 for (int x = 0; x < gridSize; ++x) in iterate()
1174 for (int y = 0; y < gridSize; ++y) in iterate()
1176 …const float posX = (float)x / ((float)gridSize - 1.0f) * 2.0f - 1.0f; // map from [0, gridSize - … in iterate()
1177 const float posY = (float)y / ((float)gridSize - 1.0f) * 2.0f - 1.0f; in iterate()
1178 const float texCoordX = deFloatPow(2.0f, (float)x - (float)gridSize / 2.0f); in iterate()
1179 const float texCoordY = deFloatPow(2.0f, (float)y - (float)gridSize / 2.0f); in iterate()
[all …]
/external/deqp/modules/gles31/functional/
Des31fDrawTests.cpp995 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCoun…
1031 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCoun… in ComputeShaderGeneratedCase() argument
1039 , m_gridSize (gridSize) in ComputeShaderGeneratedCase()
1574 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls…
1586 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedCombinedCase() argument
1587 …dCase(context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedCombinedCase()
1690 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls…
1707 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedSeparateCase() argument
1708 …Case (context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedSeparateCase()
1905 const int gridSize = 8; in init() local
[all …]
Des31fPrimitiveBoundingBoxTests.cpp4562 const int gridSize = 6; in genVbo() local
4564 std::vector<tcu::Vec4> data (gridSize * gridSize * 2 * 3); in genVbo()
4565 std::vector<int> cellOrder (gridSize * gridSize * 2); in genVbo()
4578 const int cellX = (cellNdx / 2) % gridSize; in genVbo()
4579 const int cellY = (cellNdx / 2) / gridSize; in genVbo()
4583 …data[ndx * 3 + 0] = tcu::Vec4((cellX+0) / float(gridSize), ((cellY+0) / float(gridSize)) * 2.0f - … in genVbo()
4584 …data[ndx * 3 + 1] = tcu::Vec4((cellX+1) / float(gridSize), ((cellY+1) / float(gridSize)) * 2.0f - … in genVbo()
4585 …data[ndx * 3 + 2] = tcu::Vec4((cellX+0) / float(gridSize), ((cellY+1) / float(gridSize)) * 2.0f - … in genVbo()
4589 …data[ndx * 3 + 0] = tcu::Vec4((cellX+0) / float(gridSize), ((cellY+0) / float(gridSize)) * 2.0f - … in genVbo()
4590 …data[ndx * 3 + 1] = tcu::Vec4((cellX+1) / float(gridSize), ((cellY+0) / float(gridSize)) * 2.0f - … in genVbo()
[all …]
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp187 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const…
226 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument
227 : m_gridSize(gridSize) in PosTexCoordQuadGrid()
333 const int gridSize = grid.getSize(); in setPixelColors() local
335 for (int y = 0; y < gridSize; y++) in setPixelColors()
336 for (int x = 0; x < gridSize; x++) in setPixelColors()
338 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors()
362 const int gridSize = grid.getSize(); in computeReference() local
363 vector<Vec4> quadColors (gridSize*gridSize); in computeReference()
365 for (int y = 0; y < gridSize; y++) in computeReference()
[all …]
Des2fStencilTests.cpp283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate() local
314 int cellWidth = width/gridSize; in iterate()
315 int cellHeight = height/gridSize; in iterate()
316 for (int y = 0; y < gridSize; y++) in iterate()
317 for (int x = 0; x < gridSize; x++) in iterate()
/external/clang/test/SemaCUDA/
Dconfig-type.cu3 void cudaConfigureCall(unsigned gridSize, unsigned blockSize); // expected-error {{must have scalar…
/external/deqp/modules/gles3/functional/
Des3fStencilTests.cpp286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); in iterate() local
317 int cellWidth = width/gridSize; in iterate()
318 int cellHeight = height/gridSize; in iterate()
319 for (int y = 0; y < gridSize; y++) in iterate()
320 for (int x = 0; x < gridSize; x++) in iterate()
Des3fVertexTextureTests.cpp237 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const…
276 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument
277 : m_gridSize(gridSize) in PosTexCoordQuadGrid()
429 const int gridSize = grid.getSize(); in setPixelColors() local
431 for (int y = 0; y < gridSize; y++) in setPixelColors()
432 for (int x = 0; x < gridSize; x++) in setPixelColors()
434 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors()
460 const int gridSize = grid.getSize(); in computeReference() local
461 vector<Vec4> quadColors (gridSize*gridSize); in computeReference()
463 for (int y = 0; y < gridSize; y++) in computeReference()
[all …]
/external/clang/test/CodeGenCUDA/Inputs/
Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/PCH/Inputs/
Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/SemaCUDA/Inputs/
Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,