Home
last modified time | relevance | path

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

/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp120 const IVec3& gridSize) in getAtomicFuncArgumentShaderStr() argument
133 …return string("((" + z + "*" + toString(gridSize.x()) + " + " + x + ")*" + toString(gridSize.y()) … in getAtomicFuncArgumentShaderStr()
195 … getAtomicFuncArgument (const AtomicOperation op, const IVec3& invocationID, const IVec3& gridSize) in getAtomicFuncArgument() argument
213 return (z*gridSize.x() + x)*gridSize.y() + y; in getAtomicFuncArgument()
296 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() local
297 …const string atomicCoord = getCoordStr(m_imageType, "gx % " + toString(gridSize.x()), "gy", "gz… in initPrograms()
300 …ration, "gx", "gy", "gz", IVec3(NUM_INVOCATIONS_PER_PIXEL*gridSize.x(), gridSize.y(), gridSize.z()… in initPrograms()
371 const UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() local
372 …const string atomicCoord = getCoordStr(m_imageType, "gx % " + toString(gridSize.x()), "gy", "gz… in initPrograms()
375 …ration, "gx", "gy", "gz", IVec3(NUM_INVOCATIONS_PER_PIXEL*gridSize.x(), gridSize.y(), gridSize.z()… in initPrograms()
[all …]
DvktImageTestsUtil.cpp142 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() local
144 return gridSize.x() * gridSize.y() * gridSize.z(); in getNumPixels()
/external/deqp/external/openglcts/modules/common/
DglcShaderRenderCase.cpp141 QuadGrid(int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords,
221 QuadGrid::QuadGrid(int gridSize, int width, int height, const Vec4& constCoords, in QuadGrid() argument
223 : m_gridSize(gridSize) in QuadGrid()
224 , m_numVertices((gridSize + 1) * (gridSize + 1)) in QuadGrid()
225 , m_numTriangles(gridSize * gridSize * 2) in QuadGrid()
243 for (int y = 0; y < gridSize + 1; y++) in QuadGrid()
244 for (int x = 0; x < gridSize + 1; x++) in QuadGrid()
246 float sx = static_cast<float>(x) / static_cast<float>(gridSize); in QuadGrid()
247 float sy = static_cast<float>(y) / static_cast<float>(gridSize); in QuadGrid()
250 int vtxNdx = ((y * (gridSize + 1)) + x); in QuadGrid()
[all …]
/external/deqp/modules/glshared/
DglsShaderRenderCase.cpp137 …QuadGrid (int gridSize, int screenWidth, int screenHeight, const Vec4& constCoords, const vecto…
177 QuadGrid::QuadGrid (int gridSize, int width, int height, const Vec4& constCoords, const vector<Mat4… in QuadGrid() argument
178 : m_gridSize (gridSize) in QuadGrid()
179 , m_numVertices ((gridSize + 1) * (gridSize + 1)) in QuadGrid()
180 , m_numTriangles (gridSize * gridSize * 2) in QuadGrid()
198 for (int y = 0; y < gridSize+1; y++) in QuadGrid()
199 for (int x = 0; x < gridSize+1; x++) in QuadGrid()
201 float sx = (float)x / (float)gridSize; in QuadGrid()
202 float sy = (float)y / (float)gridSize; in QuadGrid()
205 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid()
[all …]
DglsVertexArrayTests.cpp1311 …ride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize);
1316 … componentCount, int offset, int stride, Array::Primitive primitive, T min, T max, float gridSize);
1416 …tride, Array::Primitive primitive, Array::InputType type, GLValue min, GLValue max, float gridSize) in generateQuads() argument
1423 …<GLValue::Float>(seed, count, componentCount, offset, stride, primitive, min.fl, max.fl, gridSize); in generateQuads()
1427 …<GLValue::Fixed>(seed, count, componentCount, offset, stride, primitive, min.fi, max.fi, gridSize); in generateQuads()
1431 …s<GLValue::Double>(seed, count, componentCount, offset, stride, primitive, min.d, max.d, gridSize); in generateQuads()
1435 …ads<GLValue::Byte>(seed, count, componentCount, offset, stride, primitive, min.b, max.b, gridSize); in generateQuads()
1439 …ds<GLValue::Short>(seed, count, componentCount, offset, stride, primitive, min.s, max.s, gridSize); in generateQuads()
1443 …<GLValue::Ubyte>(seed, count, componentCount, offset, stride, primitive, min.ub, max.ub, gridSize); in generateQuads()
1447 …GLValue::Ushort>(seed, count, componentCount, offset, stride, primitive, min.us, max.us, gridSize); in generateQuads()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesImageMemoryAliasing.cpp575 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in iterate() local
576 …const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxWorkGroupSize.x()), maxWorkGr… in iterate()
577 …const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxWorkGroupSize.y()), maxWorkGr… in iterate()
578 …const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxWorkGroupSize.z()), maxWorkGr… in iterate()
580 …const deUint32 xWorkGroupCount = gridSize.x() / xWorkGroupSize + (gridSize.x() % xWorkGroupSize … in iterate()
581 …const deUint32 yWorkGroupCount = gridSize.y() / yWorkGroupSize + (gridSize.y() % yWorkGroupSize … in iterate()
582 …const deUint32 zWorkGroupCount = gridSize.z() / zWorkGroupSize + (gridSize.z() % zWorkGroupSize … in iterate()
636 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in iterate() local
638 …ccess pixelBuffer = tcu::ConstPixelBufferAccess(m_format, gridSize.x(), gridSize.y(), gridSize.z()… in iterate()
640 for (deUint32 offsetZ = 0u; offsetZ < gridSize.z(); ++offsetZ) in iterate()
[all …]
DvktSparseResourcesShaderIntrinsicsStorage.cpp34 tcu::UVec3 computeWorkGroupSize (const tcu::UVec3& gridSize) in computeWorkGroupSize() argument
39 …const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxC… in computeWorkGroupSize()
40 …const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxC… in computeWorkGroupSize()
41 …const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxC… in computeWorkGroupSize()
441 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize, mipLevelNdx); in recordCommands() local
442 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in recordCommands()
443 const tcu::UVec3 specializationData[2] = { gridSize, workGroupSize }; in recordCommands()
484 …const deUint32 xWorkGroupCount = gridSize.x() / workGroupSize.x() + (gridSize.x() % workGroupSize… in recordCommands()
485 …const deUint32 yWorkGroupCount = gridSize.y() / workGroupSize.y() + (gridSize.y() % workGroupSize… in recordCommands()
486 …const deUint32 zWorkGroupCount = gridSize.z() / workGroupSize.z() + (gridSize.z() % workGroupSize… in recordCommands()
DvktSparseResourcesImageSparseResidency.cpp84 tcu::UVec3 computeWorkGroupSize (const tcu::UVec3& gridSize) in computeWorkGroupSize() argument
89 …const deUint32 xWorkGroupSize = std::min(std::min(gridSize.x(), maxComputeWorkGroupSize.x()), maxC… in computeWorkGroupSize()
90 …const deUint32 yWorkGroupSize = std::min(std::min(gridSize.y(), maxComputeWorkGroupSize.y()), maxC… in computeWorkGroupSize()
91 …const deUint32 zWorkGroupSize = std::min(std::min(gridSize.z(), maxComputeWorkGroupSize.z()), maxC… in computeWorkGroupSize()
143 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in initPrograms() local
144 const tcu::UVec3 workGroupSize = computeWorkGroupSize(gridSize); in initPrograms()
152 << " if( gl_GlobalInvocationID.x < " << gridSize.x() << " ) \n" in initPrograms()
153 << " if( gl_GlobalInvocationID.y < " << gridSize.y() << " ) \n" in initPrograms()
154 << " if( gl_GlobalInvocationID.z < " << gridSize.z() << " ) \n" in initPrograms()
517 const tcu::UVec3 gridSize = getShaderGridSize(m_imageType, m_imageSize); in iterate() local
[all …]
DvktSparseResourcesTestsUtil.cpp129 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() local
131 return gridSize.x() * gridSize.y() * gridSize.z(); in getNumPixels()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRender.cpp143 QuadGrid (int gridSize,
190 QuadGrid::QuadGrid (int gridSize, in QuadGrid() argument
196 : m_gridSize (gridSize) in QuadGrid()
197 , m_numVertices ((gridSize + 1) * (gridSize + 1)) in QuadGrid()
198 , m_numTriangles (gridSize * gridSize * 2) in QuadGrid()
216 for (int y = 0; y < gridSize+1; y++) in QuadGrid()
217 for (int x = 0; x < gridSize+1; x++) in QuadGrid()
219 float sx = (float)x / (float)gridSize; in QuadGrid()
220 float sy = (float)y / (float)gridSize; in QuadGrid()
223 int vtxNdx = ((y * (gridSize+1)) + x); in QuadGrid()
[all …]
DvktShaderRender.hpp462 const deUint32 gridSize = static_cast<deUint32>(GRID_SIZE_DEFAULTS));
499 const deUint32 gridSize = static_cast<deUint32>(GRID_SIZE_DEFAULTS));
/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()
1575 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls…
1587 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedCombinedCase() argument
1588 …dCase(context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedCombinedCase()
1691 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls…
1708 …hod method, bool computeCmd, bool computeData, bool computeIndices, int gridSize, int numDrawCalls) in ComputeShaderGeneratedSeparateCase() argument
1709 …Case (context, name, desc, method, computeCmd, computeData, computeIndices, gridSize, numDrawCalls) in ComputeShaderGeneratedSeparateCase()
1906 const int gridSize = 8; in init() local
[all …]
Des31fPrimitiveBoundingBoxTests.cpp4780 const int gridSize = 6; in genVbo() local
4782 std::vector<tcu::Vec4> data (gridSize * gridSize * 2 * 3); in genVbo()
4783 std::vector<int> cellOrder (gridSize * gridSize * 2); in genVbo()
4796 const int cellX = (cellNdx / 2) % gridSize; in genVbo()
4797 const int cellY = (cellNdx / 2) / gridSize; in genVbo()
4801 …data[ndx * 3 + 0] = tcu::Vec4(float(cellX+0) / float(gridSize), (float(cellY+0) / float(gridSize))… in genVbo()
4802 …data[ndx * 3 + 1] = tcu::Vec4(float(cellX+1) / float(gridSize), (float(cellY+1) / float(gridSize))… in genVbo()
4803 …data[ndx * 3 + 2] = tcu::Vec4(float(cellX+0) / float(gridSize), (float(cellY+1) / float(gridSize))… in genVbo()
4807 …data[ndx * 3 + 0] = tcu::Vec4(float(cellX+0) / float(gridSize), (float(cellY+0) / float(gridSize))… in genVbo()
4808 …data[ndx * 3 + 1] = tcu::Vec4(float(cellX+1) / float(gridSize), (float(cellY+0) / float(gridSize))… in genVbo()
[all …]
/external/deqp/modules/gles2/functional/
Des2fVertexTextureTests.cpp190 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const…
229 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument
230 : m_gridSize(gridSize) in PosTexCoordQuadGrid()
336 const int gridSize = grid.getSize(); in setPixelColors() local
338 for (int y = 0; y < gridSize; y++) in setPixelColors()
339 for (int x = 0; x < gridSize; x++) in setPixelColors()
341 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors()
365 const int gridSize = grid.getSize(); in computeReference() local
366 vector<Vec4> quadColors (gridSize*gridSize); in computeReference()
368 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/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTestsUtil.cpp130 const tcu::UVec3 gridSize = getShaderGridSize(imageType, imageSize); in getNumPixels() local
132 return gridSize.x() * gridSize.y() * gridSize.z(); in getNumPixels()
DvktPipelineMultisampleSampleLocationsExtTests.cpp223 MultisamplePixelGrid (const tcu::UVec2& gridSize, const VkSampleCountFlagBits numSamples) in MultisamplePixelGrid() argument
224 : m_gridSize (gridSize) in MultisamplePixelGrid()
226 , m_sampleLocations (gridSize.x() * gridSize.y() * numSamples) in MultisamplePixelGrid()
228 DE_ASSERT(gridSize.x() > 0 && gridSize.y() > 0); in MultisamplePixelGrid()
526 …ferSampleLocations (const MultisamplePixelGrid& pixelGrid, const UVec2& gridSize, const UVec2& fra… in genFramebufferSampleLocations() argument
534 …const VkSampleLocationEXT& location = pixelGrid.getSample(x % gridSize.x(), y % gridSize.y(), samp… in genFramebufferSampleLocations()
1315 static UVec2& gridSize (void* const basePtr) { return *reinterpret_cast<UVec2*> (static_cast<deUi… in gridSize() function
1691 SampleDataSSBO::gridSize (m_sampleDataBufferAlloc->getHostPtr()) = m_pixelGrid->size(); in createSampleDataBufferAndDescriptors()
/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.cpp239 …PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const TexSizeIVec& textureSize, const…
278 PosTexCoordQuadGrid<TexType>::PosTexCoordQuadGrid (int gridSize, const IVec2& renderSize, const Tex… in PosTexCoordQuadGrid() argument
279 : m_gridSize(gridSize) in PosTexCoordQuadGrid()
431 const int gridSize = grid.getSize(); in setPixelColors() local
433 for (int y = 0; y < gridSize; y++) in setPixelColors()
434 for (int x = 0; x < gridSize; x++) in setPixelColors()
436 const Vec4 color = quadColors[y*gridSize + x]; in setPixelColors()
462 const int gridSize = grid.getSize(); in computeReference() local
463 vector<Vec4> quadColors (gridSize*gridSize); in computeReference()
465 for (int y = 0; y < gridSize; y++) in computeReference()
[all …]
/external/clang/test/PCH/Inputs/
Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/SemaCUDA/Inputs/
Dcuda.h22 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/clang/test/CodeGenCUDA/Inputs/
Dcuda.h19 int cudaConfigureCall(dim3 gridSize, dim3 blockSize, size_t sharedSize = 0,
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureFilteringAnisotropyTests.cpp111 const int gridSize = max(texture->getLevel(levelNdx, 0).getHeight() / 8, 1); in iterate() local
112 …tcu::fillWithGrid(texture->getLevel(levelNdx, 0), gridSize, Vec4(0.0f, 0.0f, 0.0f, 1.0f), Vec4(1.0… in iterate()