Go to the source code of this file.
Functions | |
| static void | create_render_pass () |
| VkResult | vkpt_shadow_map_initialize () |
| VkResult | vkpt_shadow_map_destroy () |
| VkImageView | vkpt_shadow_map_get_view () |
| VkResult | vkpt_shadow_map_create_pipelines () |
| VkResult | vkpt_shadow_map_destroy_pipelines () |
| VkResult | vkpt_shadow_map_render (VkCommandBuffer cmd_buf, float *view_projection_matrix, int num_static_verts, int num_dynamic_verts, int transparent_offset, int num_transparent_verts) |
| static void | sample_disk (float *u, float *v) |
| void | vkpt_shadow_map_setup (const sun_light_t *light, const float *bbox_min, const float *bbox_max, float *VP, float *depth_scale, qboolean random_sampling) |
Variables | |
| VkPipelineLayout | pipeline_layout_smap |
| VkRenderPass | render_pass_smap |
| VkPipeline | pipeline_smap |
| static VkFramebuffer | framebuffer_smap |
| static VkFramebuffer | framebuffer_smap2 |
| static VkImage | img_smap |
| static VkImageView | imv_smap_depth |
| static VkImageView | imv_smap_depth2 |
| static VkImageView | imv_smap_depth_array |
| static VkDeviceMemory | mem_smap |
|
static |
|
static |
Definition at line 448 of file shadow_map.c.
Referenced by get_sunlight(), sample_spherical_lights(), and vkpt_shadow_map_setup().
| VkResult vkpt_shadow_map_create_pipelines | ( | ) |
Definition at line 209 of file shadow_map.c.
| VkResult vkpt_shadow_map_destroy | ( | ) |
Definition at line 182 of file shadow_map.c.
| VkResult vkpt_shadow_map_destroy_pipelines | ( | ) |
Definition at line 351 of file shadow_map.c.
| VkImageView vkpt_shadow_map_get_view | ( | ) |
Definition at line 203 of file shadow_map.c.
Referenced by create_image_views().
| VkResult vkpt_shadow_map_initialize | ( | ) |
Definition at line 87 of file shadow_map.c.
| VkResult vkpt_shadow_map_render | ( | VkCommandBuffer | cmd_buf, |
| float * | view_projection_matrix, | ||
| int | num_static_verts, | ||
| int | num_dynamic_verts, | ||
| int | transparent_offset, | ||
| int | num_transparent_verts | ||
| ) |
Definition at line 364 of file shadow_map.c.
Referenced by R_RenderFrame_RTX().
| void vkpt_shadow_map_setup | ( | const sun_light_t * | light, |
| const float * | bbox_min, | ||
| const float * | bbox_max, | ||
| float * | VP, | ||
| float * | depth_scale, | ||
| qboolean | random_sampling | ||
| ) |
Definition at line 460 of file shadow_map.c.
Referenced by R_RenderFrame_RTX().
|
static |
Definition at line 27 of file shadow_map.c.
Referenced by vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy_pipelines(), and vkpt_shadow_map_render().
|
static |
Definition at line 28 of file shadow_map.c.
Referenced by vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy_pipelines(), and vkpt_shadow_map_render().
|
static |
Definition at line 29 of file shadow_map.c.
Referenced by vkpt_shadow_map_destroy(), vkpt_shadow_map_initialize(), and vkpt_shadow_map_render().
|
static |
Definition at line 30 of file shadow_map.c.
Referenced by vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy(), and vkpt_shadow_map_initialize().
|
static |
Definition at line 31 of file shadow_map.c.
Referenced by vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy(), and vkpt_shadow_map_initialize().
|
static |
Definition at line 32 of file shadow_map.c.
Referenced by vkpt_shadow_map_destroy(), vkpt_shadow_map_get_view(), and vkpt_shadow_map_initialize().
|
static |
Definition at line 33 of file shadow_map.c.
Referenced by vkpt_shadow_map_destroy(), and vkpt_shadow_map_initialize().
| VkPipelineLayout pipeline_layout_smap |
Definition at line 24 of file shadow_map.c.
Referenced by RecordCommandBufferShadowmap(), vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy(), vkpt_shadow_map_initialize(), and vkpt_shadow_map_render().
| VkPipeline pipeline_smap |
Definition at line 26 of file shadow_map.c.
Referenced by RecordCommandBufferShadowmap(), vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy_pipelines(), and vkpt_shadow_map_render().
| VkRenderPass render_pass_smap |
Definition at line 25 of file shadow_map.c.
Referenced by create_render_pass(), CreateShadowMap(), RecordCommandBufferShadowmap(), vkpt_shadow_map_create_pipelines(), vkpt_shadow_map_destroy(), and vkpt_shadow_map_render().