mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-13 16:37:30 +00:00
e4f75791ce
Dependencies on vkparse.hinc were spreading through the code which I didn't want as that removes a lot of the automation from the automake files. This keeps all parser code internal to vkparse.c's scope, and any accesses required for enum and struct (not yet) definitions can be fetched by name.
19 lines
638 B
C
19 lines
638 B
C
#ifndef __QF_Vulkan_shader_h
|
|
#define __QF_Vulkan_shader_h
|
|
|
|
struct qfv_device_s;
|
|
struct vulkan_ctx_s;
|
|
struct plitem_s;
|
|
struct parsectx_s;
|
|
|
|
VkShaderModule QFV_CreateShaderModule (struct qfv_device_s *device,
|
|
const char *path);
|
|
void QFV_DestroyShaderModule (struct qfv_device_s *device,
|
|
VkShaderModule module);
|
|
VkShaderModule QFV_FindShaderModule (struct vulkan_ctx_s *ctx,
|
|
const char *name);
|
|
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
|