refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp
This commit is contained in:
@@ -127,7 +127,7 @@ stream_defoveator::pipeline_t & stream_defoveator::ensure_pipeline(size_t view,
|
||||
// Fragment shader
|
||||
auto specialization = make_specialization_constants(
|
||||
int32_t(alpha),
|
||||
VkBool32(hmd_traits().needs_srgb_conversion));
|
||||
VkBool32(application::get_hmd_traits().needs_srgb_conversion));
|
||||
auto fragment_shader = load_shader(device, "reprojection.frag");
|
||||
|
||||
vk::pipeline_builder pipeline_info{
|
||||
|
||||
Reference in New Issue
Block a user