diff options
author | Chuyan Zhang <chuyan@ucsb.edu> | 2024-10-09 22:11:24 -0700 |
---|---|---|
committer | Chuyan Zhang <chuyan@ucsb.edu> | 2024-10-09 22:11:24 -0700 |
commit | d25c392cec57e8c561899bf75668da79c4e67aed (patch) | |
tree | 4289461c83345024a5a1b93295043d61d4acd246 /src/render_pass.h | |
parent | 60b9692af28a353c4e5813d1723422477e31f433 (diff) | |
download | iris-d25c392cec57e8c561899bf75668da79c4e67aed.tar.gz iris-d25c392cec57e8c561899bf75668da79c4e67aed.zip |
add shader compile infra
Diffstat (limited to 'src/render_pass.h')
-rw-r--r-- | src/render_pass.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/render_pass.h b/src/render_pass.h new file mode 100644 index 0000000..b01bcae --- /dev/null +++ b/src/render_pass.h @@ -0,0 +1,23 @@ +#pragma once + +enum struct RenderPassType { + RayTracing, + Compute, + Rasterization // Not intended to implement, want to make a pure ray tracer +}; + +struct RayTracingPass { + +}; + +struct ComputePass { + +}; + +struct RenderPass { + RenderPassType type; + union { + RayTracingPass ray_tracing; + ComputePass compute; + } inner; +}; |