Rework of shader constant buffers.