Repository navigation
Model L as a model choice: registry row, front-end WG_MODEL_L, model lookup and refusals - #155
Merged
Merged
Conversation
…end WG_MODEL_L, model lookup and refusals - registry: sr_model value L and the model row (runtime option model=L, build flag WRONGGPU_MODEL_L); regenerated header, ini text and REGISTRY.md. The append-only baseline of the tests (tests/data/registry.prev.json) is release 0.6.0's registry: Model L's entry 0x...03 is appended after the released M and K entries; a model put before a released one is refused. - front end: CMake option WG_MODEL_L (default OFF, src/model_l.h). With it: the entry WrongGPU Model L, sr_model=L / model=L passed to the runtime, the model lookup looks for <place>\L\model.wgcm, and a create with Model L chosen and no converted Model L is refused with the reason (the runtime is not asked; AMD takes over as for any failed create). Without it: model=L (wronggpu.ini runtime_options, WG_RUNTIME_OPTIONS) and sr_model=L are refused by name in the log and Model M runs. - tests: the front-end unit tests also built with Model L (test_frontend_model_l); new tests for both builds; the registry tests for the third entry. Refs #89 Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
phantoslayer21
marked this pull request as ready for review
November 14, 2026 08:13
Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
This was referenced Nov 14, 2026
Merged
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.
Refs #89
Model L as a model choice in the shared settings and the front end, off by default.
sr_modelvalueLand the model row (runtime optionmodel=L, build flagWRONGGPU_MODEL_L);regenerated header, ini text and REGISTRY.md. The tests' append-only baseline (
tests/data/registry.prev.json)moves to release 0.6.0's registry: Model L's entry
0x5747000000000003is appended after the released M and Kentries.
WG_MODEL_L(default OFF,src/model_l.h). With it: the hosted list entry"WrongGPU Model L",
sr_model=L/model=Lpassed to the runtime, the model lookup's<place>\L\model.wgcm, and aclear refusal when Model L is chosen and no converted Model L exists. Without it:
model=L/sr_model=Larerefused by name in the log and Model M runs, as today.
Model M when the option is off: the same front end (the new code is behind
WG_MODEL_L).Tested: the integration build with
WG_MODEL_L=ONcarried the "WrongGPU Model L" entry; in Cyberpunk 2077 andResident Evil Requiem the host chose it through OptiScaler's
[WrongGPU] UpscalerIndex=1, the front end found<game>\WrongGPU\model\L\model.wgcmand passed it on, and Model L ran on the D3D12 executor.