Files
UnrealEngineUWP/Engine/Shaders/Public
jason nadro 4abe2c5fa2 Make LocalVF ISM/HISM not need any instance attributes except in editor, move remaining data to GPU-Scene.
- USE_EDITOR_SHADERS moved MaterialTemplate.ush -> Common.ush to allow use in global shaders as well as in includes that happen earlier in MaterialTemplate.ush
- PLATFORM_SUPPORTS_EDITOR_SHADERS default define moved to Platform.ush to enable use in Common.ush
- Fetch vertex shader custom data from GPU-Scene whenever GPU-scene instance culling path is used.
- Plumb through per-instance editor data to upload in the payload buffer of GPU-Scene
- Skip uploading per-instance vertex attributes and creating VF uniform buffer when GPU-Scene is active (ISM)
- Fetch all instance attributes from GPU-Scene, custom data and editor data, and only do so for editor platforms (LocalVF)
- When doing UpdateInstances only recreate mesh draw commands if the instance count changed.  Since we no longer have the per instance render data buffers they no longer are in the MDC and don't need to update.  The only thing left in the MDC that needs updating is the instance count.
- Skip creating/flushing per-instance render data buffers for ISM proxies.

#rb Ola.Olsson, Jason.Nadro
#preflight 6171d98395715b0001872c00, 6171e2a94d6efa00018197af
#lockdown Michal.Valient

#ddcfill: 61729e14c33baf00011f4e8b

#ROBOMERGE-OWNER: jason.nadro
#ROBOMERGE-AUTHOR: jason.nadro
#ROBOMERGE-SOURCE: CL 17896781 via CL 18006634 via CL 18370361 via CL 18370432
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18370505 by jason nadro in ue5-release-engine-test branch]
2021-12-03 13:43:00 -05:00
..