Commit Graph

525 Commits

Author SHA1 Message Date
220b786966 Merge pull request #3195 from Max Hurst 2026-11-22 15:15:37 -05:00
0ef8a7f9a0 Merge pull request #3076 from Eng-Meshari 2026-11-22 15:14:36 -05:00
83047c2ea4 Merge pull request #3074 from Wasler
# Conflicts:
#	docs/design.md
2026-11-22 15:14:36 -05:00
012907537b Merge pull request #3029 from frnandoooo 2026-11-22 15:14:10 -05:00
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
81247c4966 Merge pull request #2515 from DanielDeGiorgio 2026-11-22 15:10:57 -05: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
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
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
f039403efe Honor CTest output-based skips in the Wine runner 2026-11-22 19:33:20 +00: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
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
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
2212eadd1b Merge pull request #2520 from Dominik 2026-11-22 13:15:53 -05:00
8e2937e0a3 Merge pull request #2515 from DanielDeGiorgio 2026-11-22 13:15:51 -05:00
cd658b588e Merge pull request #2497 from DanielDeGiorgio 2026-11-22 13:15:44 -05:00
663e9212d1 Merge pull request #2492 from bbareth 2026-11-22 13:15:42 -05:00
d097528984 Merge pull request #2479 from bbareth 2026-11-22 13:15:36 -05:00
d2288ab497 Merge pull request #2465 from bbareth 2026-11-22 13:15:30 -05:00
c64494b9fe Merge pull request #2411 from TurboSosiska304 2026-11-22 13:15:07 -05:00
45e4a2e370 Merge pull request #2404 from S1m0ne1997 2026-11-22 13:15:04 -05:00
c4bee344ef Merge pull request #2399 from AAyberkU 2026-11-22 13:14:44 -05:00
151c372ee1 Merge pull request #2395 from Matheus Gomes 2026-11-22 13:14:40 -05:00
0dd29b21c7 Merge pull request #2344 from Alex Arenas 2026-11-22 13:14:03 -05:00
fbd598c2d0 Merge pull request #2187 from Vonsek 2026-11-22 13:13:12 -05:00
407a53923e Merge pull request #2048 from whoalin1
# Conflicts:
#	docs/testing.md
2026-11-22 13:12:54 -05:00
51d954a2cd Merge pull request #436 from S1m0ne1997 2026-11-22 13:12:27 -05:00
90c4ea6701 test: GPU fixtures for sub-dword MUBUF loads and GFX10_FORMAT_8_UINT (TEST-510)
The docs/design.md "Sub-dword MUBUF loads and GFX10_FORMAT_8_UINT" row was
CPU-checked only. Two single-thread compute fixtures in run_gpu_tests.py's
dump list now run the translated loads through Vulkan:

cs_buf_load_sub: buffer_load_ubyte/sbyte/ushort/sshort zero- and
sign-extended, the dword-crossing ushort at offset 3, and the RAW end check
by element size (a ubyte at 8 and a ushort at 7 of 8 bytes read 0; a
start-only check would read 0xeefe from the 0xee filler).

cs_buf_fmt8: tbuffer_load_format_x format:[BUF_FMT_8_UINT] at offsets 0..3,
one byte past the end, an INVALID V# format (0), and buffer_load_format_xyzw
with V# format 8_UINT and DST_SEL (X, 0, 1, 1), whose w is integer 1.

Both pass on an RTX 3070 Ti (driver 610.88); the expected words follow the
CPU test's byte table and rules. The row now says so; AMD hardware is still
unmeasured.
2026-11-22 12:02:47 -06:00