summaryrefslogtreecommitdiff
path: root/src/renderer/ral.h
diff options
context:
space:
mode:
authorOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 22:28:07 +1000
committerOmniscient <17525998+omnisci3nce@users.noreply.github.com>2024-05-04 22:28:07 +1000
commit1c27e3c4d42b79e38feb56974f66a2caf3f5a53d (patch)
tree3cde3fef5afd6efd2719b720d762ea7a3a9b6aa9 /src/renderer/ral.h
parent509dd53c645b4f917bd83defb7c485a71be15f46 (diff)
set up most of basic pipeline state
Diffstat (limited to 'src/renderer/ral.h')
-rw-r--r--src/renderer/ral.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/renderer/ral.h b/src/renderer/ral.h
index f202e51..15c66ef 100644
--- a/src/renderer/ral.h
+++ b/src/renderer/ral.h
@@ -45,7 +45,8 @@ typedef enum pipeline_kind {
typedef struct shader_desc {
const char* debug_name;
str8 filepath; // where it came from
- str8 glsl; // contents
+ str8 code; // Either GLSL or SPIRV bytecode
+ bool is_spirv;
} shader_desc;
struct graphics_pipeline_desc {