OK #DX12 #expert #shaders #howto solve this .. you have an HLSL shader where you declare let's say FOR EXAMPLE
cbuffer Constants : register(b0)
{
float4 Banana;
float4x4 World;
float4 Pappine;
}
But then MAYBE later on you have an #ifdef /something that makes the shader NOT use "Banana" .. now the optimizator "would remove Banana from the cbuffer block" so now you'll have 16 bytes less in the structure but "how do you know when you load the shader" that is happened ? You see the shit.