Add DirectSR (D3D12) super resolution implementation#780
Open
MikhailGorobets wants to merge 3 commits intoDiligentGraphics:super_resolution2from
Open
Add DirectSR (D3D12) super resolution implementation#780MikhailGorobets wants to merge 3 commits intoDiligentGraphics:super_resolution2from
MikhailGorobets wants to merge 3 commits intoDiligentGraphics:super_resolution2from
Conversation
| } | ||
| } | ||
|
|
||
| IMPLEMENT_QUERY_INTERFACE_IN_PLACE(IID_SuperResolution, TBase) |
Check warning
Code scanning / CodeQL
Local variable address stored in non-local memory Warning
| { | ||
| return const_cast<IReferenceCounters*>(static_cast<const IReferenceCounters*>(&m_RefCounters)); | ||
| } | ||
| IMPLEMENT_QUERY_INTERFACE_IN_PLACE(IID_SuperResolutionFactory, TBase) |
Check warning
Code scanning / CodeQL
Local variable address stored in non-local memory Warning
Comment on lines
+151
to
+161
| switch (Backend) | ||
| { | ||
| #if D3D12_SUPPORTED | ||
| case SUPER_RESOLUTION_BACKEND_D3D12_DSR: | ||
| GetSourceSettingsD3D12(m_pDSRDevice, Attribs, Settings); | ||
| break; | ||
| #endif | ||
| default: | ||
| LOG_WARNING_MESSAGE("Unknown super resolution backend"); | ||
| break; | ||
| } |
Check notice
Code scanning / CodeQL
No trivial switch statements Note
Comment on lines
+181
to
+191
| switch (Backend) | ||
| { | ||
| #if D3D12_SUPPORTED | ||
| case SUPER_RESOLUTION_BACKEND_D3D12_DSR: | ||
| CreateSuperResolutionD3D12(m_pDevice, m_pDSRDevice, Desc, ppUpscaler); | ||
| break; | ||
| #endif | ||
| default: | ||
| LOG_ERROR_MESSAGE("Unknown super resolution backend"); | ||
| break; | ||
| } |
Check notice
Code scanning / CodeQL
No trivial switch statements Note
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.