UE4.26 - Shader is using too many SRVs (only 64 supported)

I know it’s been a long time since this post, but I found another solution to this issue.

  1. Go to Engine\Source\Runtime\D3D12RHI\Public\D3D12RHI.h
  2. Go to line 21, it should be #define MAX_SRVS 64 by default
  3. You may then change the 64 to whatever you wish. However, I would recommend 128 as it will be able to run on all hardware that can run DirectX 12. (Source)

Hope this helps someone

3 Likes