hnisula / ducklib

A library made out of ducks
1 stars 0 forks source link

Fix D3D12 HelloTriangle test by implementing D3D12 passes #43

Open hnisula opened 1 year ago

hnisula commented 1 year ago

To catch up with the Vulkan progress on the HelloWorld test this should at least be done before starting to add support for drawing a rotating triangle.

hnisula commented 1 year ago

It seems clear color must be set in creation of a pass, in D3D12. Currently the Vulkan code sets it as it begins the pass. Perhaps add this to the pass data and do it on creation for D3D12 and read it when beginning a Vulkan pass.