summaryrefslogtreecommitdiff
path: root/src/renderer/ral.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-22 15:12:44 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-22 15:12:44 +1000
commit51d0535a8d49b72ab1e47acf30f654403a94c423 (patch)
treec8e8124c7a35c2fcfa7afa857b50ce0cdb15ba7c /src/renderer/ral.h
parent6fccac3372170153b59e829d11c6c0b0a5c2bc77 (diff)
wip: porting shadowmaps to RAL
Diffstat (limited to 'src/renderer/ral.h')
-rw-r--r--src/renderer/ral.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/renderer/ral.h b/src/renderer/ral.h
index cd3f19f..ab62679 100644
--- a/src/renderer/ral.h
+++ b/src/renderer/ral.h
@@ -97,7 +97,10 @@ struct graphics_pipeline_desc {
};
typedef struct gpu_renderpass_desc {
- texture_handle color_target; // for now only support one
+ bool default_framebuffer;
+ bool has_color_target;
+ texture_handle color_target; // for now only support one
+ bool has_depth_stencil;
texture_handle depth_stencil;
} gpu_renderpass_desc;