FNA-XNA / FNA3D

FNA3D - 3D Graphics Library for FNA
http://fna-xna.github.io/
Other
287 stars 48 forks source link

[EXPERIMENTAL] D3D12 Backend #151

Closed TheSpydog closed 2 years ago

TheSpydog commented 2 years ago

I've started working on an experimental D3D12 backend for FNA3D. This is intended primarily for GDKX, although as of the time of this writing I haven't added any initialization code for Xbox. (And when I do, it will have to be under NDA. Still figuring out how that will work in terms of compilation.)

Since D3D12 is similar to Vulkan in terms of complexity (if not verbosity), my goal is to keep this as close to the general structure of the Vulkan renderer as possible. This allows us to not reinvent the wheel for things like memory management, etc.

Note that this will most likely end up getting thrown away whenever SDL_gpu materializes.

API Checklist

flibitijibibo commented 2 years ago

For Xbox, let's separate it like we do for D3D11, but the Xbox path can be

#include "FNA3D_Driver_D3D12_GDKX.inl"

We'll host that file in its own private repo in the FNA org.

TheSpydog commented 2 years ago

Closing this in favor of an alternative solution. More details coming soon (hopefully)...