mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
25ade4c0f3
And provisionally parse shader stage defs.
22 lines
778 B
C
22 lines
778 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);
|
|
int parse_VkShaderModule (const struct plitem_s *item, void **data,
|
|
struct plitem_s *messages,
|
|
struct parsectx_s *context);
|
|
|
|
#endif//__QF_Vulkan_shader_h
|