HLSL just picked the variable name which did not work as expected for some users. Use the same logic as GLSL and set up declared_block_names, so the actual name can be queried later.