mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-16 00:36:07 +03:00
23 lines
729 B
Zig
23 lines
729 B
Zig
pub const c = @import("c.zig");
|
|
|
|
test {
|
|
const input: c.glslang_input_t = .{
|
|
.language = c.GLSLANG_SOURCE_GLSL,
|
|
.stage = c.GLSLANG_STAGE_VERTEX,
|
|
.client = c.GLSLANG_CLIENT_VULKAN,
|
|
.client_version = c.GLSLANG_TARGET_VULKAN_1_2,
|
|
.target_language = c.GLSLANG_TARGET_SPV,
|
|
.target_language_version = c.GLSLANG_TARGET_SPV_1_5,
|
|
.code = "",
|
|
.default_version = 100,
|
|
.default_profile = c.GLSLANG_NO_PROFILE,
|
|
.force_default_version_and_profile = 0,
|
|
.forward_compatible = 0,
|
|
.messages = c.GLSLANG_MSG_DEFAULT_BIT,
|
|
.resource = c.glslang_default_resource(),
|
|
};
|
|
|
|
const shader = c.glslang_shader_create(&input);
|
|
_ = shader;
|
|
}
|