Repository navigation
Vprotex - #699
Merged
Merged
Vprotex#699
Conversation
- dma_fields: take the selected level's packing when word 4's field does not fit word 4's own pixel. sgiquake1 uploads RGBA4/RGB5_A1 levels with a 4-byte field in a 2-byte pixel; since fa2c91c those packed 4-byte fields into 2-byte texels and its textures turned to noise. - Image header bit 10 is GL_UNPACK_SWAP_BYTES; reverse each element. - 5_6_5 arrives as type 0xa or 0xc by internal format; decode both with the full 9-bit code, and add BGRA 8_8_8_8_REV (0x50) with its alpha. piglit texture-packed-formats now passes; the texture set and a 101-shot format sweep are identical on the CPU and wgpu raster units. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Rebuilds after an edit take one to three minutes instead of about nine, at about 4% guest speed. Measure performance with --release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The line editor puts the terminal in raw mode for each readline and only restores it when the call returns or the editor is dropped. Most exits (monitor quit, signals, guest power-off, CI quit, window close, panic) end the process from another thread while readline is still waiting, so the shell was left with no echo and no line editing. Save the terminal state (termios on Unix, console modes on Windows) before the editor first takes it over, and restore it in exit_process, at the end of main after the window closes, and in the panic hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
No description provided.