Commit Graph

1249 Commits

Author SHA1 Message Date
6443233376 Merge pull request #2975 from frnandoooo 2026-11-22 15:13:44 -05:00
ee44e79112 Merge pull request #2953 from Vonsek 2026-11-22 15:13:32 -05:00
b84de36e63 fix(tools): count partitioned wave64 benchmark segments
Large translated shaders dispatch through inner switches, so their segment diagnostics were missing from benchmark output.
2026-11-22 21:13:08 +01:00
507657c285 fix(ci): reject malformed commands and properties in CTest listings
Validate test rows before mapping a Wine prefix. Accept a missing command for an unbuilt target, while rejecting invalid arguments or property records before launching any tests.
2026-11-22 17:12:32 -03:00
f9ccf445f1 fix(no-game-data): read the PE signature wherever e_lfanew points 2026-11-22 23:11:01 +03:00
81247c4966 Merge pull request #2515 from DanielDeGiorgio 2026-11-22 15:10:57 -05:00
fba76833e3 Write metadata conversion failure reports as UTF-8 2026-11-22 21:10:52 +01:00
bda3ae4b82 Merge pull request #2399 from AAyberkU 2026-11-22 15:10:41 -05:00
1bc49f49ce Merge pull request #2357 from Matheus Gomes 2026-11-22 15:10:36 -05:00
66ff7cb82a Merge pull request #2039 from Vonsek 2026-11-22 15:10:04 -05:00
63ff788e91 vs_input_survey: one error line for a bad <dxbc> folder, index.json or --json path 2026-11-22 15:09:56 -05:00
c37dba5e7b Merge branch 'ItsNotRexed:main' into ci/content-game-data-check 2026-11-22 23:09:52 +03:00
c4eaab94c9 Merge pull request #1518 from Henrique Vinagre 2026-11-22 15:09:42 -05:00
94a6cba5e7 Merge pull request #1299 from Vonsek 2026-11-22 15:09:39 -05:00
58024a3a6f Merge pull request #896 from DiazE117 2026-11-22 15:09:38 -05:00
e233e7d5c5 Reject invalid carve summaries before publishing coverage 2026-11-22 21:09:23 +01:00
04c99b0825 Translator: --fma exact, a single-rounded f32 FMA without VK_KHR_shader_fma (SHADER-497) 2026-11-22 22:07:33 +02:00
c82fbe37d1 Shader: flush legacy f32 multiply operands and results in default MODE
Match RDNA2 mode-0 denormal semantics and legacy zero override; flush product before output scaling and normalize modifier zeros. Add synthetic semantic/GPU fixtures and documentation. AI-assisted (GPT-6).
2026-11-22 15:03:13 -05:00
fb7b355e53 shader_stats: the stdout guard too, now that #2135 is merged
It was left out of this change while #2135 was open on the same file. With the guard added it leaves the
test's list of exceptions, which now holds only run_wine_tests.py.

Co-Authored-By: Claude Mythos 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016ABh36DZ2sZNq3ChN6EZJs
2026-11-22 23:01:10 +03:00
61a9adc2a8 vk_compute_test: VKC_HEAP_INIT seeds the heap from a file before the dispatch
A compute program that reads its inputs from memory (a root table, descriptors,
data) needs them in the heap before it runs; VKC_SGPRS only reaches s4..s31.
VKC_HEAP_INIT=<file> copies the file to Xbox VA 0 after the default fill. A file
larger than the buffer, or one that can't be read, is refused (exit 2).

cs_heap_init.asm loads four words the file put at 0x100 and stores them at 0;
check.py and run_gpu_tests.py write the file and check the words and the
file's zeros past them. First part of TEST-594 (the BVH builder's programs read
their root table from the heap).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:56:18 +00:00
cc1d9926ef runtime: honor the Windows build job limit from make_game
BUILD-952

AI-assisted-by: Codex Astra 6.2 High
2026-11-22 22:52:23 +03:00
fd426ec2ad fix: normalize Windows paths before Wine mapping 2026-11-22 19:48:54 +00:00
fc1f9b3cb1 first_look: refresh the shim report when all dependencies are present
AI-assisted-by: Codex Astra 6.2 High
2026-11-22 22:44:19 +03:00
1a8a3cd9b8 Report unreadable shader stats listings 2026-11-22 20:44:17 +01:00
826fd2b184 audit_shader4_regs: classify tbuffer/scalar stores, non-glc atomics, dual-dst VALU, and NSA lists 2026-11-22 16:42:46 -03:00
f039403efe Honor CTest output-based skips in the Wine runner 2026-11-22 19:33:20 +00:00
4c3d624bda Merge main into hw-mad-u32-u16 (#2494)
Conflicts:
	docs/design.md
	tests/semantic/test_value_semantics.py

AI-assisted.
2026-11-22 20:31:52 +01:00
15f5b2fbc0 Fix what the round-41 merges broke
- tests/semantic: BaseVertex/BaseInstance read 0 in the wave interpreter; the LDS MockGens follow
  SHADER-309 (lds_bound, lds_access, lds_atomic); abs emission tests load their operand, since
  SHADER-315 folds scalar ALU on constants.
- test_translate: the dynamic gather sampler is a loaded word, not s16 + 0 (SHADER-315 folds it).
- test_world_build: DDS downscale weights colours by alpha (62804d0d).
- test_fspx_shaders_stage: the fake disassembler writes the listing make_game now checks.
- xgameruntime_test: re-read the package id after clearing the LEONIDA_PACKAGE_ID override.
- docs: one row per topic again in design.md (72 topics) and README.md; one Other languages line;
  embedded_shaders.md keeps one copy of each bullet; animation.md links the heading anchor.
- tools/scripts: character_textures uses report_paths.same_report_path; stdout guard on six programs;
  LF write in vs_input_survey; the cl.exe fallback compiles winhttp_offline.cpp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:30:33 -05:00
54e13c51b7 Merge upstream main into the Wine timeout fix
Keep the per-test CTest environment and pass its subprocess the more restrictive deadline.
2026-11-22 16:27:39 -03:00
3eb80d77e3 Merge main into cov-d16fmt (#2039)
Conflicts:
	scripts/run_gpu_tests.py
	tests/semantic/regen_fixtures.py
	tests/test_shader_checks.py

AI-assisted.
2026-11-22 20:27:12 +01:00
82cb279597 rdna2spirv: fix TwoSum overflow in Gen.f64_add_mode via FastTwoSum 2026-11-22 21:17:31 +02:00
a922e9edd4 tests: CPU value tests for 8/16-bit and 64/96/128-bit LDS accesses
Two wave32 GPU tests, cs_w32_lds_subdword (ds_write_b8/_b16 and their
_d16_hi forms, ds_read_u8/_i8/_u16/_i16) and cs_w32_lds_wide
(ds_write/ds_read _b64/_b96/_b128, ds_read2st64_b32), and a semantic
test that runs them in the SPIR-V interpreter against a byte-level LDS
model of the ISA rules, with three SPIR-V sabotages as negative
controls. These ops were checked only by lds_fuzz.py, which needs a GPU.

No translator change. RTX 4070 SUPER, driver 610.88: both dumps match.

AI-assisted (Claude Code).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:17:14 -06:00
6be9e8b670 Add script to check for game data signatures in files
This script checks for files that start with game data signatures and lists them. It reads the first bytes of each file to match against known magic numbers.
2026-11-22 22:12:54 +03:00
fb030b1036 build_llvm_mc: persist an absolute installation path 2026-11-22 20:08:58 +01:00
f6b09ce2ab build_llvm_mc: reject retained sources from another LLVM release 2026-11-22 19:59:39 +01:00
23b458b5f8 rdna2spirv: image_sample_c and image_sample_c_b, depth compares with implicit LOD (EGEN-MIMG-SAMPLE-C)
image_sample_c / image_sample_c_b (and their _o forms) were Unsupported. In a
pixel shader they are OpImageSampleDrefImplicitLod (Bias for _c_b); LOD 0 for
_c elsewhere. The _c_b address order is bias then z-compare (the parser read
the compare first). vk_texture_test now honours LEONIDA_VK_DEVICE. GPU tests
ps_sample_c and ps_sample_c_b, semantic tests, design.md row.

AI-assisted.
2026-11-22 19:57:23 +01:00
9fe7fee5e1 Merge main into gpu-vopc-int (#2220)
tests/semantic/regen_fixtures.py

AI-assisted.
2026-11-22 19:53:43 +01:00
161fdf545a fix(test): verify the barycentric fixture gradient
Collapsed interpolation could satisfy the comparison between the raw and interpolated results. Use the known full-screen triangle gradient to verify their agreement is meaningful.
2026-11-22 19:53:30 +01:00
16a98e4bb7 Merge main into valu-int-misc (#1492)
tests/semantic/test_value_semantics.py

AI-assisted.
2026-11-22 19:52:33 +01:00
676c6abae3 Merge main into coverage-gaps (#1299)
runtime/test/shaders/check.py
scripts/run_gpu_tests.py
tests/semantic/test_value_semantics.py

AI-assisted.
2026-11-22 19:52:12 +01:00
cc29f9be93 Restore the console code page after the LLVM build 2026-11-22 19:43:57 +01:00
2426df3d5e GPU tests: wire cs_fma_fused in run_gpu_tests and accept GLSL Fma split on RADV 2026-11-22 18:34:11 +00:00
47449d3e29 Merge pull request #2729 from itsRevela
# Conflicts:
#	docs/design.md
2026-11-22 13:17:24 -05:00
4ac33f7e88 Merge pull request #2648 from skankhunt42 2026-11-22 13:16:47 -05:00
7fe2918ac8 Merge pull request #2607 from Vonsek 2026-11-22 13:16:31 -05:00
33662439f2 Merge pull request #2576 from DanielDeGiorgio 2026-11-22 13:16:18 -05:00
c478142d4e Merge pull request #2543 from DanielDeGiorgio 2026-11-22 13:16:03 -05:00
40055efb95 Merge pull request #2531 from Vonsek
# Conflicts:
#	docs/design.md
2026-11-22 13:15:58 -05:00
2fbbd93b57 Merge pull request #2529 from DanielDeGiorgio 2026-11-22 13:15:56 -05:00
41d2530e5e Merge pull request #2526 from DanielDeGiorgio 2026-11-22 13:15:55 -05:00