19static inline struct render_distortion_spec
20render_make_distortion_spec(uint32_t distortion_texel_count, VkBool32 do_timewarp, uint32_t view_count)
22 struct render_distortion_spec spec = {
23 .distortion_texel_count = (int32_t)distortion_texel_count,
24 .do_timewarp = do_timewarp,
25 .view_count = (int32_t)view_count,
31static inline struct render_layer_spec
32render_make_layer_spec(VkBool32 do_timewarp,
33 VkBool32 do_color_correction,
34 uint32_t sampler_array_size,
35 float inset_blend_edge)
37 struct render_layer_spec spec = {
38 .do_timewarp = do_timewarp,
39 .do_color_correction = do_color_correction,
40 .sampler_array_size = (int32_t)sampler_array_size,
41 .inset_blend_edge = inset_blend_edge,
47static inline struct render_blit_spec
48render_make_blit_spec(uint32_t color_transform_mode)
50 struct render_blit_spec spec = {
51 .color_transform_mode = (int32_t)color_transform_mode,
57static inline struct render_blit_ms_spec
58render_make_blit_ms_spec(uint32_t color_transform_mode)
60 struct render_blit_ms_spec spec = {
61 .color_transform_mode = (int32_t)color_transform_mode,
Shader specialization structs for render compute shaders.