Repository navigation
Conversation
…ch frame generation takes for UI; Quake 0.3.26's crosshair drawn with it Quake's crosshair was the game's debug shapes, played into the 3D after the scene and before the HUD: frame generation's HUD-less copy (the display buffer before the HUD's first draw) held it, so AMD took it for 3D and generated frames carried it smeared between the real ones. screen_shapes(name, tris, n), plugin API 30 (appended after cutscene()): triangles in the picture's 0..1, a colour with alpha, that the window's pump puts into the host overlay - the FPS counter's - which the presenter draws over the frame after the HUD, as the pointer and the counter are. Frame generation, the upscalers and the TAA never see it, the same as the HUD. A call replaces the plugin's last list, n = 0 takes it away, and a list not given again for a quarter of a second goes by itself (a plugin that stops - a load, a crash of its hook - leaves nothing on screen); a plugin that is off cannot set one. plugin_abi_test checks the table's new end and BbScreenTri's layout. Quake 0.3.26 draws its crosshair that way where the host has version 30 - the ring as a band one 480-line pixel wide with fainter edges, the dot a disc, at the picture's middle with the picture's aspect - and takes it away at once when it lets go of the player, when the hunter dies or the crosshair is off; on an older host it draws the debug shapes as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Test build of ac5e587: Windows zip, Linux tarball and Steam Deck kit, unsigned, kept 14 days. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With frame generation on, Quake's crosshair smeared between real frames.
Cause
Quake drew the crosshair as the game's debug shapes, which play into the 3D after the scene and before the HUD. Frame generation's HUD-less copy is the display buffer just before the HUD's first draw, so it contained the crosshair, and AMD treated the crosshair as scenery to interpolate.
The host:
screen_shapes(plugin API 30)int (*screen_shapes)(const char* name, const BbScreenTri* tris, size_t n)is appended aftercutscene(), so plugins built against 29 keep working.BbScreenTrihas its three corners in the picture's 0–1 space plus a colour with alpha.n = 0clears it. A list not refreshed for 250 ms disappears by itself, so a plugin that stops calling leaves nothing on screen.plugin_abi_testchecks the table's new end andBbScreenTri's layout.docs/plugins.mddocuments the call.Quake 0.3.26
screen_shapes, centred and matched to the picture's aspect:The version bump goes from 0.3.24 to 0.3.26; #253, which takes Quake to 0.3.25, will conflict on that one line.
Checks
plugin_abi_testpasses.🤖 Generated with Claude Code