Skip to main content

Module chunk_gpu_test

Module chunk_gpu_test 

Source
Expand description

Task 10 chunk-realize GPU verification node — debug-only; runs ChunkRealize on a local RenderingDevice and checks positions vs chunk_subvertex_base. Task 10 verification: run the committed ChunkRealize.spv on a real Vulkan RenderingDevice and prove the realized vertex positions match the CPU reference quadtree::chunk_subvertex_base (terrain OFF), plus a terrain-ON envelope check.

Mirrors conform_gpu_test: a throwaway Node whose run() drives the GPU on a local RenderingDevice (so we own submit/sync and can read the pool back deterministically — the main device’s submit is owned by the renderer). It exercises the real production [ChunkGpuResources] compute path (pipeline build, descriptor/params upload, record_realize, vertex-pool readback); only the MultiMesh (a main-device, render-only concern) is skipped via new_compute_only. A scene calls run() and prints CHUNK_GPU_TEST: PASS/FAIL ....

Structs§

ChunkRealizeGpuTest