Lines Matching refs:Parameters

286 	Dependency (const Environment& env, const typename Case::Parameters& params)  in Dependency()
348 size_t computeSystemMemoryUsage (Context& context, const typename Object::Parameters& params) in computeSystemMemoryUsage()
418 const typename Object::Parameters& params, in getSafeObjectCount()
443 struct Parameters struct
447 Parameters (void) {} in Parameters() function
449 Parameters (vector<string>& extensions) in Parameters() argument
456 Resources (const Environment&, const Parameters&) {} in Resources()
459 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
464 static Move<VkInstance> create (const Environment& env, const Resources&, const Parameters& params) in create()
508 struct Parameters struct
513 Parameters (deUint32 deviceIndex_, VkQueueFlags queueFlags_) in Parameters() function
526 Resources (const Environment& env, const Parameters& params) in Resources()
527 : instance (env, Instance::Parameters()) in Resources()
560 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
565 static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters&) in create()
603 struct Parameters struct
609 Parameters (deUint32 deviceGroupIndex_, deUint32 deviceIndex_, VkQueueFlags queueFlags_) in Parameters() function
625 Resources (const Environment& env, const Parameters& params) in Resources()
627 , instance (env, Instance::Parameters(extensions)) in Resources()
664 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
669 …static Move<VkDevice> create (const Environment& env, const Resources& res, const Parameters& para… in create()
715 struct Parameters struct
720 Parameters (VkDeviceSize size_, deUint32 memoryTypeIndex_) in Parameters() argument
730 Resources (const Environment&, const Parameters&) {} in Resources()
733 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
744 …static Move<VkDeviceMemory> create (const Environment& env, const Resources&, const Parameters& pa… in create()
758 DeviceMemory::Parameters getDeviceMemoryParameters (const VkMemoryRequirements& memReqs) in getDeviceMemoryParameters()
760 return DeviceMemory::Parameters(memReqs.size, deCtz32(memReqs.memoryTypeBits)); in getDeviceMemoryParameters()
763 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkImage image) in getDeviceMemoryParameters()
768 DeviceMemory::Parameters getDeviceMemoryParameters (const Environment& env, VkBuffer image) in getDeviceMemoryParameters()
777 struct Parameters struct
782 Parameters (VkDeviceSize size_, in Parameters() function
791 Resources (const Environment&, const Parameters&) {} in Resources()
794 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
807 static Move<VkBuffer> create (const Environment& env, const Resources&, const Parameters& params) in create()
829 struct Parameters struct
831 Buffer::Parameters buffer; argument
836 Parameters (const Buffer::Parameters& buffer_, in Parameters() function
852 Resources (const Environment& env, const Parameters& params) in Resources()
860 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
865 …static Move<VkBufferView> create (const Environment& env, const Resources& res, const Parameters& … in create()
886 struct Parameters struct
899 Parameters (VkImageCreateFlags flags_, in Parameters() argument
924 Resources (const Environment&, const Parameters&) {} in Resources()
927 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
940 static Move<VkImage> create (const Environment& env, const Resources&, const Parameters& params) in create()
969 struct Parameters struct
971 Image::Parameters image; argument
977 Parameters (const Image::Parameters& image_, in Parameters() function
995 Resources (const Environment& env, const Parameters& params) in Resources()
1003 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1008 …static Move<VkImageView> create (const Environment& env, const Resources& res, const Parameters& p… in create()
1030 struct Parameters struct
1034 Parameters (VkSemaphoreCreateFlags flags_) in Parameters() function
1041 Resources (const Environment&, const Parameters&) {} in Resources()
1044 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1049 …static Move<VkSemaphore> create (const Environment& env, const Resources&, const Parameters& param… in create()
1066 struct Parameters struct
1070 Parameters (VkFenceCreateFlags flags_) in Parameters() function
1077 Resources (const Environment&, const Parameters&) {} in Resources()
1080 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1085 static Move<VkFence> create (const Environment& env, const Resources&, const Parameters& params) in create()
1102 struct Parameters struct
1106 Parameters (VkEventCreateFlags flags_) in Parameters() function
1113 Resources (const Environment&, const Parameters&) {} in Resources()
1116 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1121 static Move<VkEvent> create (const Environment& env, const Resources&, const Parameters& params) in create()
1138 struct Parameters struct
1144 Parameters (VkQueryType queryType_, in Parameters() function
1155 Resources (const Environment&, const Parameters&) {} in Resources()
1158 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1163 …static Move<VkQueryPool> create (const Environment& env, const Resources&, const Parameters& param… in create()
1183 struct Parameters struct
1188 Parameters (VkShaderStageFlagBits shaderStage_, in Parameters() argument
1199 Resources (const Environment& env, const Parameters& params) in Resources()
1204 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1238 static void initPrograms (SourceCollections& dst, Parameters params) in initPrograms()
1248 …static Move<VkShaderModule> create (const Environment& env, const Resources& res, const Parameters in create()
1267 struct Parameters struct
1269 Parameters (void) {} in Parameters() function
1274 Resources (const Environment&, const Parameters&) {} in Resources()
1277 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1282 static Move<VkPipelineCache> create (const Environment& env, const Resources&, const Parameters&) in create()
1301 struct Parameters struct
1320 Parameters (void) in Parameters() argument
1341 Resources (const Environment&, const Parameters&) {} in Resources()
1344 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1352 static Move<VkSampler> create (const Environment& env, const Resources&, const Parameters& params) in create()
1384 struct Parameters struct
1411 Parameters (const vector<Binding>& bindings_) in Parameters() function
1415 static Parameters empty (void) in empty() argument
1417 return Parameters(vector<Binding>()); in empty()
1420 static Parameters single (deUint32 binding, in single() argument
1428 return Parameters(bindings); in single()
1438 Resources (const Environment& env, const Parameters& params) in Resources()
1441 …for (vector<Parameters::Binding>::const_iterator cur = params.bindings.begin(); cur != params.bind… in Resources()
1445 immutableSampler = de::newMovePtr<Dependency<Sampler> >(env, Sampler::Parameters()); in Resources()
1452 …for (vector<Parameters::Binding>::const_iterator cur = params.bindings.begin(); cur != params.bind… in Resources()
1468 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1473 …ove<VkDescriptorSetLayout> create (const Environment& env, const Resources& res, const Parameters&) in create()
1492 struct Parameters struct
1494 vector<DescriptorSetLayout::Parameters> descriptorSetLayouts; argument
1497 Parameters (void) {} in Parameters() function
1499 static Parameters empty (void) in empty() argument
1501 return Parameters(); in empty()
1504 static Parameters singleDescriptorSet (const DescriptorSetLayout::Parameters& descriptorSetLayout) in singleDescriptorSet() argument
1506 Parameters params; in singleDescriptorSet()
1520 Resources (const Environment& env, const Parameters& params) in Resources()
1522 …for (vector<DescriptorSetLayout::Parameters>::const_iterator dsParams = params.descriptorSetLayout… in Resources()
1532 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1537 …e<VkPipelineLayout> create (const Environment& env, const Resources& res, const Parameters& params) in create()
1559 struct Parameters struct
1561 Parameters (void) {} in Parameters() function
1566 Resources (const Environment&, const Parameters&) {} in Resources()
1569 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1574 static Move<VkRenderPass> create (const Environment& env, const Resources&, const Parameters&) in create()
1591 struct Parameters struct
1593 Parameters (void) {} in Parameters() argument
1604 Resources (const Environment& env, const Parameters&) in Resources()
1605 : vertexShader (env, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")) in Resources()
1606 , fragmentShader (env, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")) in Resources()
1607 , layout (env, PipelineLayout::Parameters::singleDescriptorSet( in Resources()
1608 …DescriptorSetLayout::Parameters::single(0u, VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, 1u, VK_SHAD… in Resources()
1609 , renderPass (env, RenderPass::Parameters()) in Resources()
1610 , pipelineCache (env, PipelineCache::Parameters()) in Resources()
1614 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1619 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms()
1621 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_VERTEX_BIT, "vert")); in initPrograms()
1622 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_FRAGMENT_BIT, "frag")); in initPrograms()
1625 …p> createMultiple (const Environment& env, const Resources& res, const Parameters&, vector<VkPipel… in createMultiple()
1808 static Move<VkPipeline> create (const Environment& env, const Resources& res, const Parameters&) in create()
1812 vector<VkPipelineSp> scopedHandles = createMultiple(env, res, Parameters(), &handles, &result); in create()
1824 struct Parameters struct
1826 Parameters (void) {} in Parameters() argument
1835 static DescriptorSetLayout::Parameters getDescriptorSetLayout (void) in getDescriptorSetLayout()
1837 typedef DescriptorSetLayout::Parameters::Binding Binding; in getDescriptorSetLayout()
1844 return DescriptorSetLayout::Parameters(bindings); in getDescriptorSetLayout()
1847 Resources (const Environment& env, const Parameters&) in Resources()
1848 : shaderModule (env, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")) in Resources()
1849 , layout (env, PipelineLayout::Parameters::singleDescriptorSet(getDescriptorSetLayout())) in Resources()
1850 , pipelineCache (env, PipelineCache::Parameters()) in Resources()
1854 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1859 static void initPrograms (SourceCollections& dst, Parameters) in initPrograms()
1861 ShaderModule::initPrograms(dst, ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "comp")); in initPrograms()
1864 static Move<VkPipeline> create (const Environment& env, const Resources& res, const Parameters&) in create()
1888 …p> createMultiple (const Environment& env, const Resources& res, const Parameters&, vector<VkPipel… in createMultiple()
1936 struct Parameters struct
1942 Parameters (VkDescriptorPoolCreateFlags flags_, in Parameters() argument
1950 static Parameters singleType (VkDescriptorPoolCreateFlags flags, in singleType() argument
1957 return Parameters(flags, maxSets, poolSizes); in singleType()
1963 Resources (const Environment&, const Parameters&) {} in Resources()
1966 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
1971 …static Move<VkDescriptorPool> create (const Environment& env, const Resources&, const Parameters& … in create()
1991 struct Parameters struct
1993 DescriptorSetLayout::Parameters descriptorSetLayout; argument
1995 Parameters (const DescriptorSetLayout::Parameters& descriptorSetLayout_) in Parameters() function
2005 …static vector<VkDescriptorPoolSize> computePoolSizes (const DescriptorSetLayout::Parameters& layou… in computePoolSizes()
2012 …for (vector<DescriptorSetLayout::Parameters::Binding>::const_iterator cur = layout.bindings.begin(… in computePoolSizes()
2029 Resources (const Environment& env, const Parameters& params) in Resources()
2030 …: descriptorPool (env, DescriptorPool::Parameters(VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_B… in Resources()
2036 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
2041 …atic Move<VkDescriptorSet> create (const Environment& env, const Resources& res, const Parameters&) in create()
2055 …p> createMultiple (const Environment& env, const Resources& res, const Parameters&, vector<VkDescr… in createMultiple()
2092 struct Parameters struct
2094 Parameters (void) in Parameters() function
2104 Resources (const Environment& env, const Parameters&) in Resources()
2105 …: colorAttachment (env, ImageView::Parameters(Image::Parameters(0u, VK_IMAGE_TYPE_2D, VK_FORMAT_… in Resources()
2115 …, depthStencilAttachment (env, ImageView::Parameters(Image::Parameters(0u, VK_IMAGE_TYPE_2D, VK_FO… in Resources()
2125 , renderPass (env, RenderPass::Parameters()) in Resources()
2129 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
2135 static Move<VkFramebuffer> create (const Environment& env, const Resources& res, const Parameters&) in create()
2163 struct Parameters struct
2167 Parameters (VkCommandPoolCreateFlags flags_) in Parameters() argument
2174 Resources (const Environment&, const Parameters&) {} in Resources()
2177 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
2182 …static Move<VkCommandPool> create (const Environment& env, const Resources&, const Parameters& par… in create()
2200 struct Parameters struct
2202 CommandPool::Parameters commandPool; argument
2205 Parameters (const CommandPool::Parameters& commandPool_, in Parameters() function
2216 Resources (const Environment& env, const Parameters& params) in Resources()
2221 static deUint32 getMaxConcurrent (Context& context, const Parameters& params) in getMaxConcurrent()
2226 …ve<VkCommandBuffer> create (const Environment& env, const Resources& res, const Parameters& params) in create()
2240 …p> createMultiple (const Environment& env, const Resources& res, const Parameters& params, vector<… in createMultiple()
2275 tcu::TestStatus createSingleTest (Context& context, typename Object::Parameters params) in createSingleTest()
2288 tcu::TestStatus createMultipleUniqueResourcesTest (Context& context, typename Object::Parameters pa… in createMultipleUniqueResourcesTest()
2307 tcu::TestStatus createMultipleSharedResourcesTest (Context& context, typename Object::Parameters pa… in createMultipleSharedResourcesTest()
2323 tcu::TestStatus createMaxConcurrentTest (Context& context, typename Object::Parameters params) in createMaxConcurrentTest()
2363 …nment& env, const typename Object::Resources& resources, const typename Object::Parameters& params) in CreateThread()
2391 const typename Object::Parameters& m_params;
2395 …tatus multithreadedCreateSharedResourcesTest (Context& context, typename Object::Parameters params) in multithreadedCreateSharedResourcesTest()
2412 …us multithreadedCreatePerThreadResourcesTest (Context& context, typename Object::Parameters params) in multithreadedCreatePerThreadResourcesTest()
2440 …EnvClone (const Environment& parent, const Device::Parameters& deviceParams, deUint32 maxResourceC… in EnvClone()
2449 Device::Parameters getDefaulDeviceParameters (Context& context) in getDefaulDeviceParameters()
2451 return Device::Parameters(context.getTestContext().getCommandLine().getVKDeviceId()-1u, in getDefaulDeviceParameters()
2456 …tatus multithreadedCreatePerThreadDeviceTest (Context& context, typename Object::Parameters params) in multithreadedCreatePerThreadDeviceTest()
2463 const Device::Parameters deviceParams = getDefaulDeviceParameters(context); in multithreadedCreatePerThreadDeviceTest()
2483 tcu::TestStatus createSingleAllocCallbacksTest (Context& context, typename Object::Parameters param… in createSingleAllocCallbacksTest()
2545 tcu::TestStatus allocCallbackFailTest (Context& context, typename Object::Parameters params) in allocCallbackFailTest()
2641 tcu::TestStatus allocCallbackFailMultipleObjectsTest (Context& context, typename Object::Parameters in allocCallbackFailMultipleObjectsTest()
2725 typename Object::Parameters parameters;
2731 typename FunctionInstance1<typename Object::Parameters>::Function function;
2737 { (FunctionInstance1<OBJECT::Parameters>::Function)DE_NULL, DE_NULL, DE_NULL }
2824 …const Image::Parameters img1D (0u, VK_IMAGE_TYPE_1D, VK_FORMAT_R8G8B8A8_UNORM, makeExtent3D(256… in createObjectManagementTests()
2825 …const Image::Parameters img2D (0u, VK_IMAGE_TYPE_2D, VK_FORMAT_R8G8B8A8_UNORM, makeExtent3D( 64… in createObjectManagementTests()
2826 …const Image::Parameters imgCube (VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT, VK_IMAGE_TYPE_2D, VK_FORM… in createObjectManagementTests()
2827 …const Image::Parameters img3D (0u, VK_IMAGE_TYPE_3D, VK_FORMAT_R8G8B8A8_UNORM, makeExtent3D( 64… in createObjectManagementTests()
2828 …const ImageView::Parameters imgView1D (img1D, VK_IMAGE_VIEW_TYPE_1D, img1D.format, makeComponen… in createObjectManagementTests()
2829 …const ImageView::Parameters imgView1DArr (img1D, VK_IMAGE_VIEW_TYPE_1D_ARRAY, img1D.format, makeCo… in createObjectManagementTests()
2830 …const ImageView::Parameters imgView2D (img2D, VK_IMAGE_VIEW_TYPE_2D, img2D.format, makeComponen… in createObjectManagementTests()
2831 …const ImageView::Parameters imgView2DArr (img2D, VK_IMAGE_VIEW_TYPE_2D_ARRAY, img2D.format, makeCo… in createObjectManagementTests()
2832 …const ImageView::Parameters imgViewCube (imgCube, VK_IMAGE_VIEW_TYPE_CUBE, img2D.format, makeCom… in createObjectManagementTests()
2833 …const ImageView::Parameters imgViewCubeArr (imgCube, VK_IMAGE_VIEW_TYPE_CUBE_ARRAY, img2D.format, … in createObjectManagementTests()
2834 …const ImageView::Parameters imgView3D (img3D, VK_IMAGE_VIEW_TYPE_3D, img3D.format, makeComponen… in createObjectManagementTests()
2836 …const DescriptorSetLayout::Parameters singleUboDescLayout = DescriptorSetLayout::Parameters::singl… in createObjectManagementTests()
2840 { "instance", Instance::Parameters() }, in createObjectManagementTests()
2846 …{ "device", Device::Parameters(testCtx.getCommandLine().getVKDeviceId()-1u, VK_QUEUE_GRAPHICS… in createObjectManagementTests()
2850 …{ "device_group", DeviceGroup::Parameters(testCtx.getCommandLine().getVKDeviceGroupId() - 1u, t… in createObjectManagementTests()
2854 { "device_memory_small", DeviceMemory::Parameters(1024, 0u) }, in createObjectManagementTests()
2858 { "buffer_uniform_small", Buffer::Parameters(1024u, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT), }, in createObjectManagementTests()
2859 …{ "buffer_uniform_large", Buffer::Parameters(1024u*1024u*16u, VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT)… in createObjectManagementTests()
2860 { "buffer_storage_small", Buffer::Parameters(1024u, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT), }, in createObjectManagementTests()
2861 …{ "buffer_storage_large", Buffer::Parameters(1024u*1024u*16u, VK_BUFFER_USAGE_STORAGE_BUFFER_BIT)… in createObjectManagementTests()
2865 …{ "buffer_view_uniform_r8g8b8a8_unorm", BufferView::Parameters(Buffer::Parameters(8192u, VK_BUFFER… in createObjectManagementTests()
2866 …{ "buffer_view_storage_r8g8b8a8_unorm", BufferView::Parameters(Buffer::Parameters(8192u, VK_BUFFER… in createObjectManagementTests()
2886 { "semaphore", Semaphore::Parameters(0u), } in createObjectManagementTests()
2890 { "event", Event::Parameters(0u) } in createObjectManagementTests()
2894 { "fence", Fence::Parameters(0u) }, in createObjectManagementTests()
2895 { "fence_signaled", Fence::Parameters(VK_FENCE_CREATE_SIGNALED_BIT) } in createObjectManagementTests()
2899 { "query_pool", QueryPool::Parameters(VK_QUERY_TYPE_OCCLUSION, 1u, 0u) } in createObjectManagementTests()
2903 { "shader_module", ShaderModule::Parameters(VK_SHADER_STAGE_COMPUTE_BIT, "test") } in createObjectManagementTests()
2907 { "pipeline_cache", PipelineCache::Parameters() } in createObjectManagementTests()
2911 { "pipeline_layout_empty", PipelineLayout::Parameters::empty() }, in createObjectManagementTests()
2912 …{ "pipeline_layout_single", PipelineLayout::Parameters::singleDescriptorSet(singleUboDescLayout) } in createObjectManagementTests()
2916 { "render_pass", RenderPass::Parameters() } in createObjectManagementTests()
2920 { "graphics_pipeline", GraphicsPipeline::Parameters() } in createObjectManagementTests()
2924 { "compute_pipeline", ComputePipeline::Parameters() } in createObjectManagementTests()
2928 { "descriptor_set_layout_empty", DescriptorSetLayout::Parameters::empty() }, in createObjectManagementTests()
2933 { "sampler", Sampler::Parameters() } in createObjectManagementTests()
2937 …{ "descriptor_pool", DescriptorPool::Parameters::singleType((VkDescriptorPoolCreateFlags)0, … in createObjectManagementTests()
2938 …{ "descriptor_pool_free_descriptor_set", DescriptorPool::Parameters::singleType(VK_DESCRIPTOR_POOL… in createObjectManagementTests()
2942 { "descriptor_set", DescriptorSet::Parameters(singleUboDescLayout) } in createObjectManagementTests()
2946 { "framebuffer", Framebuffer::Parameters() } in createObjectManagementTests()
2950 { "command_pool", CommandPool::Parameters((VkCommandPoolCreateFlags)0) }, in createObjectManagementTests()
2951 { "command_pool_transient", CommandPool::Parameters(VK_COMMAND_POOL_CREATE_TRANSIENT_BIT) } in createObjectManagementTests()
2955 …{ "command_buffer_primary", CommandBuffer::Parameters(CommandPool::Parameters((VkCommandPoolCreat… in createObjectManagementTests()
2956 …{ "command_buffer_secondary", CommandBuffer::Parameters(CommandPool::Parameters((VkCommandPoolCrea… in createObjectManagementTests()