Monado OpenXR Runtime
|
The input data needed for a complete layer squashing distortion rendering to a target. More...
#include <util/comp_render.h>
Data Fields | |
struct comp_render_view_data | views [XRT_MAX_VIEWS] |
uint32_t | view_count |
The number of views currently in this dispatch data. More... | |
bool | fast_path |
Fast path can be disabled for mirroing so needs to be an argument. More... | |
bool | do_timewarp |
Very often true, can be disabled for debugging. More... | |
struct { | |
struct render_gfx_target_resources * rtr | |
The resources needed for the target. More... | |
} | gfx |
Members used only by GFX Comp_render_gfx. More... | |
struct { | |
VkImage target_image | |
Target image for distortion, used for barrier. More... | |
VkImageView target_unorm_view | |
Target image view for distortion. More... | |
} | cs |
Members used only by CS Comp_render_cs. More... | |
The input data needed for a complete layer squashing distortion rendering to a target.
This struct is shared between GFX and CS paths.
struct { ... } comp_render_dispatch_data::cs |
Members used only by CS Comp_render_cs.
bool comp_render_dispatch_data::do_timewarp |
Very often true, can be disabled for debugging.
bool comp_render_dispatch_data::fast_path |
Fast path can be disabled for mirroing so needs to be an argument.
Referenced by comp_render_cs_dispatch(), and comp_render_gfx_dispatch().
struct { ... } comp_render_dispatch_data::gfx |
Members used only by GFX Comp_render_gfx.
struct render_gfx_target_resources* comp_render_dispatch_data::rtr |
The resources needed for the target.
VkImage comp_render_dispatch_data::target_image |
Target image for distortion, used for barrier.
VkImageView comp_render_dispatch_data::target_unorm_view |
Target image view for distortion.
uint32_t comp_render_dispatch_data::view_count |
The number of views currently in this dispatch data.