Go to the source code of this file.
Macros | |
| #define | BARRIER_COMPUTE(cmd_buf, img) |
Functions | |
| static void | create_image_views () |
| static void | create_pipeline_layout () |
| static void | create_pipelines () |
| static void | create_descriptor_set () |
| static void | update_descriptor_set () |
| VkResult | vkpt_initialize_god_rays () |
| VkResult | vkpt_destroy_god_rays () |
| VkResult | vkpt_god_rays_create_pipelines () |
| VkResult | vkpt_god_rays_destroy_pipelines () |
| VkResult | vkpt_god_rays_update_images () |
| VkResult | vkpt_god_rays_noop () |
| void | vkpt_record_god_rays_trace_command_buffer (VkCommandBuffer command_buffer, int pass) |
| void | vkpt_record_god_rays_filter_command_buffer (VkCommandBuffer command_buffer) |
| void | vkpt_god_rays_prepare_ubo (QVKUniformBuffer_t *ubo, const aabb_t *world_aabb, const float *proj, const float *view, const float *shadowmap_viewproj, float shadowmap_depth_scale) |
| qboolean | vkpt_god_rays_enabled (const sun_light_t *sun_light) |
Variables | |
| static const uint32_t | THREAD_GROUP_SIZE = 16 |
| static const uint32_t | FILTER_THREAD_GROUP_SIZE = 16 |
| struct { | |
| VkPipeline pipelines [2] | |
| VkPipelineLayout pipeline_layout | |
| VkDescriptorSetLayout descriptor_set_layout | |
| VkDescriptorPool descriptor_pool | |
| VkDescriptorSet descriptor_set | |
| VkImageView shadow_image_view | |
| VkSampler shadow_sampler | |
| cvar_t * intensity | |
| cvar_t * eccentricity | |
| cvar_t * enable | |
| } | god_rays |
| cvar_t * | physical_sky_space |
| #define BARRIER_COMPUTE | ( | cmd_buf, | |
| img | |||
| ) |
Definition at line 121 of file god_rays.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 294 of file god_rays.c.
Referenced by vkpt_god_rays_create_pipelines().
|
static |
Definition at line 353 of file god_rays.c.
Referenced by vkpt_god_rays_create_pipelines(), and vkpt_god_rays_update_images().
| VkResult vkpt_destroy_god_rays | ( | ) |
| VkResult vkpt_god_rays_create_pipelines | ( | ) |
Definition at line 73 of file god_rays.c.
| VkResult vkpt_god_rays_destroy_pipelines | ( | ) |
Definition at line 85 of file god_rays.c.
| qboolean vkpt_god_rays_enabled | ( | const sun_light_t * | sun_light | ) |
Definition at line 379 of file god_rays.c.
Referenced by R_RenderFrame_RTX().
| VkResult vkpt_god_rays_noop | ( | ) |
Definition at line 116 of file god_rays.c.
| void vkpt_god_rays_prepare_ubo | ( | QVKUniformBuffer_t * | ubo, |
| const aabb_t * | world_aabb, | ||
| const float * | proj, | ||
| const float * | view, | ||
| const float * | shadowmap_viewproj, | ||
| float | shadowmap_depth_scale | ||
| ) |
| VkResult vkpt_god_rays_update_images | ( | ) |
Definition at line 108 of file god_rays.c.
| VkResult vkpt_initialize_god_rays | ( | ) |
Definition at line 51 of file god_rays.c.
| void vkpt_record_god_rays_filter_command_buffer | ( | VkCommandBuffer | command_buffer | ) |
Definition at line 169 of file god_rays.c.
Referenced by R_RenderFrame_RTX().
Definition at line 140 of file god_rays.c.
Referenced by R_RenderFrame_RTX().
| VkDescriptorPool descriptor_pool |
Definition at line 32 of file god_rays.c.
| VkDescriptorSet descriptor_set |
Definition at line 33 of file god_rays.c.
| VkDescriptorSetLayout descriptor_set_layout |
Definition at line 30 of file god_rays.c.
| cvar_t* eccentricity |
Definition at line 39 of file god_rays.c.
| cvar_t* enable |
Definition at line 40 of file god_rays.c.
|
static |
Definition at line 24 of file god_rays.c.
Referenced by vkpt_record_god_rays_filter_command_buffer().
| struct { ... } god_rays |
Referenced by create_descriptor_set(), create_image_views(), create_pipeline_layout(), create_pipelines(), update_descriptor_set(), vkpt_destroy_god_rays(), vkpt_god_rays_destroy_pipelines(), vkpt_god_rays_enabled(), vkpt_god_rays_prepare_ubo(), vkpt_initialize_god_rays(), vkpt_record_god_rays_filter_command_buffer(), and vkpt_record_god_rays_trace_command_buffer().
| cvar_t* intensity |
Definition at line 38 of file god_rays.c.
Referenced by CL_AddPacketEntities(), and R_MarkLights_r().
| cvar_t* physical_sky_space |
Definition at line 57 of file physical_sky.c.
Referenced by InitialiseSkyCVars(), vkpt_evaluate_sun_light(), vkpt_god_rays_enabled(), vkpt_physical_sky_endRegistration(), vkpt_physical_sky_record_cmd_buffer(), and vkpt_physical_sky_update_ubo().
| VkPipelineLayout pipeline_layout |
Definition at line 29 of file god_rays.c.
| VkPipeline pipelines[2] |
Definition at line 28 of file god_rays.c.
Referenced by vkpt_vertex_buffer_create_pipelines().
| VkImageView shadow_image_view |
Definition at line 35 of file god_rays.c.
| VkSampler shadow_sampler |
Definition at line 36 of file god_rays.c.
|
static |
Definition at line 23 of file god_rays.c.
Referenced by vkpt_record_god_rays_trace_command_buffer().