diff options
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 { |