diff options
author | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 22:28:07 +1000 |
---|---|---|
committer | Omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-05-04 22:28:07 +1000 |
commit | 1c27e3c4d42b79e38feb56974f66a2caf3f5a53d (patch) | |
tree | 3cde3fef5afd6efd2719b720d762ea7a3a9b6aa9 /src/renderer/ral.h | |
parent | 509dd53c645b4f917bd83defb7c485a71be15f46 (diff) |
set up most of basic pipeline state
Diffstat (limited to 'src/renderer/ral.h')
-rw-r--r-- | src/renderer/ral.h | 3 |
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 { |