Fix doc conflict about FilterKey of RenderPass and RenderPassFilter


RenderPass doc previously said that the RenderPass is executed "when no
FilterKey nodes are specified and no RenderPassFilter is present in the
FrameGraph." It can be read that RenderPass having no FilterKey nodes
should be rejected if RenderPassFilter is present.

  foundMatch = !passFilter && renderPass->filterKeys().isEmpty();

On the other hand, RenderPassFilter doc says "if no RenderPassFilter
is present, then all RenderPass objects are selected for rendering."

  foundMatch = !passFilter;

Since the actual behavior is the latter, this patch adjusts the
RenderPass doc.

If I read it correctly, the condition in findRenderPassesForTechnique()
is as follows, so the current implementation (i.e. true if empty) makes
sense.

  all(any(p == f for p in renderPass.filterKeys)
      for f in passFilter.filters)
  # or renderPass.filterKeys is superset of passFilter.filters

Change-Id: I41d53ce4cab022e93f99cc20a1a431e97b9fab49
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
commitd926af4dd3a0b17cb46514ee4909a966871cc08f
parentc0052816a990c4214b4e2b6f7461d966a1bf39a4
authorYuya Nishihara <yuya.nishihara@qt.io>
committerYuya Nishihara <yuya.nishihara@qt.io>
commit timeWed, 24 Feb 2021 09:57:47 +0900