Add HW bounding Box support to d3d backend

I think it should be possible to merge this two blocks. eg OGL can also use rawpos instead of gl_FragCoord. I guess it's also fine to use a int bbox_data[4] instead or a int4, so that the array access would still be fine.
But I'm fine if you just let it as it is :D