summaryrefslogtreecommitdiffstats
path: root/userspace/tests/test_guest_init.c
diff options
context:
space:
mode:
authorArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-15 17:36:50 -0500
committerArthur Hanson Rasmusson <arthur@vgpu.io>2026-11-15 17:36:50 -0500
commitdab4a02cdda99a37c412322680b17cceb1c518f1 (patch)
treed7ef6b13790ccf6143dc0364c300e7daf3847f30 /userspace/tests/test_guest_init.c
parentef2e68b9e64cb1ebffe49fc7dec7c821747b9aa6 (diff)
downloadopen-iov-dab4a02cdda99a37c412322680b17cceb1c518f1.tar.gz
open-iov-dab4a02cdda99a37c412322680b17cceb1c518f1.zip
vgsp: eng67 - synthesize a full-RT viewport for replayed beef 3D windows
c797 (engine ef2e68b9) DRAW-STATE on the release launch: RT0/RT1 = alias 0xa000000, 1920x1080, fmt 0xe6; VS0 address 0x1e305dc bound; DRAW_IAB emitted its last vertex-array start (0xd74=0x15); but the viewport SCALE/OFFSET methods 0xa00..0xa14 read 0 on the replay context (they are client channel state the per-frame window never carries). Every vertex maps to (0,0), so the 8x3-vertex draws rasterize nothing and the 1025 tracked RT pages stay 0. sema_gl_viewport (default 0; params=1) emits a full-color-target viewport before beef 3D windows: SCALE_X=+W/2, SCALE_Y=-H/2, SCALE_Z=0.5, OFFSET_X=W/2, OFFSET_Y=H/2, OFFSET_Z=0.5 (IEEE bits computed without FP; W/H from the RT0 method shadow, fallback 1920x1080). VIEWPORT receipt carries the emitted bit patterns.
Diffstat (limited to 'userspace/tests/test_guest_init.c')
0 files changed, 0 insertions, 0 deletions