Commit Graph
20 Commits
Author SHA1 Message Date
nikmparis217-uxandnikmparis217-ux fb6367d290 shader_recompiler: Put 32-bit literals in the high dword of 64-bit floats (#5114)
Co-authored-by: nikmparis217-ux <295578344+nikmparis217-ux@users.noreply.github.com>
2026-09-28 14:46:53 -07:00
xop 282e5c792b shader_recompiler: Set SCC carry-out on S_ADDC_U32 (#5030) 2026-09-27 14:46:31 -07:00
xop e518a65157 shader_recompiler: Fix S_SUBB_U32 SCC wrap (#5031) 2026-09-27 08:05:52 -07:00
Valdis Bogdāns 2335629296 shader_recompiler: Support P10/P20 V_INTERP_MOV_F32 selectors (#5087)
* shader_recompiler: Support P10/P20 V_INTERP_MOV_F32 selectors

* shader_recompiler: Correct V_INTERP_MOV P10/P20 handling

Reconstruct P10 and P20 unless both flat_shade and OFFSET5 enable passthrough mode.

Suggested-by: raphaelthegreat

* shader_recompiler: Add PsInput passthrough helper

Move the flat_shade and OFFSET5 check into PsInput::IsPassthrough().

Suggested-by: raphaelthegreat
2026-09-25 19:23:22 +03:00
313fb953da shader_recompiler: Write VCC on V_SUBB_U32 / V_SUBBREV_U32 (#5032)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2026-09-24 16:22:27 +03:00
ba15ec90cb shader_recompiler: Set SCC overflow on S_ADDK_I32 (#5033)
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2026-09-24 16:17:49 +03:00
xopandCursor 98bc32052c shader_recompiler: Test S_BITCMP_B64 against the full 64-bit src (#5034)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-24 16:13:39 +03:00
Valdis BogdānsandTheTurtle a48d16dcc2 shader_recompiler: Add pull-model barycentric support (#5084)
* shader_recompiler: Add pull-model barycentric support

* shader_recompiler: fix pull-model barycentric component indexing

---------

Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2026-09-24 14:23:02 +03:00
826842e8b6 video_core: respect SPI_BARYC_CNTL front-face encoding (#4862)
* video_core: respect SPI_BARYC_CNTL front-face encoding

- Read FRONT_FACE_ALL_BITS from SPI_BARYC_CNTL
- Emit +1.0/-1.0 when sign encoding is selected
- Emit integer 1/0 when all-bits encoding is selected
- Carry the register state through FragmentRuntimeInfo
- Add a boolean IR attribute path for FrontFacing
- Include the mode in shader specialization and cache metadata
- Add regression tests covering both AMD-defined encodings

Fixes according Roamic, Raphael, and IndecisiveTurtle recommendations.

* shader_recompiler: Remove unused IsFrontFace attribute and enhance front face handling in translation, rebase

* shader_recompiler: Fix front-face test compilation

- Use the current hw.fs runtime-info layout for front-face encoding.
- Update the regression helper to the HwStage and SwStage APIs.
- Address test compilation feedback from @raphaelthegreat

---------

Co-authored-by: w1naenator <valdis.bogdans@hotmail.com>
Co-authored-by: TheTurtle <47210458+raphaelthegreat@users.noreply.github.com>
2026-09-24 00:46:07 +03:00
MathieuARS 06d4872c55 shader_recompiler: propagate V_ADD_I32 carry-out (#4736) 2026-07-21 16:20:23 +03:00
Al Jibran 3aef2190ca Fix flaky GCN tests (#4693)
fix: flaky tests due to uninitialized values
fix: segfault during teardown while running gcn tests

fix: vulkan validation error by enabling shaderFloat16 in GCN runner
2026-07-13 09:18:35 +03:00
Marcin Mikołajczyk 34b35b526e Neo: Float16 packed math (#4354) 2026-05-04 15:21:20 -07:00
Marcin Mikołajczyk 26eaa3e3af Neo: 16bit shift instructions (#4351) 2026-05-04 10:13:42 -07:00
Marcin Mikołajczyk a3e25efad5 Neo: V_MAD_MIX opcodes (#4338) 2026-04-30 16:56:27 -07:00
Marcin Mikołajczyk 76729835d7 Neo: bit and alu instructions (#4332) 2026-04-28 14:54:15 -07:00
Marcin Mikołajczyk d47b0524ce V_ADD3_U32 and V_OR3_B32 (#4326) 2026-04-27 13:35:37 -07:00
Marcin MikołajczykandMatías Buzzo fba374442c file_sys: apply case-insensitive search to mods_path on GNU/Linux and macOS (#4312) (#4310)
The case-insensitive fallback search() in GetHostPath is only
invoked for patch_path and host_path, so mods whose file or folder
capitalization does not exactly match the guest path are silently
bypassed even when the files are present. Mirror the existing
search(patch_path) pass for mods_path, placed first to preserve
mod > patch > base precedence.

Co-authored-by: Matías Buzzo <matias@mbuzzo.com>
2026-04-27 18:07:05 +03:00
Marcin Mikołajczyk 99f2480e21 Neo: V_*_F16 arithmetic ops (#4311) 2026-04-25 12:51:02 +02:00
Marcin Mikołajczyk 012b4a6ef5 Define GCN instructions in tests (#4289) 2026-04-20 08:48:02 +03:00
Marcin Mikołajczyk 963d10f220 Test framework for GCN pipeline (#4272)
* Test framework for GCN pipeline

* Try fixing test compilation on CI
2026-04-19 22:15:08 +03:00