compression example
This commit is contained in:
parent
ac2eb7fb0a
commit
3859c43ce3
1 changed files with 3 additions and 3 deletions
|
|
@ -169,8 +169,8 @@ int main() {
|
||||||
heap.Initialize(/*images*/ 1, /*buffers*/ 1, /*samplers*/ 0);
|
heap.Initialize(/*images*/ 1, /*buffers*/ 1, /*samplers*/ 0);
|
||||||
window.descriptorHeap = &heap;
|
window.descriptorHeap = &heap;
|
||||||
|
|
||||||
// Mesh cubeMesh;
|
Mesh cubeMesh;
|
||||||
// cubeMesh.Build(loadedMesh, cmd);
|
cubeMesh.Build(loadedMesh, cmd);
|
||||||
|
|
||||||
ImageVulkan<RGBA8> checkerImage;
|
ImageVulkan<RGBA8> checkerImage;
|
||||||
checkerImage.Create(
|
checkerImage.Create(
|
||||||
|
|
@ -182,7 +182,7 @@ int main() {
|
||||||
|
|
||||||
window.FinishInit();
|
window.FinishInit();
|
||||||
std::println("GPU init submit + wait completed without validation errors.");
|
std::println("GPU init submit + wait completed without validation errors.");
|
||||||
//std::println("BLAS device address: 0x{:x}", cubeMesh.blasAddr);
|
std::println("BLAS device address: 0x{:x}", cubeMesh.blasAddr);
|
||||||
|
|
||||||
// Cleanup happens via Window/Device dtors when they go out of scope.
|
// Cleanup happens via Window/Device dtors when they go out of scope.
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue