[Encode] Fill BrcConstBuffer using pitch

Set correct pitch for 2D resource and
fill 2D BrcConstBuffer using pitch
1 file changed