1067 Commits

Author SHA1 Message Date
joe kirchoff
1c712067e7 Fix or suppress Clang 18 issues, support Intel compiler 2024.1
#jira UE-210910
#rb christopher.waters

[CL 32617832 by joe kirchoff in 5.4 branch]
2024-03-29 13:10:24 -04:00
william belcher
ea066a25d4 QOL: Deprecate AVEncoder (for removal) and its dependencies (to be moved to plugins)
#rb luke.bermingham
#jira UE-174651
[FYI]

[CL 32499131 by william belcher in 5.4 branch]
2024-03-26 02:13:50 -04:00
bob tellez
383087e505 [Backout] - CL32236602
[FYI] William.Belcher
Original CL Desc
-----------------------------------------------------------------
Fix: Move creation of FWindowsVideoRecordingSystem away from FWindowsPlatformFeaturesModule constructor

#rb Aidan.Possemiers
[FYI]

[CL 32498768 by bob tellez in 5.4 branch]
2024-03-26 02:05:00 -04:00
justin peterson
f8832fb240 [Backout] - CL32235200 - CIS Compile Error
[FYI] William.Belcher
Original CL Desc
-----------------------------------------------------------------
QOL: Deprecate AVEncoder (for removal) and its dependencies (to be moved to plugins)

#rb Luke.Bermingham
#jira UE-174651
[FYI]

[CL 32498760 by justin peterson in 5.4 branch]
2024-03-26 02:04:41 -04:00
william belcher
033e6a7a82 Fix: Move creation of FWindowsVideoRecordingSystem away from FWindowsPlatformFeaturesModule constructor
#rb Aidan.Possemiers
[FYI]

[CL 32498756 by william belcher in 5.4 branch]
2024-03-26 02:04:33 -04:00
william belcher
f325cc81a0 QOL: Deprecate AVEncoder (for removal) and its dependencies (to be moved to plugins)
#rb Luke.Bermingham
#jira UE-174651
[FYI]

[CL 32498741 by william belcher in 5.4 branch]
2024-03-26 02:04:01 -04:00
kenzo terelst
3580873053 Provide debug name during RHIAsyncCreateTexture2D (otherwise all async created texture had the name RHIAsyncCreateTexture2D)
#jira UE-121439
#rb Luke.Thatcher

[CL 31334751 by kenzo terelst in 5.4 branch]
2024-02-09 07:22:09 -05:00
jimmy smith
09460def0a Remove PLATFORM_HOLOLENS from Audio
#rb Brian.Chrisman, David.Harvey

[CL 31312420 by jimmy smith in 5.4 branch]
2024-02-08 18:54:57 -05:00
mihnea balta
f9f5f50407 Fix incorrect rendering in D3D11 and 12 when losing focus in exclusive fullscreen mode.
Slate switches to Windowed Fullscreen when we lose focus, but doesn't explicitly resize the window, so we never call SetWindowPos or ResizeTarget. If the fullscreen swapchain had a lower resolution than the monitor's native resolution, or if the swapchain had been windowed before, we were stretching the backbuffer to that smaller resolution inside the borderless window, instead of covering all of it. ResizeBuffers is not sufficient because it only affects the buffers, not the window. We need to also call ResizeTarget explicitly when dropping out of exclusive fullscreen, to make sure the window is correctly set up.

Vulkan doesn't have this problem because it doesn't support exclusive fullscreen.

#jira UE-203916
#rnx
#rb benjamin.rouveyrol

[CL 31290557 by mihnea balta in 5.4 branch]
2024-02-08 09:43:31 -05:00
christopher waters
2cb85b082a Deprecating IntelMetricsDiscovery and removing its integration from D3D11RHI.
#jira UE-205382
#rb Luke.Thatcher

[CL 31060331 by christopher waters in 5.4 branch]
2024-01-31 15:02:31 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
daniele vettorel
66febb5cc9 Make D3D11 query timeout thresholds configurable, increase the default timeout, and clean up timeout logic.
The VerifyD3D11Result logic already takes care of logging and checking the device removal reason.
#rb mihnea.balta

[CL 30684041 by daniele vettorel in ue5-main branch]
2024-01-18 10:24:41 -05:00
benjamin rouveyrol
0cff7410b6 Let FRHIViewDesc::EDimension decide the RHI's SRV/UAV dimension to be able to create 2D array SRVs/UAVs for cubemap textures
Keep the behavior from 25147071 when we want to create a 2D SRV of something which is not a 2D texture. This ensures we do not ignore FRHIViewDesc::FTexture::ArrayRange and select the right slice of a texture

#rb Luke.Thatcher
#jira UE-201831

[CL 30629413 by benjamin rouveyrol in ue5-main branch]
2024-01-16 02:32:32 -05:00
jimmy smith
cf2e6af0dd [Resubmit] Delete deprecated usage of GetRuntimeFormat and CreateCompressedInfo
#rb Aaron.McLeran

[CL 30580918 by jimmy smith in ue5-main branch]
2024-01-11 17:33:06 -05:00
yuriy odonnell
01419a8913 Add strongly typed EShaderOptionalDataKey to access shader optional data instead of adhoc characters
#rb carl.lloyd, christopher.waters, Colton.Daniels

[CL 30572888 by yuriy odonnell in ue5-main branch]
2024-01-11 13:36:32 -05:00
jimmy smith
dc9ff7a102 [Backout] - CL30570241
[FYI] jimmy.smith
Original CL Desc
-----------------------------------------------------------------
Delete deprecated usage of GetRuntimeFormat and CreateCompressedInfo
#rb Aaron.McLeran

[CL 30570451 by jimmy smith in ue5-main branch]
2024-01-11 11:42:33 -05:00
jimmy smith
c5e18ba2bb Delete deprecated usage of GetRuntimeFormat and CreateCompressedInfo
#rb Aaron.McLeran

[CL 30570266 by jimmy smith in ue5-main branch]
2024-01-11 11:34:30 -05:00
matt peters
bd992eb4e0 LLM: Use LLM_IF_ENABLED around all calls to OnLowLevelAlloc and OnLowLevelFree that are guarded by a macro for conditional compilation. LLM_IF_ENABLED is not strictly necessary; LLM or #if ENABLE_LOW_LEVEL_MEM_TRACKER will also both behave correctly. But LLM_IF_ENABLED is a small optimization (avoids a function call) and we want to apply it for consistency.
#jira UE-200297
#rnx
#rb Devin.Doucette

[CL 30479895 by matt peters in ue5-main branch]
2024-01-08 09:02:49 -05:00
christopher waters
e9661bc768 Preparing for dependency cleanup.
[CL 30244022 by christopher waters in ue5-main branch]
2023-12-11 13:55:22 -05:00
christopher waters
b6eee9f385 Fixing IDXGISwapchainProvider.h single file compile errors by adding the necessary DXGI includes.
[CL 30094861 by christopher waters in ue5-main branch]
2023-12-04 16:19:38 -05:00
charles bloom
4ee677c4b1 un-duplicate code in D3D11 and 12 rendertarget pixel conversion routines
#jira UE-201702
#rb fabian.giesen

[CL 30093260 by charles bloom in ue5-main branch]
2023-12-04 15:48:37 -05:00
charles bloom
b066d4c0b3 TextureRenderTarget clean up Create/Update not supporting all formats
use generic routines so all-format support is automatic
#rb fabian.giesen

[CL 30070416 by charles bloom in ue5-main branch]
2023-12-03 10:39:38 -05:00
christopher waters
2d9fd8b52f Removing unnecessary includes of ShaderCompiler.h. Also removing a few other unnecessary includes.
[CL 30045008 by christopher waters in ue5-main branch]
2023-12-01 12:35:29 -05:00
christopher waters
52e8fb4092 Refactoring D3D11 binding to not go through Context methods.
- Writing custom version of UE::RHICore::ApplyStaticUniformBuffers, UE::RHICore::RHISetShaderParametersShared, and UE::RHICore::RHISetShaderUnbindsShared for D3D11RHI to avoid redundant overhead.
- This removed the last uses of RHISetShaderTexture, RHISetShaderSampler, RHISetUAVParameter, RHISetShaderResourceViewParameter, and RHISetShaderParameter from D3D11RHI. Those functions are now gone.

[CL 30022429 by christopher waters in ue5-main branch]
2023-11-30 15:28:22 -05:00
marc audy
a66de8e79d Ongoing C4702 warning fixes
[CL 30003628 by marc audy in ue5-main branch]
2023-11-29 19:16:19 -05:00