Commit Graph

27 Commits

Author SHA1 Message Date
christopher waters
d8b6c60a8e Allowing SM5 to support bindless only in RayTracing shaders.
#jira UE-162014
#rb elizabeth.baumel, yuriy.odonnell
#preflight 634456c66e400a8e20f57202

[CL 22458545 by christopher waters in ue5-main branch]
2022-10-11 11:19:10 -04:00
florin pascu
5669253244 - Add Disable Preview Menu Option
- GetFriendlyShaderPlatformName removed
- RHIShaderPlatformDefinitions.inl deleted
- Added FriendlyNames to all ShaderPlatforms in DDSPI
- MenuText now comes from FriendlyNames in DDSPI
#rb Jack.Porter
#jira none
#preflight 632b1f8c826e0c2fe9a9d5d2

[CL 22118730 by florin pascu in ue5-main branch]
2022-09-21 14:35:21 -04:00
jeannoe morissette
0d54854d1f VulkanRHI: Add implementation of bindless samplers using VK_EXT_descriptor_indexing.
#fyi dmitri.dyomin, carl.lloyd, robert.srinivasiah, yuriy.odonnell, aleksander.netzel
#rb christopher.waters
#jira UE-139618
#preflight 6319f6482b7fe03eb6aab931

[CL 21988350 by jeannoe morissette in ue5-main branch]
2022-09-13 14:16:19 -04:00
guillaume abadie
e123c0e4c1 Works arround exessive TSR shader compilation time on SPIRV backends
#rb laura.hermanns
#jira UE-161125
#preflight 6317844f304480f8f8e061cb

[CL 21923850 by guillaume abadie in ue5-main branch]
2022-09-09 13:20:46 -04:00
guillaume abadie
461c3253f0 Fixes crash in TSR when the GPU doesn't support wavesize=32
#rb none
#jira UE-159120
#preflight 63077f19f853cb3b91212fb2

[CL 21572613 by guillaume abadie in ue5-main branch]
2022-08-25 17:06:23 -04:00
Dmitriy Dyomin
1d08766513 Fixed: broken geometry in editor mobile preview when "GPU Scene on Mobile" is true
#rb none
#preflight ini
#jira UE-159920

[CL 21266403 by Dmitriy Dyomin in ue5-main branch]
2022-08-08 01:32:24 -04:00
Arciel Rekman
09175d79ea Multi-viewport on PC (D3D11/12, Vulkan).
- RHISupportsMultiviewport made to work on relevant shader platforms.
- RHISetStereoViewport implemented
- Unused outputs removal fixed to always consider viewport index used.
- Renamed confusing terminology (multiview -> multiviewport).
- Added a CVar (vr.MultiViewport) to force disable
- Added a canvas output to know the method in non-Shipping

#jira UE-151349
#review @Robert.Srinivasiah, @Jules.Blok, @JeanNoe.Morissette
#rb Robert.Srinivasiah, Jules.Blok, Chris.Waters
#preflight 62d193c43b057e727491c9d2

[CL 21153050 by Arciel Rekman in ue5-main branch]
2022-07-18 17:31:15 -04:00
serge bernier
6df0b584ae Use DDPI option to use the compressed transforms with scenedata. For platforms not supporting nanite, using non compressed transforms saves 0.4ms on the GPU.
#rb [at]jamie.hayes

#ROBOMERGE-AUTHOR: serge.bernier
#ROBOMERGE-SOURCE: CL 21090729 via CL 21090755 via CL 21095104
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21099187 by serge bernier in ue5-main branch]
2022-07-14 17:05:33 -04:00
Florin Pascu
f64fc575d2 Re-submiting with Mac fixes
Changed ShaderArchive, GlobalShaderCache, ShaderDebugInfo and Autogen to use ShaderPlatformName and not ShaderFormat when naming their output files.
#rb Jack.Porter, Chris.Waters, Mihnea.Balta, Jason.Nadro
#jira UE-120561
#preflight 62c31f6fc9410537282296c6

[CL 20937870 by Florin Pascu in ue5-main branch]
2022-07-04 19:06:33 -04:00
Florin Pascu
09cb19fcfd Backout 20871665 to fix Mac cook
#rb none
#jira none
#preflight 62be0c68d94b57687c3ff309

[CL 20904999 by Florin Pascu in ue5-main branch]
2022-06-30 17:41:55 -04:00
Florin Pascu
1844e8e514 Changed ShaderArchive, GlobalShaderCache, ShaderDebugInfo and Autogen to use ShaderPlatformName and not ShaderFormat when naming their output files.
#rb Jack.Porter, Chris.Waters, Mihnea.Balta, Jason.Nadro
#jira UE-120561
#preflight 62bbf93ae353c20ac2361d94

[CL 20871665 by Florin Pascu in ue5-main branch]
2022-06-29 04:19:06 -04:00
Guillaume Abadie
f43cc31076 Only compile TSR's shading rejection heuristic with LDS fallback on platforms that are not guarenteed to have waveops
#rb none
#jira none
#preflight 62b472b1640f38b9dc683895

[CL 20795410 by Guillaume Abadie in ue5-main branch]
2022-06-23 11:15:46 -04:00
Guillaume Abadie
3044cef365 Temporaly disable TSR on desktop SPIRV backends due to long compilation time in DXC
#jira UE-156569
#preflight trivial
#rb none

[CL 20738477 by Guillaume Abadie in ue5-main branch]
2022-06-20 11:41:47 -04:00
jeannoe morissette
44313345c2 VulkanRHI: Properly set GRHISupportsWaveOperations at runtime. Add subgroup properties query to device initialization if the platform's Vulkan instance is >= 1.1. Update VulkanPC ddpi to report wave op support. Cleanup: start removing VULKAN_SUPPORTS_PHYSICAL_DEVICE_PROPERTIES2 define.
#rb Dmitriy.Dyomin
#fyi brandon.schaefer,Andrew.Lauritzen
#preflight 629523a9c10e51b2bfa4cc0f
#rnx

[CL 20436394 by jeannoe morissette in ue5-main branch]
2022-05-31 09:33:47 -04:00
Guillaume Abadie
12c8b7bf7f Compiles all global shaders with HLSL2021 on some platforms
#rb laura.hermanns
#jira none
#preflight 627ceb4ace4192efbe2e6f8a, 627d1920a82f3adab87b67f0

[CL 20165180 by Guillaume Abadie in ue5-main branch]
2022-05-12 11:41:03 -04:00
benjamin rouveyrol
602a4611c1 Remove bSupportsGPUSkinCache from FGenericDataDrivenShaderPlatformInfo since all platforms now support it.
This is now replaced by r.SkinCache.Allow (default to true) in case users still want to disable it and claim the memory back

#jira UE-149155
#preflight 627290287b6d0faffa6fc8b4
#rb Wojciech.Krywult Brian.White

[CL 20042354 by benjamin rouveyrol in ue5-main branch]
2022-05-04 11:21:14 -04:00
Charles deRousiers
546f1b27c6 Add ROV type support for shader binding.
#rb mihnea.balta
#jira none
#preflight 623b31aaca34ffd7bf7ca796

[CL 19481254 by Charles deRousiers in ue5-main branch]
2022-03-23 13:02:24 -04:00
aleksander netzel
0f78ba590d Enable Niagara RayTracingTransforms CS for Vulkan RT: it was only compiled when ray tracing pipelines were available but the shader only prepares transforms for RayTracingScene and can be used for both RT pipeline/inline.
#rb Tiago.Costa
#preflight 622b392b32749f363c7e64fd

[CL 19352900 by aleksander netzel in ue5-main branch]
2022-03-11 07:51:37 -05:00
jeannoe morissette
22c35efbdb VulkanRHI: Fix Anisotropy EngineTests.
#preflight none
#rb Brandon.Schaefer

[CL 19252504 by jeannoe morissette in ue5-main branch]
2022-03-03 15:47:33 -05:00
aleksander netzel
69de2f8a61 Re-enable RayTracing in Vulkan
#rb none
[FYI] Yuriy.Odonnell

#ROBOMERGE-AUTHOR: aleksander.netzel
#ROBOMERGE-SOURCE: CL 18351169 in //UE5/Release-5.0/... via CL 18351175
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18351177 by aleksander netzel in ue5-release-engine-test branch]
2021-12-02 07:26:11 -05:00
aleksander netzel
e7bad85c0d Disable RayTracing in Vulkan until shader issue is resolved.
#rb none
[FYI] Yuriy.Odonnell

#ROBOMERGE-AUTHOR: aleksander.netzel
#ROBOMERGE-SOURCE: CL 18340395 in //UE5/Release-5.0/... via CL 18340411
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18340425 by aleksander netzel in ue5-release-engine-test branch]
2021-12-01 11:55:39 -05:00
yuriy odonnell
bc58757d46 Enable inline ray tracing support for Vulkan on PC via DDPI. Feature remains disabled by default via r.Vulkan.RayTracing CVar.
* Minimal set of required ray tracing utility shaders is now always cooked for Windows Vulkan targets
* -noraytracing command line argument can also now be used to disable ray tracing (useful when testing a game that was packaged with r.Vulkan.RayTracing=1)
* Rename r.Vulkan.ExperimentalRayTracing -> r.Vulkan.RayTracing

#rb aleksander.netzel, tiago.costa

#ROBOMERGE-AUTHOR: yuriy.odonnell
#ROBOMERGE-SOURCE: CL 18295609 in //UE5/Release-5.0/... via CL 18295624
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18295629 by yuriy odonnell in ue5-release-engine-test branch]
2021-11-25 12:38:50 -05:00
yuriy odonnell
7f82e90db3 Add separate RHI capability properties for full ray tracing shaders and inline ray tracing. While most RHIs may support both features, some may only support one.
#preflight 619ce604f934c1a291f81cfe
#rb aleksander.netzel

#ROBOMERGE-AUTHOR: yuriy.odonnell
#ROBOMERGE-SOURCE: CL 18270186 in //UE5/Release-5.0/... via CL 18270194
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18270205 by yuriy odonnell in ue5-release-engine-test branch]
2021-11-23 10:25:31 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
chris kulla
754266cb79 Enable Diaphgram DOF on SM6 via the DataDrivenPlatform info, and simplify related special cases for other platforms
#rb Christopher.Waters
#jira none
#preflight 6189952c4a0c609a29b2152b

#ROBOMERGE-AUTHOR: chris.kulla
#ROBOMERGE-SOURCE: CL 18095262 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v889-18060218)
#ROBOMERGE[STARSHIP]: UE5-Release-Engine-Staging Release-5.0

[CL 18095375 by chris kulla in ue5-release-engine-test branch]
2021-11-08 18:09:31 -05:00