mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-11 15:51:36 +00:00
7fb335a215
Shaders can be built as spv files and installed into $libdir/quakeforge/shaders or as spvc files and compiled into the engine. Loading supports $builtin/name to access builtin shaders, $shader/path to access external standard shaders and quake filesystem access for all other paths.
13 lines
418 B
C
13 lines
418 B
C
#ifndef __QF_Vulkan_shader_h
|
|
#define __QF_Vulkan_shader_h
|
|
|
|
struct qfv_device_s;
|
|
struct vulkan_ctx_s;
|
|
|
|
VkShaderModule QFV_CreateShaderModule (struct qfv_device_s *device,
|
|
const char *path);
|
|
void QFV_RegisterShaderModule (struct vulkan_ctx_s *ctx, const char *name,
|
|
VkShaderModule module);
|
|
void QFV_DeregisterShaderModule (struct vulkan_ctx_s *ctx, const char *name);
|
|
|
|
#endif//__QF_Vulkan_shader_h
|