Files
UnrealEngineUWP/Engine/Source/Runtime/RenderCore
christopher waters d44ca9ae9f Getting ShaderBundles working with Bindless
- When converted to bindless, the shader bundle shaders still had global constants for Nanite resources, etc. This is a problem when the shader bundle setup code requires zero parameters in the global constant buffer.
- Since all the NaniteCullRaster shaders are using the same exact parameter struct, we should be able to use that as a "fixed" format as long as it's set as the RootParameters for all the shader types.
- Once all the shaders are confirmed to use the same constant buffer layout, we can set these constants once in a shared constant buffer and bind that as the RootParameters constant buffer (b0:space0) for all bundle dispatches.

#jira UE-215905
#rb graham.wihlidal, Rune.Stubbe

[CL 34675675 by christopher waters in ue5-main branch]
2024-06-26 10:46:46 -04:00
..