[vulkan] Fix some mostly harmless typos

This commit is contained in:
Bill Currie 2021-12-08 15:23:01 +09:00
parent d7f588ecfe
commit e8961342d5
3 changed files with 4 additions and 4 deletions

View file

@ -58,6 +58,6 @@ struct qfv_renderframe_s;
void Vulkan_Compose_Init (struct vulkan_ctx_s *ctx);
void Vulkan_Compose_Shutdown (struct vulkan_ctx_s *ctx);
void Vulkan_Compose_Draw (struct qfv_renderframe_s *fFrame);
void Vulkan_Compose_Draw (struct qfv_renderframe_s *rFrame);
#endif//__QF_Vulkan_qf_compose_h

View file

@ -128,11 +128,11 @@ typedef struct lightingctx_s {
} lightingctx_t;
struct vulkan_ctx_s;
struct qfv_renderframe_s;;
struct qfv_renderframe_s;
void Vulkan_Lighting_Init (struct vulkan_ctx_s *ctx);
void Vulkan_Lighting_Shutdown (struct vulkan_ctx_s *ctx);
void Vulkan_Lighting_Draw (struct qfv_renderframe_s *fFrame);
void Vulkan_Lighting_Draw (struct qfv_renderframe_s *rFrame);
void Vulkan_LoadLights (model_t *model, const char *entity_data,
struct vulkan_ctx_s *ctx);

View file

@ -40,7 +40,7 @@ layout (set = 2, binding = 0) uniform samplerCubeShadow shadowCube[MaxLights];
layout (set = 1, binding = 0) uniform Lights {
vec4 intensity[17]; // 68 floats
float distFactor1; // for inverse
float distFactor2; // for inverse2 and inverse2
float distFactor2; // for inverse2 and inverse3
int lightCount;
LightData lights[MaxLights];
mat4 shadowMat[MaxLights];