[G-API] Allow unused nodes in Fluid backend
authorAndrey Golubev <andrey.golubev@intel.com>
Mon, 18 Mar 2019 15:13:44 +0000 (18:13 +0300)
committerAndrey Golubev <andrey.golubev@intel.com>
Mon, 18 Mar 2019 15:20:11 +0000 (18:20 +0300)
commitdd2823aaec8410ce5fa5fd3f5aeff34782f9b0cd
tree458dca49d0d22073b0c9f263c2c17424ad46c615
parent26087e28adbd2a9acee05019aac2aea35ef5195d
[G-API] Allow unused nodes in Fluid backend

Allow nodes produced after some operation to be
"unused": not being an output and not being used
as inputs to other operations

Add fluid test to cover this case
modules/gapi/src/backends/fluid/gfluidbackend.cpp
modules/gapi/test/gapi_fluid_test.cpp