Files
reims-vgpu/tests/shaders
Anees Iqbal fa218dcdde ✅ Draw draw_cost's 10k under the bench's own shaders
draws.10k's guest bench draws with v_small and f_flat, which take their bytes
as a constant float4 & at buffer 0. draw_cost's 10k drew with render_vbuf and
render_fbuf, which read device pointers, so the runtime bound storage buffers
where the VM's draws bind constant ones: on Iris the VM's lane thread spends
7.7% in the runtime's push_set, and draw_cost's 10k never reached it, with
either kind of upload chunk. The 10k and many shapes now run under the
bench's pair, render_small and render_flat, compiled alone here with Xcode's
metal (no other metallib rebuilt).

The runtime path also takes DRAW_COST_RUNTIME_PASS=fresh, which makes each
pass's descriptor anew inside the count as the platform's and the decoder's
paths do: whether the runtime's extra pass work under the platform comes of a
new descriptor each pass or of what the platform's descriptors carry.
2026-11-14 20:26:38 -08:00
..