Add HW bounding Box support to d3d backend

Coding style: u16 value. You can just do the computations directly on the parameter variable anyway.