refactor(rendering): shrink render pass graph compatibility helpers
This commit is contained in:
@@ -59,15 +59,6 @@ bool RecordRasterRenderPass(
|
||||
const RenderPassRenderGraphContext& context,
|
||||
const RenderPassGraphIO& io);
|
||||
|
||||
inline bool RecordCompatibleRasterRenderPass(
|
||||
RenderPass& pass,
|
||||
const RenderPassRenderGraphContext& context,
|
||||
const RenderPassGraphIO& io) {
|
||||
return pass.SupportsRenderGraph()
|
||||
? pass.RecordRenderGraph(context)
|
||||
: RecordRasterRenderPass(pass, context, io);
|
||||
}
|
||||
|
||||
inline bool RecordSourceColorFullscreenRasterPass(
|
||||
RenderPass& pass,
|
||||
const RenderPassRenderGraphContext& context) {
|
||||
@@ -95,33 +86,6 @@ inline bool RecordDeclaredRasterPass(
|
||||
BuildDeclaredRasterPassGraphIO(context));
|
||||
}
|
||||
|
||||
inline bool RecordCompatibleSourceColorFullscreenRasterPass(
|
||||
RenderPass& pass,
|
||||
const RenderPassRenderGraphContext& context) {
|
||||
return RecordCompatibleRasterRenderPass(
|
||||
pass,
|
||||
context,
|
||||
BuildSourceColorFullscreenRasterPassGraphIO());
|
||||
}
|
||||
|
||||
inline bool RecordCompatibleColorDepthRasterPass(
|
||||
RenderPass& pass,
|
||||
const RenderPassRenderGraphContext& context) {
|
||||
return RecordCompatibleRasterRenderPass(
|
||||
pass,
|
||||
context,
|
||||
BuildColorDepthRasterPassGraphIO());
|
||||
}
|
||||
|
||||
inline bool RecordCompatibleDeclaredRasterPass(
|
||||
RenderPass& pass,
|
||||
const RenderPassRenderGraphContext& context) {
|
||||
return RecordCompatibleRasterRenderPass(
|
||||
pass,
|
||||
context,
|
||||
BuildDeclaredRasterPassGraphIO(context));
|
||||
}
|
||||
|
||||
inline bool RecordSourceColorFullscreenCallbackRasterPass(
|
||||
const RenderPassRenderGraphContext& context,
|
||||
RenderPassGraphExecutePassCallback executePassCallback,
|
||||
|
||||
Reference in New Issue
Block a user