The HLSL compiler keeps outputting the following error:
FXC : error X4567: maximum cbuffer exceeded. target has 14 slots, manual bind to slot 4294967295 failed
without mentioning in which file or at which line this occurs.
I also have no idea where the number comes from as I basically use only 5 slots:
#define SLOT_CBUFFER_GAME 0
#define SLOT_CBUFFER_PRIMARY_CAMERA 1
#define SLOT_CBUFFER_COLOR 2
#define SLOT_CBUFFER_LIGHTING 2
#define SLOT_CBUFFER_MODEL 3
#define SLOT_CBUFFER_SECONDARY_CAMERA 4
Any ideas? And how can get more feedback from the compiler?
↧