MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / draw

Method draw

samples/performance/async_compute/async_compute.cpp:837–842  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835}
836
837void AsyncComputeSample::DepthMapSubpass::draw(vkb::core::CommandBufferC &command_buffer)
838{
839 // Negative bias since we're using inverted Z.
840 command_buffer.set_depth_bias(-1.0f, 0.0f, -2.0f);
841 vkb::rendering::subpasses::ForwardSubpassC::draw(command_buffer);
842}
843
844AsyncComputeSample::ShadowMapForwardSubpass::ShadowMapForwardSubpass(vkb::rendering::RenderContextC &render_context,
845 vkb::ShaderSource &&vertex_shader, vkb::ShaderSource &&fragment_shader,

Callers 2

render_shadow_passMethod · 0.45

Calls 13

vulkan_style_projectionFunction · 0.85
set_depth_biasMethod · 0.80
get_viewMethod · 0.80
allocate_bufferMethod · 0.80
get_bufferMethod · 0.80
get_offsetMethod · 0.80
bind_pipeline_layoutMethod · 0.80
get_projectionMethod · 0.45
updateMethod · 0.45
bind_bufferMethod · 0.45
get_sizeMethod · 0.45
bind_imageMethod · 0.45

Tested by

no test coverage detected