Lines Matching defs:testCtx
124 SharedVarTest (tcu::TestContext& testCtx,
156 SharedVarTest::SharedVarTest (tcu::TestContext& testCtx,
161 : TestCase (testCtx, name)
306 SharedVarAtomicOpTest (tcu::TestContext& testCtx,
338 SharedVarAtomicOpTest::SharedVarAtomicOpTest (tcu::TestContext& testCtx,
343 : TestCase (testCtx, name)
488 SSBOLocalBarrierTest (tcu::TestContext& testCtx,
521 SSBOLocalBarrierTest::SSBOLocalBarrierTest (tcu::TestContext& testCtx,
526 : TestCase (testCtx, name)
675 CopyImageToSSBOTest (tcu::TestContext& testCtx,
707 CopyImageToSSBOTest::CopyImageToSSBOTest (tcu::TestContext& testCtx,
712 : TestCase (testCtx, name)
881 CopySSBOToImageTest (tcu::TestContext& testCtx,
913 CopySSBOToImageTest::CopySSBOToImageTest (tcu::TestContext& testCtx,
918 : TestCase (testCtx, name)
1084 static BufferToBufferInvertTest* UBOToSSBOInvertCase (tcu::TestContext& testCtx,
1091 static BufferToBufferInvertTest* CopyInvertSSBOCase (tcu::TestContext& testCtx,
1099 BufferToBufferInvertTest (tcu::TestContext& testCtx,
1134 BufferToBufferInvertTest::BufferToBufferInvertTest (tcu::TestContext& testCtx,
1141 : TestCase (testCtx, name)
1152 BufferToBufferInvertTest* BufferToBufferInvertTest::UBOToSSBOInvertCase (tcu::TestContext& testCtx,
1159 return new BufferToBufferInvertTest(testCtx, name, numValues, localSize, workSize, BUFFER_TYPE_UNIFORM, computePipelineConstructionType);
1162 BufferToBufferInvertTest* BufferToBufferInvertTest::CopyInvertSSBOCase (tcu::TestContext& testCtx,
1169 return new BufferToBufferInvertTest(testCtx, name, numValues, localSize, workSize, BUFFER_TYPE_SSBO, computePipelineConstructionType);
1357 InvertSSBOInPlaceTest (tcu::TestContext& testCtx,
1395 InvertSSBOInPlaceTest::InvertSSBOInPlaceTest (tcu::TestContext& testCtx,
1402 : TestCase (testCtx, name)
1558 WriteToMultipleSSBOTest (tcu::TestContext& testCtx,
1596 WriteToMultipleSSBOTest::WriteToMultipleSSBOTest (tcu::TestContext& testCtx,
1603 : TestCase (testCtx, name)
1780 SSBOBarrierTest (tcu::TestContext& testCtx,
1808 SSBOBarrierTest::SSBOBarrierTest (tcu::TestContext& testCtx,
1812 : TestCase (testCtx, name)
2003 ImageAtomicOpTest (tcu::TestContext& testCtx,
2035 ImageAtomicOpTest::ImageAtomicOpTest (tcu::TestContext& testCtx,
2040 : TestCase (testCtx, name)
2221 ImageBarrierTest (tcu::TestContext& testCtx,
2249 ImageBarrierTest::ImageBarrierTest (tcu::TestContext& testCtx,
2253 : TestCase (testCtx, name)
2612 DispatchBaseTest (tcu::TestContext& testCtx,
2656 DispatchBaseTest::DispatchBaseTest (tcu::TestContext& testCtx,
2664 : TestCase (testCtx, name)
2915 DeviceIndexTest (tcu::TestContext& testCtx,
2949 DeviceIndexTest::DeviceIndexTest (tcu::TestContext& testCtx,
2955 : TestCase (testCtx, name)
3200 ConcurrentCompute (tcu::TestContext& testCtx,
3222 ConcurrentCompute::ConcurrentCompute (tcu::TestContext& testCtx,
3225 : TestCase (testCtx, name)
3623 EmptyWorkGroupCase (tcu::TestContext& testCtx, const std::string& name, const tcu::UVec3& dispatchSize, const vk::ComputePipelineConstructionType computePipelineConstructionType);
3652 EmptyWorkGroupCase::EmptyWorkGroupCase (tcu::TestContext& testCtx, const std::string& name, const tcu::UVec3& dispatchSize, const vk::ComputePipelineConstructionType computePipelineConstructionType)
3653 : vkt::TestCase (testCtx, name)
3763 MaxWorkGroupSizeTest (tcu::TestContext& testCtx, const std::string& name, const Params& params, const vk::ComputePipelineConstructionType computePipelineConstructionType);
3818 MaxWorkGroupSizeTest::MaxWorkGroupSizeTest (tcu::TestContext& testCtx, const std::string& name, const Params& params, const vk::ComputePipelineConstructionType computePipelineConstructionType)
3819 : vkt::TestCase (testCtx, name)
4317 inline TestCase* createFunctionCaseWithPrograms2 (tcu::TestContext& testCtx,
4325 testCtx, type, name,FunctionPrograms0(initPrograms), testFunction, checkSupport);
4327 tcu::TestCaseGroup* createBasicComputeShaderTests (tcu::TestContext& testCtx, vk::ComputePipelineConstructionType computePipelineConstructionType)
4330 de::MovePtr<tcu::TestCaseGroup> basicComputeTests(new tcu::TestCaseGroup(testCtx, "basic"));
4336 basicComputeTests->addChild(new ConcurrentCompute(testCtx, "concurrent_compute", computePipelineConstructionType));
4339 basicComputeTests->addChild(new EmptyWorkGroupCase(testCtx, "empty_workgroup_x", tcu::UVec3(0u, 2u, 3u), computePipelineConstructionType));
4341 basicComputeTests->addChild(new EmptyWorkGroupCase(testCtx, "empty_workgroup_y", tcu::UVec3(2u, 0u, 3u), computePipelineConstructionType));
4343 basicComputeTests->addChild(new EmptyWorkGroupCase(testCtx, "empty_workgroup_z", tcu::UVec3(2u, 3u, 0u), computePipelineConstructionType));
4345 basicComputeTests->addChild(new EmptyWorkGroupCase(testCtx, "empty_workgroup_all", tcu::UVec3(0u, 0u, 0u), computePipelineConstructionType));
4348 basicComputeTests->addChild(new MaxWorkGroupSizeTest(testCtx, "max_local_size_x", MaxWorkGroupSizeTest::Params{MaxWorkGroupSizeTest::Axis::X}, computePipelineConstructionType));
4350 basicComputeTests->addChild(new MaxWorkGroupSizeTest(testCtx, "max_local_size_y", MaxWorkGroupSizeTest::Params{MaxWorkGroupSizeTest::Axis::Y}, computePipelineConstructionType));
4352 basicComputeTests->addChild(new MaxWorkGroupSizeTest(testCtx, "max_local_size_z", MaxWorkGroupSizeTest::Params{MaxWorkGroupSizeTest::Axis::Z}, computePipelineConstructionType));
4355 basicComputeTests->addChild(BufferToBufferInvertTest::UBOToSSBOInvertCase(testCtx, "ubo_to_ssbo_single_invocation", 256, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4356 basicComputeTests->addChild(BufferToBufferInvertTest::UBOToSSBOInvertCase(testCtx, "ubo_to_ssbo_single_group", 1024, tcu::IVec3(2,1,4), tcu::IVec3(1,1,1), computePipelineConstructionType));
4357 basicComputeTests->addChild(BufferToBufferInvertTest::UBOToSSBOInvertCase(testCtx, "ubo_to_ssbo_multiple_invocations", 1024, tcu::IVec3(1,1,1), tcu::IVec3(2,4,1), computePipelineConstructionType));
4358 basicComputeTests->addChild(BufferToBufferInvertTest::UBOToSSBOInvertCase(testCtx, "ubo_to_ssbo_multiple_groups", 1024, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4361 basicComputeTests->addChild(BufferToBufferInvertTest::CopyInvertSSBOCase(testCtx, "copy_ssbo_single_invocation", 256, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4362 basicComputeTests->addChild(BufferToBufferInvertTest::CopyInvertSSBOCase(testCtx, "copy_ssbo_multiple_invocations", 1024, tcu::IVec3(1,1,1), tcu::IVec3(2,4,1), computePipelineConstructionType));
4363 basicComputeTests->addChild(BufferToBufferInvertTest::CopyInvertSSBOCase(testCtx, "copy_ssbo_multiple_groups", 1024, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4366 basicComputeTests->addChild(new InvertSSBOInPlaceTest(testCtx, "ssbo_rw_single_invocation", 256, true, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4367 basicComputeTests->addChild(new InvertSSBOInPlaceTest(testCtx, "ssbo_rw_multiple_groups", 1024, true, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4368 basicComputeTests->addChild(new InvertSSBOInPlaceTest(testCtx, "ssbo_unsized_arr_single_invocation", 256, false, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4369 basicComputeTests->addChild(new InvertSSBOInPlaceTest(testCtx, "ssbo_unsized_arr_multiple_groups", 1024, false, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4372 basicComputeTests->addChild(new WriteToMultipleSSBOTest(testCtx, "write_multiple_arr_single_invocation", 256, true, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4373 basicComputeTests->addChild(new WriteToMultipleSSBOTest(testCtx, "write_multiple_arr_multiple_groups", 1024, true, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4374 basicComputeTests->addChild(new WriteToMultipleSSBOTest(testCtx, "write_multiple_unsized_arr_single_invocation", 256, false, tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4375 basicComputeTests->addChild(new WriteToMultipleSSBOTest(testCtx, "write_multiple_unsized_arr_multiple_groups", 1024, false, tcu::IVec3(1,4,2), tcu::IVec3(2,2,4), computePipelineConstructionType));
4378 basicComputeTests->addChild(new SSBOLocalBarrierTest(testCtx, "ssbo_local_barrier_single_invocation", tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4379 basicComputeTests->addChild(new SSBOLocalBarrierTest(testCtx, "ssbo_local_barrier_single_group", tcu::IVec3(3,2,5), tcu::IVec3(1,1,1), computePipelineConstructionType));
4380 basicComputeTests->addChild(new SSBOLocalBarrierTest(testCtx, "ssbo_local_barrier_multiple_groups", tcu::IVec3(3,4,1), tcu::IVec3(2,7,3), computePipelineConstructionType));
4383 basicComputeTests->addChild(new SSBOBarrierTest(testCtx, "ssbo_cmd_barrier_single", tcu::IVec3(1,1,1), computePipelineConstructionType));
4384 basicComputeTests->addChild(new SSBOBarrierTest(testCtx, "ssbo_cmd_barrier_multiple", tcu::IVec3(11,5,7), computePipelineConstructionType));
4387 basicComputeTests->addChild(new SharedVarTest(testCtx, "shared_var_single_invocation", tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4388 basicComputeTests->addChild(new SharedVarTest(testCtx, "shared_var_single_group", tcu::IVec3(3,2,5), tcu::IVec3(1,1,1), computePipelineConstructionType));
4389 basicComputeTests->addChild(new SharedVarTest(testCtx, "shared_var_multiple_invocations", tcu::IVec3(1,1,1), tcu::IVec3(2,5,4), computePipelineConstructionType));
4390 basicComputeTests->addChild(new SharedVarTest(testCtx, "shared_var_multiple_groups", tcu::IVec3(3,4,1), tcu::IVec3(2,7,3), computePipelineConstructionType));
4393 basicComputeTests->addChild(new SharedVarAtomicOpTest(testCtx, "shared_atomic_op_single_invocation", tcu::IVec3(1,1,1), tcu::IVec3(1,1,1), computePipelineConstructionType));
4394 basicComputeTests->addChild(new SharedVarAtomicOpTest(testCtx, "shared_atomic_op_single_group", tcu::IVec3(3,2,5), tcu::IVec3(1,1,1), computePipelineConstructionType));
4395 basicComputeTests->addChild(new SharedVarAtomicOpTest(testCtx, "shared_atomic_op_multiple_invocations", tcu::IVec3(1,1,1), tcu::IVec3(2,5,4), computePipelineConstructionType));
4396 basicComputeTests->addChild(new SharedVarAtomicOpTest(testCtx, "shared_atomic_op_multiple_groups", tcu::IVec3(3,4,1), tcu::IVec3(2,7,3), computePipelineConstructionType));
4399 basicComputeTests->addChild(new CopyImageToSSBOTest(testCtx, "copy_image_to_ssbo_small", tcu::IVec2(1,1), tcu::IVec2(64,64), computePipelineConstructionType));
4400 basicComputeTests->addChild(new CopyImageToSSBOTest(testCtx, "copy_image_to_ssbo_large", tcu::IVec2(2,4), tcu::IVec2(512,512), computePipelineConstructionType));
4403 basicComputeTests->addChild(new CopySSBOToImageTest(testCtx, "copy_ssbo_to_image_small", tcu::IVec2(1, 1), tcu::IVec2(64, 64), computePipelineConstructionType));
4404 basicComputeTests->addChild(new CopySSBOToImageTest(testCtx, "copy_ssbo_to_image_large", tcu::IVec2(2, 4), tcu::IVec2(512, 512), computePipelineConstructionType));
4407 basicComputeTests->addChild(new ImageAtomicOpTest(testCtx, "image_atomic_op_local_size_1", 1, tcu::IVec2(64,64), computePipelineConstructionType));
4408 basicComputeTests->addChild(new ImageAtomicOpTest(testCtx, "image_atomic_op_local_size_8", 8, tcu::IVec2(64,64), computePipelineConstructionType));
4411 basicComputeTests->addChild(new ImageBarrierTest(testCtx, "image_barrier_single", tcu::IVec2(1,1), computePipelineConstructionType));
4412 basicComputeTests->addChild(new ImageBarrierTest(testCtx, "image_barrier_multiple", tcu::IVec2(64,64), computePipelineConstructionType));
4415 basicComputeTests->addChild(new ComputeOnlyQueueTests::SecondaryCommandBufferComputeOnlyTest(testCtx, "secondary_compute_only_queue"));
4418 basicComputeTests->addChild(cts_amber::createAmberTestCase(testCtx, "write_ssbo_array", "", "compute", "write_ssbo_array.amber"));
4419 basicComputeTests->addChild(cts_amber::createAmberTestCase(testCtx, "branch_past_barrier", "", "compute", "branch_past_barrier.amber"));
4420 basicComputeTests->addChild(cts_amber::createAmberTestCase(testCtx,"webgl_spirv_loop", "Simple SPIR-V loop from a WebGL example that caused problems in some implementations", "compute", "webgl_spirv_loop.amber"));
4426 tcu::TestCaseGroup* createBasicDeviceGroupComputeShaderTests (tcu::TestContext& testCtx, vk::ComputePipelineConstructionType computePipelineConstructionType)
4428 de::MovePtr<tcu::TestCaseGroup> deviceGroupComputeTests(new tcu::TestCaseGroup(testCtx, "device_group"));
4430 deviceGroupComputeTests->addChild(new DispatchBaseTest(testCtx, "dispatch_base", 32768, tcu::IVec3(4,2,4), tcu::IVec3(16,8,8), tcu::IVec3(4,8,8), computePipelineConstructionType, false));
4432 deviceGroupComputeTests->addChild(new DispatchBaseTest(testCtx, "dispatch_base_maintenance5", 32768, tcu::IVec3(4, 2, 4), tcu::IVec3(16, 8, 8), tcu::IVec3(4, 8, 8), computePipelineConstructionType, true));
4434 deviceGroupComputeTests->addChild(new DeviceIndexTest(testCtx, "device_index", 96, tcu::IVec3(3,2,1), tcu::IVec3(2,4,1), computePipelineConstructionType));