Nikolay Sivov : d3d10/effect: Validate shared object types against the pool.