@@ -39,6 +39,8 @@ namespace Diligent
3939
4040#define LOG_SUPER_RESOLUTION_ERROR_AND_THROW (Name, ...) LOG_ERROR_AND_THROW(" Super resolution upscaler '" , ((Name) != nullptr ? (Name) : " " ), " ': " , ##__VA_ARGS__)
4141
42+ #define DEV_CHECK_SUPER_RESOLUTION (Name, Expr, ...) DEV_CHECK_ERR(Expr, " Super resolution upscaler '" , ((Name) != nullptr ? (Name) : " " ), " ': " , ##__VA_ARGS__)
43+
4244#define VERIFY_SUPER_RESOLUTION (Name, Expr, ...) \
4345 do \
4446 { \
@@ -48,22 +50,24 @@ namespace Diligent
4850 } \
4951 } while (false )
5052
53+
54+
5155// / Validates super resolution description and throws an exception in case of an error.
5256void ValidateSuperResolutionDesc (const SuperResolutionDesc& Desc) noexcept (false );
5357
5458// / Validates super resolution description for temporal upscaling and throws an exception in case of an error.
5559void ValidateTemporalSuperResolutionDesc (const SuperResolutionDesc& Desc) noexcept (false );
5660
57- // / Validates super resolution source settings attributes and throws an exception in case of an error .
58- void ValidateSourceSettingsAttribs (const SuperResolutionSourceSettingsAttribs& Attribs) noexcept ( false ) ;
61+ // / Validates super resolution source settings attributes using DEV checks .
62+ void ValidateSourceSettingsAttribs (const SuperResolutionSourceSettingsAttribs& Attribs);
5963
60- // / Validates execute super resolution attributes and throws an exception in case of an error .
64+ // / Validates execute super resolution attributes using DEV checks .
6165void ValidateExecuteSuperResolutionAttribs (const SuperResolutionDesc& Desc,
62- const ExecuteSuperResolutionAttribs& Attribs) noexcept ( false ) ;
66+ const ExecuteSuperResolutionAttribs& Attribs);
6367
64- // / Validates execute super resolution attributes for temporal upscaling and throws an exception in case of an error .
68+ // / Validates execute super resolution attributes for temporal upscaling using DEV checks .
6569void ValidateTemporalExecuteSuperResolutionAttribs (const SuperResolutionDesc& Desc,
66- const ExecuteSuperResolutionAttribs& Attribs) noexcept ( false ) ;
70+ const ExecuteSuperResolutionAttribs& Attribs);
6771
6872class SuperResolutionBase : public ObjectBase <ISuperResolution>
6973{
0 commit comments