cbuffer cb0
{
uint2 buf0[cbufSize];
}
cbuffer cb1
{
uint2 buf1[cbufSize];
}
...
cbuffer cb15
{
uint2 buf15[cbufSize];
}
and error occurs:
Quote: error X4567: maximum cbuffer exceeded. target has 14 slots my.fx(330,38): There was an error compiling expressionQuestion: 1, why not 16 slots? is that my struct VS_OUTPUT.. SamplerState samp.. #define N 4096.. and vars in ps(){}.. all takes up in cbuffer slots? How to have 15 or 16 slots? Thanks!