diff --git a/CyberXeSS/CyberXeSS.vcxproj.filters b/CyberXeSS/CyberXeSS.vcxproj.filters index d349cb3e..0a1dfb67 100644 --- a/CyberXeSS/CyberXeSS.vcxproj.filters +++ b/CyberXeSS/CyberXeSS.vcxproj.filters @@ -9,10 +9,6 @@ {4FC737F1-C7A5-4376-A066-2A32D752A2FF} cpp;c;cc;cxx;c++;cppm;ixx;def;odl;idl;hpj;bat;asm;asmx - - {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} - rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - {0d5515bc-9b5a-4d33-a918-989059c29e08} diff --git a/CyberXeSS/XeSSFeature.h b/CyberXeSS/XeSSFeature.h index 1c6c455b..d4e0fed3 100644 --- a/CyberXeSS/XeSSFeature.h +++ b/CyberXeSS/XeSSFeature.h @@ -129,43 +129,53 @@ protected: if (GetConfig()->DepthInverted.value_or(DepthInverted)) { + GetConfig()->DepthInverted = true; xessParams.initFlags |= XESS_INIT_FLAG_INVERTED_DEPTH; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (DepthInverted) {0:b}", xessParams.initFlags); } if (GetConfig()->AutoExposure.value_or(AutoExposure)) { + GetConfig()->AutoExposure = true; xessParams.initFlags |= XESS_INIT_FLAG_ENABLE_AUTOEXPOSURE; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (AutoExposure) {0:b}", xessParams.initFlags); } else { + GetConfig()->AutoExposure = false; xessParams.initFlags |= XESS_INIT_FLAG_EXPOSURE_SCALE_TEXTURE; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (!AutoExposure) {0:b}", xessParams.initFlags); } if (!GetConfig()->HDR.value_or(Hdr)) { + GetConfig()->HDR = false; xessParams.initFlags |= XESS_INIT_FLAG_LDR_INPUT_COLOR; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (!HDR) {0:b}", xessParams.initFlags); } else + { + GetConfig()->HDR = true; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (HDR) {0:b}", xessParams.initFlags); + } if (GetConfig()->JitterCancellation.value_or(JitterMotion)) { + GetConfig()->JitterCancellation = true; xessParams.initFlags |= XESS_INIT_FLAG_JITTERED_MV; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (JitterCancellation) {0:b}", xessParams.initFlags); } if (GetConfig()->DisplayResolution.value_or(!LowRes)) { + GetConfig()->DisplayResolution = true; xessParams.initFlags |= XESS_INIT_FLAG_HIGH_RES_MV; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (LowRes) {0:b}", xessParams.initFlags); } if (!GetConfig()->DisableReactiveMask.value_or(true)) { + GetConfig()->DisableReactiveMask = false; xessParams.initFlags |= XESS_INIT_FLAG_RESPONSIVE_PIXEL_MASK; spdlog::info("XeSSContext::InitXeSS xessParams.initFlags (ReactiveMaskActive) {0:b}", xessParams.initFlags); }