Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockTests.cpp45 … name, const std::string& description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
52 if (numInstances > 0) in BlockBasicTypeCase()
54 block.setArraySize(numInstances); in BlockBasicTypeCase()
62 … testCtx, const std::string& name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument
64 …kBasicTypeCase(testCtx, name + "_vertex", "", type, layoutFlags|DECLARE_VERTEX, numInstances)); in createBlockBasicTypeCases()
65 …icTypeCase(testCtx, name + "_fragment", "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
66 …se(testCtx, name + "_both", "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
72 …ame, const std::string& description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument
84 if (numInstances > 0) in BlockSingleStructCase()
87 block.setArraySize(numInstances); in BlockSingleStructCase()
[all …]
DvktRandomUniformBlockCase.cpp100 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local
103 if (numInstances > 0) in generateBlock()
104 block.setArraySize(numInstances); in generateBlock()
106 if (numInstances > 0 || rnd.getBool()) in generateBlock()
/external/gptfdisk/
Dparttypes.cc19 int PartType::numInstances = 0; member in PartType
33 numInstances++; in PartType()
34 if (numInstances == 1) { in PartType()
40 numInstances++; in PartType()
41 if (numInstances == 1) { // should never happen; just being paranoid in PartType()
47 numInstances++; in PartType()
48 if (numInstances == 1) { in PartType()
56 numInstances--; in ~PartType()
57 if (numInstances == 0) { in ~PartType()
Dmbrpart.cc35 int MBRPart::numInstances = 0; member in MBRPart
51 if (numInstances == 0) { in MBRPart()
57 numInstances++; in MBRPart()
61 numInstances++; in MBRPart()
66 numInstances--; in ~MBRPart()
Dgptcurses.cc36 int GPTDataCurses::numInstances = 0; member in GPTDataCurses
39 if (numInstances > 0) { in GPTDataCurses()
49 numInstances++; in GPTDataCurses()
61 numInstances--; in ~GPTDataCurses()
62 if ((numInstances == 0) && !isendwin()) in ~GPTDataCurses()
Dparttypes.h34 static int numInstances;
Dgptcurses.h78 static int numInstances;
Dmbrpart.h69 static int numInstances; variable
/external/mesa3d/src/mesa/main/
Dapi_validate.c522 GLsizei count, GLsizei numInstances) in _mesa_validate_DrawArraysInstanced() argument
544 if (numInstances <= 0) { in _mesa_validate_DrawArraysInstanced()
545 if (numInstances < 0) in _mesa_validate_DrawArraysInstanced()
547 "glDrawArraysInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawArraysInstanced()
566 const GLvoid *indices, GLsizei numInstances, in _mesa_validate_DrawElementsInstanced() argument
586 if (numInstances <= 0) { in _mesa_validate_DrawElementsInstanced()
587 if (numInstances < 0) in _mesa_validate_DrawElementsInstanced()
589 "glDrawElementsInstanced(numInstances=%d)", numInstances); in _mesa_validate_DrawElementsInstanced()
626 GLsizei numInstances) in _mesa_validate_DrawTransformFeedback() argument
651 if (numInstances <= 0) { in _mesa_validate_DrawTransformFeedback()
[all …]
Dapi_validate.h88 GLsizei numInstances);
/external/mesa3d/src/mesa/vbo/
Dvbo_exec_array.c584 GLsizei count, GLuint numInstances, GLuint baseInstance) in vbo_draw_arrays() argument
597 prim[0].num_instances = numInstances; in vbo_draw_arrays()
688 GLsizei numInstances) in vbo_exec_DrawArraysInstanced() argument
694 _mesa_lookup_enum_by_nr(mode), start, count, numInstances); in vbo_exec_DrawArraysInstanced()
696 if (!_mesa_validate_DrawArraysInstanced(ctx, mode, start, count, numInstances)) in vbo_exec_DrawArraysInstanced()
702 vbo_draw_arrays(ctx, mode, start, count, numInstances, 0); in vbo_exec_DrawArraysInstanced()
714 GLsizei numInstances, GLuint baseInstance) in vbo_exec_DrawArraysInstancedBaseInstance() argument
721 numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance()
724 numInstances)) in vbo_exec_DrawArraysInstancedBaseInstance()
730 vbo_draw_arrays(ctx, mode, first, count, numInstances, baseInstance); in vbo_exec_DrawArraysInstancedBaseInstance()
[all …]
/external/deqp/modules/gles31/functional/
Des31fUniformBlockTests.cpp62 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
69 if (numInstances > 0) in BlockBasicTypeCase()
71 block.setArraySize(numInstances); in BlockBasicTypeCase()
77 …ontext& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument
79 …ext, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances)); in createBlockBasicTypeCases()
80 …, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
83 …ng(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
89 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in Block2LevelStructArrayCase() argument
92 , m_numInstances (numInstances) in Block2LevelStructArrayCase()
Des31fSSBOLayoutTests.cpp126 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local
129 if (numInstances > 0) in generateBlock()
130 block.setArraySize(numInstances); in generateBlock()
132 if (numInstances > 0 || rnd.getBool()) in generateBlock()
166 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock()
311 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
318 if (numInstances > 0) in BlockBasicTypeCase()
320 block.setArraySize(numInstances); in BlockBasicTypeCase()
354 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument
357 , m_numInstances (numInstances) in BlockSingleStructCase()
[all …]
Des31fOpaqueTypeIndexingTests.cpp715 …void getShaderSpec (ShaderSpec* spec, int numInstances, int numReads, const int* readIndic…
780 void BlockArrayIndexingCase::getShaderSpec (ShaderSpec* spec, int numInstances, int numReads, const… in getShaderSpec() argument
803 "} " << instanceName << "[" << numInstances << "];\n"; in getShaderSpec()
844 const int numInstances = m_numInstances; in iterate() local
847 vector<deUint32> inValues (numInstances); in iterate()
853 readIndices[readNdx] = rnd.getInt(0, numInstances-1); in iterate()
855 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate()
858 getShaderSpec(&shaderSpec, numInstances, numReads, &readIndices[0], m_context.getRenderContext()); in iterate()
864 const BufferVector buffers (renderCtx, numInstances); in iterate()
878 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate()
Des31fProgramInterfaceDefinitionUtil.cpp850 int numInstances = 1; in getNumShaderBlocks() local
853 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in getNumShaderBlocks()
855 retVal += numInstances; in getNumShaderBlocks()
914 int numInstances = 1; in accumulateShader() local
917 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in accumulateShader()
920 …retVal += numInstances * accumulateComplexType(shader->getDefaultBlock().interfaceBlocks[ndx].vari… in accumulateShader()
1058 int numInstances = 1; in getMaxBufferBinding() local
1061 numInstances *= shader->getDefaultBlock().interfaceBlocks[ndx].dimensions[dimensionNdx]; in getMaxBufferBinding()
1063 maxBinding = de::max(maxBinding, binding + numInstances - 1); in getMaxBufferBinding()
1154 …const int numInstances = getNumTypeInstances(shader->getDefaultBlock().variables[ndx].varType, pre… in getUniformMaxBinding() local
[all …]
Des31fSSBOLayoutCase.cpp707 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() local
710 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout()
1179 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() local
1183 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc()
1262 const int numInstances = isArray ? block.getArraySize() : 1; in generateWriteSrc() local
1266 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateWriteSrc()
1609 const int numInstances = isArray ? block.getArraySize() : 1; in copyNonWrittenData() local
1613 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in copyNonWrittenData()
1861 const int numInstances = isArray ? block.getArraySize() : 1; in computeBufferSizes() local
1863 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeBufferSizes()
[all …]
Des31fTessellationGeometryInteractionTests.cpp2135 std::string getGeometryShaderSource (int numPrimitives, int numInstances, int tessLevel);
2632 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances, int tessL… in getGeometryShaderSource() argument
2638 "layout(triangles, invocations=" << numInstances << ") in;\n" in getGeometryShaderSource()
2674 … << tessLevel << " * " << numPrimitives << ", 2 * " << tessLevel << " * " << numInstances << ");\n" in getGeometryShaderSource()
2707 DE_ASSERT(m_numLayers == numInstances * 2); in getGeometryShaderSource()
2753 …" ivec2 srcSliceNdx = ivec2(gridPosition.x, gridPosition.y * " << (numInstances*2) << " + inputTri… in getGeometryShaderSource()
2754 …* srcSliceNdx.y) % ivec2(" << tessLevel << ", " << tessLevel << " * " << (numInstances*2) << ");\n" in getGeometryShaderSource()
2759 …" outputSliceArea.y = float(dstSliceNdx.y) / float(" << (tessLevel * numInstances * 2) << ") * 2.0… in getGeometryShaderSource()
2761 …" outputSliceArea.w = float(dstSliceNdx.y+1) / float(" << (tessLevel * numInstances * 2) << ") * 2… in getGeometryShaderSource()
2769 " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInstances << ");\n" in getGeometryShaderSource()
/external/deqp/modules/gles3/functional/
Des3fUniformBlockTests.cpp60 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
67 if (numInstances > 0) in BlockBasicTypeCase()
69 block.setArraySize(numInstances); in BlockBasicTypeCase()
75 …ontext& context, const char* name, const VarType& type, deUint32 layoutFlags, int numInstances = 0) in createBlockBasicTypeCases() argument
77 …ext, (string(name) + "_vertex").c_str(), "", type, layoutFlags|DECLARE_VERTEX, numInstances)); in createBlockBasicTypeCases()
78 …, (string(name) + "_fragment").c_str(), "", type, layoutFlags|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
81 …g(name) + "_both").c_str(), "", type, layoutFlags|DECLARE_VERTEX|DECLARE_FRAGMENT, numInstances)); in createBlockBasicTypeCases()
87 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument
90 , m_numInstances (numInstances) in BlockSingleStructCase()
120 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructArrayCase() argument
[all …]
Des3fInstancedRenderingTests.cpp107 …DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances);
142 … DrawFunction function, InstancingType instancingType, glu::DataType rgbAttrType, int numInstances) in InstancedRenderingCase() argument
147 , m_numInstances (numInstances) in InstancedRenderingCase()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutTests.cpp119 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local
122 if (numInstances > 0) in generateBlock()
123 block.setArraySize(numInstances); in generateBlock()
125 if (numInstances > 0 || rnd.getBool()) in generateBlock()
155 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock()
298 …t char* name, const char* description, const VarType& type, deUint32 layoutFlags, int numInstances) in BlockBasicTypeCase() argument
305 if (numInstances > 0) in BlockBasicTypeCase()
307 block.setArraySize(numInstances); in BlockBasicTypeCase()
345 …char* name, const char* description, deUint32 layoutFlags, BufferMode bufferMode, int numInstances) in BlockSingleStructCase() argument
348 , m_numInstances (numInstances) in BlockSingleStructCase()
[all …]
DvktSSBOLayoutCase.cpp622 int numInstances = block.isArray() ? block.getArraySize() : 1; in computeReferenceLayout() local
625 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout()
1094 const int numInstances = isArray ? block.getArraySize() : 1; in generateCompareSrc() local
1098 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc()
1177 const int numInstances = isArray ? block.getArraySize() : 1; in generateWriteSrc() local
1181 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateWriteSrc()
1387 const int numInstances = isArray ? block.getArraySize() : 1; in copyNonWrittenData() local
1391 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in copyNonWrittenData()
1639 const int numInstances = isArray ? block.getArraySize() : 1; in computeBufferSizes() local
1641 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeBufferSizes()
/external/deqp/modules/glshared/
DglsRandomUniformBlockCase.cpp88 …int numInstances = (m_maxInstances > 0 && rnd.getFloat() < instanceArrayWeight) ? rnd.getInt(0… in generateBlock() local
91 if (numInstances > 0) in generateBlock()
92 block.setArraySize(numInstances); in generateBlock()
94 if (numInstances > 0 || rnd.getBool()) in generateBlock()
/external/deqp/modules/gles31/stress/
Des31sTessellationGeometryInteractionTests.cpp85 std::string getGeometryShaderSource (int numPrimitives, int numInstances);
488 std::string GridRenderCase::getGeometryShaderSource (int numPrimitives, int numInstances) in getGeometryShaderSource() argument
494 "layout(triangles, invocations=" << numInstances << ") in;\n" in getGeometryShaderSource()
526 " float sliceHeight = (aabb.w - aabb.y) / float(2 * " << numInstances << ");\n" in getGeometryShaderSource()
/external/deqp/framework/referencerenderer/
DrrRenderer.hpp139 void drawInstanced (const DrawCommand& command, int numInstances) const;
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktOpaqueTypeIndexingTests.cpp978 const int numInstances = BlockArrayIndexingCaseInstance::NUM_INSTANCES; in createShaderSpec() local
990 m_readIndices[readNdx] = rnd.getInt(0, numInstances-1); in createShaderSpec()
992 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in createShaderSpec()
1005 "} " << instanceName << "[" << numInstances << "];\n"; in createShaderSpec()

12