Searched refs:gridSize (Results 1 - 17 of 17) sorted by relevance

/external/deqp/external/vulkancts/modules/vulkan/image/
H A DvktImageAtomicOperationTests.cpp117 const IVec3& gridSize)
129 return string("((" + z + "*" + toString(gridSize.x()) + " + " + x + ")*" + toString(gridSize.y()) + " + " + y + ")");
188 static deInt32 getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IVec3& gridSize) argument
205 return (z*gridSize.x() + x)*gridSize.y() + y;
287 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
288 const string atomicCoord = getCoordStr(m_imageType, "gx % " + toString(gridSize.x()), "gy", "gz");
291 + getAtomicFuncArgumentShaderStr(m_operation, "gx", "gy", "gz", IVec3(NUM_INVOCATIONS_PER_PIXEL*gridSize.x(), gridSize
113 getAtomicFuncArgumentShaderStr(const AtomicOperation op, const string& x, const string& y, const string& z, const IVec3& gridSize) argument
361 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
491 tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
658 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
853 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
[all...]
H A DvktImageTestsUtil.cpp140 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); local
142 return gridSize.x() * gridSize.y() * gridSize.z();
/external/clang/test/CodeGenCUDA/Inputs/
H A Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/PCH/Inputs/
H A Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/SemaCUDA/Inputs/
H A Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/deqp/modules/glshared/
H A DglsShaderRenderCase.cpp137 QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures);
177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4>& userAttribTransforms, const vector<TextureBinding>& textures) argument
178 : m_gridSize (gridSize)
179 , m_numVertices ((gridSize + 1) * (gridSize + 1))
180 , m_numTriangles (gridSize * gridSize * 2)
198 for (int y = 0; y < gridSize+1; y++)
199 for (int x = 0; x < gridSize+1; x++)
201 float sx = (float)x / (float)gridSize;
640 int gridSize = quadGrid.getGridSize(); local
[all...]
H A DglsVertexArrayTests.cpp1311 static char* generateQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize);
1316 static char* createQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, float gridSize);
1416 char* RandomArrayGenerator::generateQuads (int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize) argument
1423 data = createQuads<GLValue::Float>(seed, count, componentCount, offset, stride, primitive, min.fl, max.fl, gridSize);
1427 data = createQuads<GLValue::Fixed>(seed, count, componentCount, offset, stride, primitive, min.fi, max.fi, gridSize);
1431 data = createQuads<GLValue::Double>(seed, count, componentCount, offset, stride, primitive, min.d, max.d, gridSize);
1435 data = createQuads<GLValue::Byte>(seed, count, componentCount, offset, stride, primitive, min.b, max.b, gridSize);
1439 data = createQuads<GLValue::Short>(seed, count, componentCount, offset, stride, primitive, min.s, max.s, gridSize);
1443 data = createQuads<GLValue::Ubyte>(seed, count, componentCount, offset, stride, primitive, min.ub, max.ub, gridSize);
1447 data = createQuads<GLValue::Ushort>(seed, count, componentCount, offset, stride, primitive, min.us, max.us, gridSize);
1554 createQuads(int seed, int count, int componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, float gridSize) argument
2091 const float gridSize = 3.0f / (float)(de::min(m_renderCtx.getRenderTarget().getWidth(), m_renderCtx.getRenderTarget().getHeight()) - 1); local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
H A DvktShaderRender.cpp119 QuadGrid (int gridSize,
166 QuadGrid::QuadGrid (int gridSize, argument
172 : m_gridSize (gridSize)
173 , m_numVertices ((gridSize + 1) * (gridSize + 1))
174 , m_numTriangles (gridSize * gridSize * 2)
192 for (int y = 0; y < gridSize+1; y++)
193 for (int x = 0; x < gridSize+1; x++)
195 float sx = (float)x / (float)gridSize;
1744 const int gridSize = quadGrid.getGridSize(); local
[all...]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
H A DvktSparseResourcesImageSparseResidency.cpp124 tcu::UVec3 computeWorkGroupSize (const tcu::UVec3& gridSize) argument
129 const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxComputeWorkGroupInvocations);
130 const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxComputeWorkGroupInvocations / xWorkGroupSize);
131 const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxComputeWorkGroupInvocations / (xWorkGroupSize*yWorkGroupSize));
180 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); local
181 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize);
189 << " if( gl_GlobalInvocationID.x < " << gridSize.x() << " ) \n"
190 << " if( gl_GlobalInvocationID.y < " << gridSize.y() << " ) \n"
191 << " if( gl_GlobalInvocationID.z < " << gridSize.z() << " ) \n"
587 const tcu::UVec3 gridSize local
[all...]
H A DvktSparseResourcesTestsUtil.cpp150 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); local
152 return gridSize.x() * gridSize.y() * gridSize.z();
/external/deqp/modules/gles2/functional/
H A Des2fVertexTextureTests.cpp187 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
226 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument
227 : m_gridSize(gridSize)
333 const int gridSize = grid.getSize(); local
335 for (int y = 0; y < gridSize; y++)
336 for (int x = 0; x < gridSize; x++)
338 const Vec4 color = quadColors[y*gridSize + x];
362 const int gridSize = grid.getSize(); local
363 vector<Vec4> quadColors (gridSize*gridSize);
[all...]
H A Des2fStencilTests.cpp283 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); local
314 int cellWidth = width/gridSize;
315 int cellHeight = height/gridSize;
316 for (int y = 0; y < gridSize; y++)
317 for (int x = 0; x < gridSize; x++)
/external/deqp/modules/gles3/stress/
H A Des3sSpecialFloatTests.cpp1166 const int gridSize = 16;
1167 std::vector<tcu::Vec4> gridVertices (gridSize * gridSize);
1168 std::vector<tcu::Vec2> gridTexCoords (gridSize * gridSize);
1169 std::vector<deUint16> indices ((gridSize - 1) * (gridSize - 1) * 6);
1173 for (int x = 0; x < gridSize; ++x)
1174 for (int y = 0; y < gridSize; ++y)
1176 const float posX = (float)x / ((float)gridSize
[all...]
/external/deqp/modules/gles31/functional/
H A Des31fDrawTests.cpp995 ComputeShaderGeneratedCase (Context& context, const char* name, const char* desc, DrawMethod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCount);
1031 ComputeShaderGeneratedCase::ComputeShaderGeneratedCase (Context& context, const char* name, const char* desc, DrawMethod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int drawCallCount) argument
1039 , m_gridSize (gridSize)
1240 << " const uint gridSize = " << m_gridSize << "u;\n"
1241 << " const uint triangleCount = gridSize * gridSize * 2u;\n"
1276 buf << " if (gl_GlobalInvocationID.x < gridSize && gl_GlobalInvocationID.y < gridSize && gl_GlobalInvocationID.z == 0u) {\n"
1279 << " float posX = (float(x) / float(gridSize)) * 2.0 - 1.0;\n"
1280 << " float posY = (float(y) / float(gridSize)) * 2.
[all...]
H A Des31fPrimitiveBoundingBoxTests.cpp4616 const int gridSize = 6;
4618 std::vector<tcu::Vec4> data (gridSize * gridSize * 2 * 3);
4619 std::vector<int> cellOrder (gridSize * gridSize * 2);
4632 const int cellX = (cellNdx / 2) % gridSize;
4633 const int cellY = (cellNdx / 2) / gridSize;
4637 data[ndx * 3 + 0] = tcu::Vec4(float(cellX+0) / float(gridSize), (float(cellY+0) / float(gridSize)) * 2.0f - 1.0f, 0.0f, 1.0f);
4638 data[ndx * 3 + 1] = tcu::Vec4(float(cellX+1) / float(gridSize), (floa
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fStencilTests.cpp286 int gridSize = (int)deFloatCeil(deFloatSqrt((float)(numStencilValues+2))); local
317 int cellWidth = width/gridSize;
318 int cellHeight = height/gridSize;
319 for (int y = 0; y < gridSize; y++)
320 for (int x = 0; x < gridSize; x++)
H A Des3fVertexTextureTests.cpp237 PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords);
276 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const TexCoordParams& texCoordParams, bool useSafeTexCoords) argument
277 : m_gridSize(gridSize)
429 const int gridSize = grid.getSize(); local
431 for (int y = 0; y < gridSize; y++)
432 for (int x = 0; x < gridSize; x++)
434 const Vec4 color = quadColors[y*gridSize + x];
460 const int gridSize = grid.getSize(); local
461 vector<Vec4> quadColors (gridSize*gridSize);
[all...]

Completed in 430 milliseconds