Add nxt::VertexFormat::FloatR32

This commit is contained in:
Corentin Wallez
2017-07-03 14:01:30 -04:00
committed by Corentin Wallez
parent 4cd65f03b7
commit 8859178703
5 changed files with 12 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ namespace d3d12 {
return DXGI_FORMAT_R32G32B32_FLOAT;
case nxt::VertexFormat::FloatR32G32:
return DXGI_FORMAT_R32G32_FLOAT;
case nxt::VertexFormat::FloatR32:
return DXGI_FORMAT_R32_FLOAT;
}
}