Home
last modified time | relevance | path

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

12

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineDynamicOffsetTests.cpp120 const TestParams m_params; member in vkt::pipeline::__anon18a1fbb70111::DynamicOffsetGraphicsTestInstance
147 , m_params (params) in DynamicOffsetGraphicsTestInstance()
150 , m_vertices (createQuads(m_params.numDescriptorSetBindings * m_params.numCmdBuffers, 0.25f)) in DynamicOffsetGraphicsTestInstance()
160 const deUint32 numBindings = m_params.numDynamicBindings + m_params.numNonDynamicBindings; in init()
166 …const VkDeviceSize offsetAlignment = de::max((VkDeviceSize)16, m_params.descriptorType == VK… in init()
169 …const VkDescriptorType nonDynamicDescriptorType = m_params.descriptorType == VK_DESCRIPTOR_TYPE_… in init()
314 …torType descriptorType = binding >= m_params.numDynamicBindings ? nonDynamicDescriptorType… in init()
359 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
384 poolBuilder.addType(m_params.descriptorType, m_params.numDynamicBindings); in init()
385 poolBuilder.addType(nonDynamicDescriptorType, m_params.numNonDynamicBindings); in init()
[all …]
DvktPipelinePushDescriptorTests.cpp222 const TestParams m_params; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTestInstance
257 , m_params (params) in PushDescriptorBufferGraphicsTestInstance()
356 m_params.binding, // uint32_t binding; in init()
357 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
393 …const VkBufferUsageFlags usageFlags = m_params.descriptorType == VK_DESCRIPTOR_TYPE_UNIFORM_BUFF… in init()
519 for (deUint32 quadNdx = 0; quadNdx < m_params.numCalls; quadNdx++) in init()
533 m_params.binding, // uint32_t dstBinding; in init()
536 m_params.descriptorType, // VkDescriptorType descriptorType; in init()
576 for (deUint32 quadIdx = 0; quadIdx < m_params.numCalls; quadIdx++) in verifyImage()
616 const TestParams m_params; member in vkt::pipeline::__anon3f66cf0a0111::PushDescriptorBufferGraphicsTest
[all …]
DvktPipelineMultisampleSampleLocationsExtTests.cpp1450 , m_params (params) in TestBase()
1465 …etPhysicalDeviceMultisamplePropertiesEXT(m_context.getPhysicalDevice(), m_params.numSamples, &mult… in TestBase()
1486 if ((limits.framebufferColorSampleCounts & m_params.numSamples) == 0u) in iterate()
1489 if ((m_sampleLocationsProperties.sampleLocationSampleCounts & m_params.numSamples) == 0u) in iterate()
1500 …m_pixelGrid = MovePtr<MultisamplePixelGrid>(new MultisamplePixelGrid(currentGridSize(), m_params.n… in iterate()
1502 if ((m_params.options & TEST_OPTION_CLOSELY_PACKED_BIT) != 0u) in iterate()
1518 …keImage(vk, device, (VkImageCreateFlags)0, m_colorFormat, m_renderSize, m_params.numSamples, VK_IM… in iterate()
1572 …const bool useDynamicStateSampleLocations = ((m_params.options & TEST_OPTION_DYNAMIC_STATE_BI… in drawSinglePass()
1581 m_params.numSamples, // VkSampleCountFlagBits numSamples, in drawSinglePass()
1617m_params.numSamples, /*use sample locations*/ true, makeEmptySampleLocationsInfo(), vertexInputCon… in drawSinglePass()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/protected_memory/
DvktProtectedMemShaderImageAccessTests.cpp242 const Params& m_params; member in vkt::ProtectedMem::__anon5f473ff60111::ImageAccessTestInstance
254 , m_params (params) in ImageAccessTestCase()
261 return new ImageAccessTestInstance(ctx, m_validator, m_params); in createInstance()
267 Params m_params; member in vkt::ProtectedMem::__anon5f473ff60111::ImageAccessTestCase
272 const tcu::TextureFormat& texFormat = mapVkFormat(m_params.imageFormat); in initPrograms()
276 const std::string colorVecType = isIntFormat(m_params.imageFormat) ? "ivec4" : in initPrograms()
277 isUintFormat(m_params.imageFormat) ? "uvec4" : "vec4"; in initPrograms()
281 if (m_params.shaderType == glu::SHADERTYPE_FRAGMENT) in initPrograms()
305 switch (m_params.accessType) in initPrograms()
329 switch (m_params.accessType) in initPrograms()
[all …]
DvktProtectedMemWorkgroupStorageTests.cpp104 const Params& m_params; member in vkt::ProtectedMem::__anon3b7bff8f0111::WorkgroupStorageTestInstance
116 , m_params (params) in WorkgroupStorageTestCase()
123 return new WorkgroupStorageTestInstance(ctx, m_validator, m_params); in createInstance()
129 Params m_params; member in vkt::ProtectedMem::__anon3b7bff8f0111::WorkgroupStorageTestCase
141 …"layout(local_size_x = " + de::toString(m_params.imageWidth) + ", local_size_y = " + de::toString( in initPrograms()
144 "shared vec4 sharedData[" + de::toString(m_params.sharedMemorySize) + "];\n" in initPrograms()
149 " int s = " + de::toString(m_params.sharedMemorySize) + ";\n" in initPrograms()
150 " int idx0 = gy * " + de::toString(m_params.imageWidth) + " + gx;\n" in initPrograms()
170 , m_params (params) in WorkgroupStorageTestInstance()
178 …de::MovePtr<tcu::Texture2D> texture2D (new tcu::Texture2D(texFmt, m_params.imageWidth, m_params.i… in createTestTexture2D()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/sparse_resources/
DvktSparseResourcesQueueBindSparseTests.cpp149 , m_params (params) in SparseQueueBindTestInstance()
151 DE_ASSERT(m_params.numQueues > 0u); // must use at least one queue in SparseQueueBindTestInstance()
152 …DE_ASSERT(!m_params.emptySubmission || (m_params.numWaitSemaphores == 0u && m_params.numSignalSema… in SparseQueueBindTestInstance()
169 …requirements.push_back(QueueRequirements((VkQueueFlags)0, m_params.numQueues)); // any queue flags in iterate()
176 for (deUint32 queueNdx = 0u; queueNdx < m_params.numQueues; ++queueNdx) in iterate()
192 for (deUint32 i = 0; i < m_params.numWaitSemaphores; ++i) in iterate()
198 for (deUint32 i = 0; i < m_params.numSignalSemaphores; ++i) in iterate()
208 deUint32 numSemaphores = m_params.numWaitSemaphores; in iterate()
231 if (!m_params.emptySubmission) in iterate()
234 …sparseQueue, m_params.numWaitSemaphores, getDataOrNullptr(waitSemaphores), m_params.numSignalSemap… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp512 const TestParams& m_params; member in vkt::api::__anon2ff3f5bb0111::ImageClearingTestInstance
539 , m_params (params) in ImageClearingTestInstance()
572 if (m_params.allocationKind == ALLOCATION_KIND_DEDICATED) in ImageClearingTestInstance()
661 …alDeviceImageFormatProperties(m_context.getPhysicalDevice(), m_params.imageFormat, m_params.imageT… in getImageFormatProperties()
662 m_params.imageTiling, m_imageUsageFlags, (VkImageCreateFlags)0, &properties); in getImageFormatProperties()
672 …tPhysicalDevice(), m_device, image, MemoryRequirement::Any, m_allocator, m_params.allocationKind)); in allocateAndBindImageMemory()
887 …rmat tcuFormat = aspectMask == VK_IMAGE_ASPECT_COLOR_BIT ? mapVkFormat(m_params.imageFormat) : in readImage()
888 aspectMask == VK_IMAGE_ASPECT_DEPTH_BIT ? getDepthCopyFormat(m_params.imageFormat) : in readImage()
889 … aspectMask == VK_IMAGE_ASPECT_STENCIL_BIT ? getStencilCopyFormat(m_params.imageFormat) : in readImage()
894 if (!getIsDepthFormat(m_params.imageFormat) && !getIsStencilFormat(m_params.imageFormat)) in readImage()
[all …]
DvktApiFillBufferTests.cpp76 const TestParams m_params; member in vkt::api::__anon854e32f40111::FillBufferTestInstance
109 , m_params (testParams) in FillBufferTestInstance()
122 …testParams.bufferAllocator->createTestBuffer(m_params.dstSize, VK_BUFFER_USAGE_TRANSFER_DST_BIT, c… in FillBufferTestInstance()
127 const int dstLevelWidth = (int)(m_params.dstSize / 4); in iterate()
149 m_params.dstOffset, // VkDeviceSize offset; in iterate()
154 …vk.cmdFillBuffer(*m_cmdBuffer, *m_destination, m_params.dstOffset, m_params.size, m_params.testDat… in iterate()
223 …tPtr = (deUint32*) m_expectedTextureLevel->getAccess().getDataPtr() + m_params.dstOffset / 4; in generateExpectedResult()
224 deUint32* endPtr = currentPtr + m_params.size / 4; in generateExpectedResult()
228 *currentPtr = m_params.testData[0]; in generateExpectedResult()
241 , m_params (params) in FillBufferTestCase()
[all …]
DvktApiCopiesAndBlittingTests.cpp311 const TestParams m_params; member in vkt::api::__anonf5b779060111::CopiesAndBlittingTestInstance
350 , m_params (testParams) in CopiesAndBlittingTestInstance()
489 …kPhysDevice, vkDevice, *buffer, MemoryRequirement::HostVisible, memAlloc, m_params.allocationKind); in uploadImageAspect()
642 for (deUint32 i = 0; i < m_params.regions.size(); i++) in generateExpectedResult()
643 copyRegionToTextureLevel(src, m_expectedTextureLevel[0]->getAccess(), m_params.regions[i]); in generateExpectedResult()
691 …, physDevice, device, *buffer, MemoryRequirement::HostVisible, allocator, m_params.allocationKind); in readImageAspect()
849 getCreateFlags(m_params.src.image), // VkImageCreateFlags flags; in CopyImageToImage()
850 m_params.src.image.imageType, // VkImageType imageType; in CopyImageToImage()
851 m_params.src.image.format, // VkFormat format; in CopyImageToImage()
852 getExtent3D(m_params.src.image), // VkExtent3D extent; in CopyImageToImage()
[all …]
/external/deqp/modules/gles3/stress/
Des3sLongRunningShaderTests.cpp102 const Params* const m_params; member in deqp::gles3::Stress::__anon6bfaeb450111::LongRunningShaderCase
111 , m_params (params) in LongRunningShaderCase()
212 m_program = new glu::ShaderProgram(m_context.getRenderContext(), genSources(*m_params)); in init()
224 if (m_params->iterCountType != ITERCOUNTTYPE_STATIC) in init()
226 …m_testCtx.getLog() << TestLog::Message << "Loop iteration counts in range: [" << m_params->minLoop… in init()
227 << ", " << m_params->maxLoopIterCount << "]" in init()
231 …m_testCtx.getLog() << TestLog::Message << "Number of vertices and fragments: " << m_params->numInv… in init()
276 de::Random rnd (getSeed(*m_params)); in iterate()
277 vector<Vec2> positions (m_params->numInvocations); in iterate()
278 …vector<int> iterCounts (m_params->iterCountType == ITERCOUNTTYPE_DYNAMIC ? m_params->numInvo… in iterate()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawNegativeViewportHeightTests.cpp78 const TestParams m_params; member in vkt::Draw::__anon888051870111::NegativeViewportHeightTestInstance
91 , m_params (params) in NegativeViewportHeightTestInstance()
227 m_params.cullMode, // cullMode in NegativeViewportHeightTestInstance()
228 m_params.frontFace, // frontFace in NegativeViewportHeightTestInstance()
268 if (m_params.zeroViewportHeight) in draw()
323 const bool isFrontFacing = (triangleFace == m_params.frontFace); in isCulled()
325 if (m_params.cullMode == VK_CULL_MODE_FRONT_BIT && isFrontFacing) in isCulled()
327 if (m_params.cullMode == VK_CULL_MODE_BACK_BIT && !isFrontFacing) in isCulled()
330 return m_params.cullMode == VK_CULL_MODE_FRONT_AND_BACK; in isCulled()
346 if (m_params.zeroViewportHeight) in generateReferenceImage()
[all …]
DvktDrawInstancedTests.cpp221 const TestParams m_params; member in vkt::Draw::__anon1daf2bb40111::InstancedDrawInstance
254 , m_params (params) in InstancedDrawCase()
286 if (m_params.testAttribDivisor) in createInstance()
292 …if (m_params.attribDivisor != 1 && !vertexAttributeDivisorFeatures.vertexAttributeInstanceRateDivi… in createInstance()
295 …if (m_params.attribDivisor == 0 && !vertexAttributeDivisorFeatures.vertexAttributeInstanceRateZero… in createInstance()
299 return new InstancedDrawInstance(context, m_params); in createInstance()
309 const TestParams m_params; member in vkt::Draw::__anon1daf2bb40111::InstancedDrawCase
316 , m_params (params) in InstancedDrawInstance()
421 m_params.attribDivisor, in InstancedDrawInstance()
423 if (m_params.testAttribDivisor) in InstancedDrawInstance()
[all …]
DvktDrawInvertedDepthRangesTests.cpp71 const TestParams m_params; member in vkt::Draw::__anon2deef3d10111::InvertedDepthRangesTestInstance
84 , m_params (params) in InvertedDepthRangesTestInstance()
90 if (m_params.depthClampEnable && !m_context.getDeviceFeatures().depthClamp) in InvertedDepthRangesTestInstance()
223 m_params.depthClampEnable, // depthClampEnable in InvertedDepthRangesTestInstance()
321 …const float depthFinal = depthClamped * m_params.maxDepth + (1.0f - depthClamped) * m_params.minDe… in generateReferenceImage()
323 if (m_params.depthClampEnable || (depth >= 0.0f && depth <= 1.0f)) in generateReferenceImage()
340 m_params.minDepth, // float minDepth; in iterate()
341 m_params.maxDepth, // float maxDepth; in iterate()
362 , m_params (params) in InvertedDepthRangesTest()
405 return new InvertedDepthRangesTestInstance(context, m_params); in createInstance()
[all …]
/external/deqp/modules/glshared/
DglsCalibration.cpp211 …: m_params (1 /* initial calls */, 10 /* calibrate iter frames */, 2000.0f /* calibrate iter short… in TheilSenCalibrator()
219 : m_params (params) in TheilSenCalibrator()
238 m_params = params; in clear()
268 const float minGoodFrameTimeUs = m_params.targetFrameTimeUs * 0.95f; in recomputeParameters()
269 const float maxGoodFrameTimeUs = m_params.targetFrameTimeUs * 1.15f; in recomputeParameters()
283 …endCalibration = endCalibration || (int)m_calibrateIterations.size() >= m_params.maxCalibrateItera… in recomputeParameters()
326 …ns.back().numDrawCalls == 1 && m_calibrateIterations.back().frameTime > m_params.targetFrameTimeUs… in recomputeParameters()
332 …int numMeasureFrames = deClamp32(deRoundFloatToInt32(m_params.targetMeasureDurationUs / m_calibr… in recomputeParameters()
335 …m_measureState.start(numMeasureFrames, m_params.calibrateIterationShortcutThreshold, m_calibrateIt… in recomputeParameters()
348 newCallCount = m_params.numInitialCalls; in recomputeParameters()
[all …]
DglsFboCompletenessTests.cpp826 attachTargetToNew(m_params.attPoint, m_params.bufType, m_params.format, 64, 64, builder); in build()
883 if (m_params.stencilKind == m_params.depthKind) in makeDepthAndStencil()
888 DEPTH_RENDERABLE | STENCIL_RENDERABLE | formatFlag(m_params.stencilKind); in makeDepthAndStencil()
894 Attachment* att = makeAttachment(m_params.depthKind, format, 64, 64, builder); in makeDepthAndStencil()
902 attachTargetToNew(GL_STENCIL_ATTACHMENT, m_params.stencilKind, ImageFormat::none(), in makeDepthAndStencil()
904 attachTargetToNew(GL_DEPTH_ATTACHMENT, m_params.depthKind, ImageFormat::none(), in makeDepthAndStencil()
910 attachTargetToNew(GL_COLOR_ATTACHMENT0, m_params.color0Kind, ImageFormat::none(), in build()
913 if (m_params.colornKind != GL_NONE) in build()
924 attachTargetToNew(GL_COLOR_ATTACHMENT0 + i, m_params.colornKind, in build()
DglsCalibration.hpp163 const CalibratorParameters& getParameters (void) const { return m_params; } in getParameters()
177 CalibratorParameters m_params; member in deqp::gls::TheilSenCalibrator
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationGeometryPassthroughTests.cpp414 …hTestInstance (Context& context, const Params& params) : TestInstance(context), m_params(params) {} in PassthroughTestInstance()
418 const Params m_params; member in vkt::tessellation::__anon33d800b10111::PassthroughTestInstance
435 if (m_params.useTessLevels) in iterate()
439 *bufferTessLevels = m_params.tessLevels; in iterate()
445 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(m_params.vertices); in iterate()
451 …deMemcpy(alloc.getHostPtr(), &m_params.vertices[0], static_cast<std::size_t>(vertexDataSizeBytes)); in iterate()
501 log << tcu::TestLog::Message << m_params.message << tcu::TestLog::EndMessage; in iterate()
503 if (m_params.useTessLevels) in iterate()
504 …age << "Tessellation levels: " << getTessellationLevelsString(m_params.tessLevels, m_params.primit… in iterate()
509 const PipelineDescription& pipelineDescription = m_params.pipelineCases[pipelineNdx]; in iterate()
[all …]
DvktTessellationGeometryGridRenderTests.cpp467 …rTestInstance (Context& context, const Params& params) : TestInstance(context), m_params(params) {} in GridRenderTestInstance()
471 Params m_params; member in vkt::tessellation::__anoneae158ff0111::GridRenderTestInstance
545 …LayersRange = makeImageSubresourceRange(VK_IMAGE_ASPECT_COLOR_BIT, 0u, 1u, 0u, m_params.numLayers); in iterate()
546 …Format, VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT | VK_IMAGE_USAGE_TRANSFER_SRC_BIT, m_params.numLayers); in iterate()
547 …const VkImageViewType colorAttachmentViewType = (m_params.numLayers == 1 ? VK_IMAGE_VIEW_TYPE_… in iterate()
552 …const VkDeviceSize colorBufferSizeBytes = renderSize.x()*renderSize.y() * m_params.numLayers * tcu… in iterate()
559 …k, device, *renderPass, *colorAttachmentView, renderSize.x(), renderSize.y(), m_params.numLayers)); in iterate()
600 …K_ACCESS_COLOR_ATTACHMENT_WRITE_BIT, VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL, m_params.numLayers); in iterate()
610 …mageAllLayers(mapVkFormat(colorFormat), renderSize.x(), renderSize.y(), m_params.numLayers, alloc.… in iterate()
613 for (int ndx = 0; ndx < m_params.numLayers; ++ndx) in iterate()
/external/testng/src/main/java/org/testng/xml/
DResultContentHandler.java48 private List<String> m_params = null; field in ResultContentHandler
90 m_params = Lists.newArrayList(); in startElement()
96 if (m_params != null) { in characters()
100 m_params.add(parameter); in characters()
134 String[] params = new String[m_params.size()]; in endElement()
135 for (int i = 0; i < m_params.size(); i++) { in endElement()
139 params[i] = "@:" + m_params.get(i); in endElement()
142 m_params = null; in endElement()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryBindingTests.cpp820 , m_params (params) in MemoryBindingInstance()
837 createBindingTargets<TTarget>(targets, m_context, m_params); in iterate()
838 createMemory<TTarget, TDedicated>(targets, memory, m_context, m_params); in iterate()
839 makeBinding<TTarget>(targets, memory, m_context, m_params); in iterate()
844 createBuffer(srcBuffer, srcMemory, m_context, m_params); in iterate()
845 pushData(*srcMemory, 1, m_context, m_params); in iterate()
850 createBuffer(dstBuffer, dstMemory, m_context, m_params); in iterate()
853 for (deUint32 i = 0; passed && i < m_params.targetsCount; ++i) in iterate()
855 fillUpResource(srcBuffer, *targets[i], m_context, m_params); in iterate()
856 readUpResource(*targets[i], dstBuffer, m_context, m_params); in iterate()
[all …]
/external/spirv-llvm/lib/SPIRV/Mangler/
DParameterType.h371 return (unsigned int)m_params.size(); in getNumOfParams()
378 assert(m_params.size() > index && "index is OOB"); in getParam()
379 return m_params[index]; in getParam()
387 m_params[index] = type; in setParam()
390 m_params.push_back(type); in setParam()
399 std::vector<RefParamType> m_params;
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp1047 TestParams m_params; member in deqp::gles31::Functional::__anon1825e4ad0111::SeparateShaderTest
1080 , m_params (params) in SeparateShaderTest()
1119 if (m_params.useCreateHelper) in createSingleShaderProgram()
1193 const bool useUniform = m_params.useUniform; in createPipeline()
1194 const string vtxName = m_params.useSameName ? "scale" : "vtxScale"; in createPipeline()
1195 const deUint32 initVtxSeed = m_params.switchVtx ? m_rnd.getUint32() : pp.vtxSeed; in createPipeline()
1197 const string frgName = m_params.useSameName ? "scale" : "frgScale"; in createPipeline()
1198 const deUint32 initFrgSeed = m_params.switchFrg ? m_rnd.getUint32() : pp.frgSeed; in createPipeline()
1212 DE_ASSERT(!(m_params.initSingle && m_params.useSameName && in createPipeline()
1213 !m_params.switchVtx && !m_params.switchFrg)); in createPipeline()
[all …]
/external/libkmsxx/kms++util/inc/kms++util/
Dopts.h31 const std::vector<std::string> params() const { return m_params; } in params()
37 std::vector<std::string> m_params; variable
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DTransformerIdentityImpl.java552 if (null == m_params) in setParameter()
554 m_params = new Hashtable(); in setParameter()
557 m_params.put(name, value); in setParameter()
575 if (null == m_params) in getParameter()
578 return m_params.get(name); in getParameter()
587 if (null == m_params) in clearParameters()
590 m_params.clear(); in clearParameters()
1458 private Hashtable m_params; field in TransformerIdentityImpl
/external/deqp/modules/gles3/functional/
Des3fFboCompletenessTests.cpp287 switch (m_params.textureKind) in build()
301 texCfg->numLayers = m_params.numLayers; in build()
305 att->layer = m_params.attachmentLayer; in build()
399 DE_STATIC_ASSERT(DE_LENGTH_OF_ARRAY(s_targets) == DE_LENGTH_OF_ARRAY(m_params.numSamples)); in build()
406 const GLsizei ns = m_params.numSamples[i]; in build()

12