compression example

This commit is contained in:
Jorijn van der Graaf 2026-05-12 00:27:55 +02:00
commit 3859c43ce3

View file

@ -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;