vkd3d-shader/fx: Do not write shared buffers block when not compiling as a child effect.
Noticed that some d3d10 tests started to pass but in a wrong way. With vkd3d 1.12 duplicate entries are now written.
Noticed that some d3d10 tests started to pass but in a wrong way. With vkd3d 1.12 duplicate entries are now written.