MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / TEST

Function TEST

test/TestRenderGraph.cpp:62–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62TEST( RenderGraph, NoPass )
63{
64 testBegin( "testNoPass" )
65 crg::ResourceHandler handler;
66 auto graph1 = buildNoPassGraph( testCounts, handler );
67 crg::FrameGraph graph{ std::move( graph1 ) };
68
69 auto rt = graph.createImage( test::createImage( "rt", crg::PixelFormat::eR32G32B32A32_SFLOAT ) );
70 auto rtv = graph.createView( test::createView( "rtv", rt ) );
71 auto & pass = graph.createPass( "pass1C"
72 , [&testCounts]( crg::FramePass const & framePass
73 , crg::GraphContext & context
74 , crg::RunnableGraph & runGraph )
75 {
76 return createDummy( testCounts
77 , framePass, context, runGraph, crg::PipelineStageFlags::eFragmentShader );
78 } );
79 pass.addOutputColourTarget( rtv );
80 testEnd()
81}
82
83TEST( RenderGraph, OnePass )
84{

Callers 1

Calls 15

buildNoPassGraphFunction · 0.85
createImageFunction · 0.85
createViewFunction · 0.85
createDummyFunction · 0.85
createBufferFunction · 0.85
createDummyNoRecordFunction · 0.85
buildSsaoPassFunction · 0.85
makeLayoutStateFunction · 0.85
createImageCubeFunction · 0.85
createImage1DFunction · 0.85
addOutputColourTargetMethod · 0.80
compileMethod · 0.80

Tested by

no test coverage detected