ERR_MAX_LOOP_EXCEEDED
Code: 4551 (4551)
As HRESULT:- S: 0 (Success)
- C: 0 (Microsoft-defined)
- N: 0 (Not an NTSTATUS value)
- Facility: 0x000 (FACILITY_NULL: Default)
- Code: 0x11c7 (4551)
- Sev: 0 (STATUS_SEVERITY_SUCCESS)
- C: 0 (Microsoft-defined)
- Facility: 0x000 (Default)
- Code: 0x11c7 (4551)
Documented in Win32
HLSL errors and warnings (comperrors.h): 4551
Try reducing the number of loops, take loop counters out of structs/arrays, or move them to the start of the struct.