Commit Graph

331 Commits

Author SHA1 Message Date
David Harvey
5960c816c6 HoloLens build rules: WindowsMixedReality
#preflight 628cb0e9f057b981ca51f6fa
#jira UE-149794
#rnx
#rb Jeff.Fisher

[CL 20361225 by David Harvey in ue5-main branch]
2022-05-25 04:05:04 -04:00
robert manuszewski
f8a812a32f Converting hardcoded short class/enum names to pathnames ahead of ANY_PACKAGE removal
#rb trivial
#jira UE-99463
#preflight 6288fd998828ea88c8aef3d0

#ROBOMERGE-OWNER: robert.manuszewski
#ROBOMERGE-AUTHOR: robert.manuszewski
#ROBOMERGE-SOURCE: CL 20314896 via CL 20314897 via CL 20314903 via CL 20314904
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v948-20297126)

[CL 20315214 by robert manuszewski in ue5-main branch]
2022-05-22 10:30:02 -04:00
David Harvey
c6d15e4adf Ensure HoloLens only includes the HoloLens versions of the Windows API wrapper files.
#jira UE-151367
#rnx
#rb Jeff.Fisher
#preflight 628610139701e2d2b2efa36a

[CL 20277795 by David Harvey in ue5-main branch]
2022-05-19 05:55:47 -04:00
David Harvey
9cc4146fbc move HoloLens runtime source to platform extension folder.
#jira UE-149794
#rnx
#rb Jeff.Fisher
#preflight 6284cd49614041edb76395dc

[CL 20258963 by David Harvey in ue5-main branch]
2022-05-18 06:59:59 -04:00
christopher waters
4b9e68073c Deprecating RHICreateTexture2D and RHICreateTextureExternal2D.
#jira none
#rb zach.bethel
#preflight 627a6ec010766ef8c1f54f1e

[CL 20129702 by christopher waters in ue5-main branch]
2022-05-10 17:13:37 -04:00
zach bethel
a574adf6d5 Deprecated RHICreateTargetableShaderResource utility method, since it's not actually used to create multisampled resources. Removed instances where it appeared multiple textures were being created, but only one was actually created. Cleaned up FTextureRenderTargetResource derived classes to use TextureRHI and TextureRenderTargetRHI.
#preflight 62798ef94561731dbe14105b
#rb christopher.waters

[CL 20113900 by zach bethel in ue5-main branch]
2022-05-09 19:27:51 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
christopher waters
7f7df46ef9 Changing uses of RHIGetNativeDevice and GetNativeResource to use the per-RHI interfaces. XR Edition.
#jira none
#rb robert.srinivasiah
#preflight 6275775bbf6585e3ee7040c5

[CL 20084067 by christopher waters in ue5-main branch]
2022-05-06 16:25:38 -04:00
fieldsJacksonG
770c1abe71 PR #9129: Add Windows 11 to supported WMR Windows Versions (Contributed by fieldsJacksonG)
ROB: Legacy fix for WMR. Kinda clumsy, but fits in with current pattern + what is done in FMicrosoftSpatialSoundModule::StartupModule()

#jira UE-150190 UE-150184
#rb Jeff.Fisher
#preflight 626a4863631e64c0b9ec52ad

#ROBOMERGE-AUTHOR: robert.srinivasiah
#ROBOMERGE-SOURCE: CL 19966611 in //UE5/Release-5.0/... via CL 19967577
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971930 by fieldsJacksonG in ue5-main branch]
2022-04-28 18:56:52 -04:00
jeff fisher
6b73d760ff UE-145518 Connecting HoloLens 2 remotely to editor crashes the engine with FPS template project
-Added a check that the RHI is DX11, because only that is supported.  If not we log a warning and do not attempt to connect.
#jira UE-145518
#preflight 6269ccad2735a2c0eabd1570
#rb Joe.Conley

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 19965022 in //UE5/Release-5.0/... via CL 19966072
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 19971815 by jeff fisher in ue5-main branch]
2022-04-28 18:55:01 -04:00
christopher waters
18cb677334 Converting uses of RHICreateTargetableShaderResource2D to use RHICreateTargetableShaderResource.
#jira none
#rb zach.bethel
#preflight 624341dcc667881bf4dba704

[CL 19548181 by christopher waters in ue5-main branch]
2022-03-29 16:03:46 -04:00
christopher waters
35d21d13ae Converting RHICreateTargetableShaderResourceXXX to use the new API.
RHICreateTargetableShaderResource2D changes will come in a later CL.

#jira none
#rb luke.thatcher
#preflight 6242188fc61d8a458f1ea406

[CL 19533075 by christopher waters in ue5-main branch]
2022-03-28 16:47:16 -04:00
Jeff Fisher
e5f4b68114 WindowsMixedReality UE5.1 fixes
-Initializing a struct.
-Pipeline pixel density because it is accessed from multiple threads.
#review-19392556
#rb Jules.Blok
#preflight 62337068bc1cf28038296afe

[CL 19423447 by Jeff Fisher in ue5-main branch]
2022-03-17 13:37:01 -04:00
Jeff Fisher
b68b16462f UE-146001 //UE5/Main - Compile UnrealGame HoloLens - WindowsMixedRealityRHI.h error: 'FD3D11Texture2D': undeclared identifier
-Updated a couple type names due to rhi refactor.
#jira UE-146001
#rb build
#preflight 623206f6736af8e08227cbac

[CL 19406619 by Jeff Fisher in ue5-main branch]
2022-03-16 11:54:12 -04:00
Luke Thatcher
ee64a28f30 Copying //UE5/Dev-ParallelRendering to //UE5/Main
This change is the copy-up of work from //UE5/Dev-ParallelRendering to unify the various RHI texture types
 - The separate RHI texture types (FRHITexture2D, FRHITexture2DArray, FRHITexture3D, FRHITextureCube, FRHITextureCubeArray) have been replaced with a single type: FRHITexture.
 - Includes the required refactoring / fixes for the various platform RHIs.

The old texture types are still supported via typedefs, but will soon be marked deprecated. Future rendering code should make use of the FRHITexture type instead.

#jira UE-139559
#rb Mihnea.Balta
#preflight 622f3af819287beb2c3047f6
#robomerge[FN_ENGINEMERGE] DEV-NC

[CL 19371962 by Luke Thatcher in ue5-main branch]
2022-03-14 09:14:58 -04:00
christopher waters
a66dc7e7ba Restoring D3D11 includes to WindowsMixedRealityRHI.
Fixing WindowsMixedRealityHMD errors.

#jira UE-145138
#rb jeff.fisher
#preflight 6227af1ae83598518f40a464
#robomerge FNNC

[CL 19309000 by christopher waters in ue5-main branch]
2022-03-08 14:52:16 -05:00
christopher waters
b7f30cbbaf Adding minimal interfaces to D3D11 and D3D12 RHIs
- Adding ID3D12DynamicRHI and ID3D11DynamicRHI interfaces for plugins that want to touch DirectX resources/devices directly.
- Adding specific headers for including DirectX headers: D3D12ThirdParty.h and D3D11ThirdParty.h
- Modifying plugins that were using D3D11RHIPrivate.h and D3D12RHIPrivate.h to use the interfaces instead.
- Removing plugin references to UE Modules and ThirdParty libraries that were only needed because they included the private RHI headers.
- Removing D3D11RHI/Private and D3D12RHI/Private from plugin include paths.

#jira none
#rb jeannoe.morissette, kenzo.terelst, mihnea.balta, eric.mcdaniel
#preflight 6222395bb066ef60bbad004a

[CL 19267223 by christopher waters in ue5-main branch]
2022-03-04 11:34:00 -05:00
steve smith
bef67cad87 Fix startup error in editor if WMR is enabled and the windows build is later than 2004 (e.g. 20H1, 20H2 etc). This is an interim fix, since the WMR path is tagged as deprecated in 5.0 and will be removed in a future version.
#jira UE-141849
#rb rob.srinivasiah, jeff.fisher
#preflight 6203143f7e40979d33bff28b
#lockdown nick.whiting

#ROBOMERGE-AUTHOR: steve.smith
#ROBOMERGE-SOURCE: CL 18913127 in //UE5/Release-5.0/... via CL 18919730 via CL 18920821
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18921485 by steve smith in ue5-main branch]
2022-02-09 13:24:06 -05:00
robert srinivasiah
3737a45475 Hololens: Dedicated Shader Platform
We can't share DDPI infrastructure with PC D3D ES3.1 because of conflicts from sharing. We need a separate shader platform.
For now, we'll just 'intrusively' plumb the new Hololens shader platform. In the future, we want to move as much code out into
Hololens-specific platform code to reduce conflict with shared paths that don't need to know about Hololens.

#rb steve.smith, christopher.waters
#jira UE-133375
#preflight 61f9ca302251c6fb596e583e

#ROBOMERGE-AUTHOR: robert.srinivasiah
#ROBOMERGE-SOURCE: CL 18818524 in //UE5/Release-5.0/... via CL 18818546 via CL 18822881
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824735 by robert srinivasiah in ue5-main branch]
2022-02-02 08:00:15 -05:00
fred kimberley
7fbfaf57c8 Require explicit constructors/casts when converting between FVector, FVector3d, and FVector3f.
#jira UE-122078
#rb Andrew.Davidson, Colin.McGinley
#preflight standard build

#ROBOMERGE-AUTHOR: fred.kimberley
#ROBOMERGE-SOURCE: CL 18817999 in //UE5/Release-5.0/... via CL 18818012 via CL 18822871
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824721 by fred kimberley in ue5-main branch]
2022-02-02 07:59:31 -05:00
jeff fisher
6b37a57100 MixedRealityInterop debug dll dependency problems
-Switched to using the release interop dll because the debug dll has dependency problems.  There appear to be incompatibilities between the interop debug config and unreal's debug config.  This is a quick fix to get the debug build working.  The interop itself will have release grade debugging info, but at least we can run and debug UE code more easily.
#rb
#jira UE-91500
#preflight 61f9c1939e4d23cd93b4258d

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18817778 in //UE5/Release-5.0/... via CL 18817787 via CL 18822865
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18824697 by jeff fisher in ue5-main branch]
2022-02-02 07:58:27 -05:00
jeff fisher
28bc3ffa05 UE-91500 Hololens generated mesh work once PIE with TP_HolloensBP Template
-Fixed world mesh with hololens on WMR plugin.  WMR interop writes floats UE side was assuming doubles.  Now we assume floats in the affected buffers.
#rb Steve.Smith
#jira UE-91500
#preflight

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18811641 in //UE5/Release-5.0/... via CL 18811651 via CL 18822718
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18823655 by jeff fisher in ue5-main branch]
2022-02-02 05:56:18 -05:00
fieldsJacksonG
e1b4c13b7e Unshelved from pending changelist '18540094':
PR #8767: Deprecate WMR (Contributed by fieldsJacksonG)

#preflight 18625839
#rb jeff.fisher
#jira UE-138625

#ROBOMERGE-AUTHOR: steve.smith
#ROBOMERGE-SOURCE: CL 18668535 in //UE5/Release-5.0/... via CL 18668690 via CL 18668769
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v901-18665521)

[CL 18668796 by fieldsJacksonG in ue5-main branch]
2022-01-19 18:42:21 -05:00
jeff fisher
d9c5e399e5 Hololens debug x64 build workaround
-Using the release version of the interop due to debug win crt problems.  This means that within the interop only release build grade debugging is available on emulated hololens device.
-Removed redundant iterator debug compile option.  That is built into the debug vs release runtime choice.
#rb
#preflight 61e1a7c67f65c8b2dce6676e

#ROBOMERGE-AUTHOR: jeff.fisher
#ROBOMERGE-SOURCE: CL 18619196 in //UE5/Release-5.0/... via CL 18619326 via CL 18619536
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18619910 by jeff fisher in ue5-main branch]
2022-01-14 12:56:27 -05:00
jules blok
732e637f62 Fix renderer issues when rendering multiple ISR passes.
- New functions are added to get the Primary View or all Secondary Views and takes advantage of that to replace hardcoded indices.
- Added support for retrieving a monoscopic projection/pose from IStereoRendering when a single frustum is needed for culling purposes.

#rb Steve.Smith
#rb Jeff.Fisher
#rb Zach.Bethel
#preflight 61de16e96a076ddb53cf59b4

#ROBOMERGE-AUTHOR: jules.blok
#ROBOMERGE-SOURCE: CL 18579012 in //UE5/Release-5.0/... via CL 18579021 via CL 18579025
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18579042 by jules blok in ue5-main branch]
2022-01-11 19:03:42 -05:00