From 1c27e3c4d42b79e38feb56974f66a2caf3f5a53d Mon Sep 17 00:00:00 2001 From: Omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sat, 4 May 2024 22:28:07 +1000 Subject: set up most of basic pipeline state --- src/renderer/ral.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/renderer/ral.h') 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 { -- cgit v1.2.3-70-g09d2