d3d: Migrate a few more things into common code.
d3d: Centralize framebuf creation/switch logic.
Move FBO_OLD_AGE to the common header.

Guess it's fine here.
d3d: Don't statically import Direct3DCreate9Ex().
d3d: Fix drawpixels texture.
Merge pull request #6869 from unknownbrackets/d3d9

d3d: Centralize more framebuffer management
DX9: Disable an annoying warning in vertex shader generator to clean up our reports

warning X3571: pow(f, e) will not work for negative f, use abs(f) or conditionally handle negative values if you expect them
Uniforms/constants aren't shared in D3D, let's not pretend they are.
D3D: Use fixed constant registers for pixel shader constants
D3D: Use fixed constant registers for vertex shaders too.
Some renaming
DX9: Not much point in tracking dirtiness per shader now that all constants are shared.
DX9: "Linked" shaders are now pointless, so remove them.
D3D: Assorted cleanup. Add a missing register specification.
Fixes saveicons in Kirameki School Life SP.
Change function name
Merge pull request #6875 from daniel229/func_replace_Kirameki

Replace frame download in Kirameki School Life SP.
Fix a wrong condition
Merge pull request #6876 from chinhodado/patch-3

Fix a wrong condition in buffer resizing
Update the hook for Kirameki School Life SP