Commit Graph

4 Commits

Author SHA1 Message Date
Hajime Hoshi
085e6fe994 internal/graphicsdriver/directx: unmap constant buffers appropriately
Updates #2198
Updates #2202
2022-07-14 21:47:24 +09:00
Hajime Hoshi
4a17f6159a internal/graphicsdriver/directx: bug fix: wrong offsets
* Wrong offsets were speicified when creating a constant buffer view and
  a shader resource view.
* Wrong root descriptor tables were speicified. For one draw command,
  one descriptor table for a constant buffer and textures should be used.

Updates #2198
Closes #2201
2022-07-14 12:33:33 +09:00
Hajime Hoshi
dbb8067761 internal/graphicsdriver/directx: bug fix: ID3D12Resource::Unmap does not return an value
Updates #2113
Closes #2115
2022-06-02 12:56:48 +09:00
Hajime Hoshi
79e93d3b12 internal/graphicsdriver: introduce the DirectX driver
Closes #1007
2022-03-26 20:09:34 +09:00