ERR_DERIV_READ_BEFORE_WRITE
Code: 4021 (4021)
As HRESULT:- S: 0 (Success)
- C: 0 (Microsoft-defined)
- N: 0 (Not an NTSTATUS value)
- Facility: 0x000 (FACILITY_NULL: Default)
- Code: 0x0fb5 (4021)
- Sev: 0 (STATUS_SEVERITY_SUCCESS)
- C: 0 (Microsoft-defined)
- Facility: 0x000 (Default)
- Code: 0x0fb5 (4021)
Documented in Win32
HLSL errors and warnings (comperrors.h): 4021
Derivative is being used before it was defined so consider moving the derivative assignment earlier in the program.