refactor hmd_traits into separate file, make class in application, and remove hardware.h/cpp

This commit is contained in:
Amanda M. Watson
2026-05-10 19:11:17 +02:00
committed by xytovl
parent b0994c54f5
commit b9f2fde119
14 changed files with 288 additions and 208 deletions
+1 -1
View File
@@ -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{