Compile shaders in build.zig
This commit is contained in:
@@ -96,10 +96,10 @@ pub const ObjectUniforms = extern struct {
|
||||
material: Materials.Id,
|
||||
};
|
||||
|
||||
pub const equirect_to_cube_comp_spv align(4) = @embedFile("shaders/equirect_to_cube_comp.spv").*;
|
||||
pub const gui_box_vert_spv align(4) = @embedFile("shaders/gui_box_vert.spv").*;
|
||||
pub const gui_box_frag_spv align(4) = @embedFile("shaders/gui_box_frag.spv").*;
|
||||
pub const main_vert_spv align(4) = @embedFile("shaders/main_vert.spv").*;
|
||||
pub const main_frag_spv align(4) = @embedFile("shaders/main_frag.spv").*;
|
||||
pub const skybox_vert_spv align(4) = @embedFile("shaders/skybox_vert.spv").*;
|
||||
pub const skybox_frag_spv align(4) = @embedFile("shaders/skybox_frag.spv").*;
|
||||
pub const equirect_to_cube_comp_spv align(4) = @embedFile("shaders/equirect_to_cube.comp").*;
|
||||
pub const gui_box_vert_spv align(4) = @embedFile("shaders/gui_box.vert").*;
|
||||
pub const gui_box_frag_spv align(4) = @embedFile("shaders/gui_box.frag").*;
|
||||
pub const main_vert_spv align(4) = @embedFile("shaders/main.vert").*;
|
||||
pub const main_frag_spv align(4) = @embedFile("shaders/main.frag").*;
|
||||
pub const skybox_vert_spv align(4) = @embedFile("shaders/skybox.vert").*;
|
||||
pub const skybox_frag_spv align(4) = @embedFile("shaders/skybox.frag").*;
|
||||
|
||||
Reference in New Issue
Block a user