58 Commits

Author SHA1 Message Date
sal063 dcd41b7457 Removed Extra Md file 2026-04-18 16:23:11 +03:00
sal063 04f5fcced6 deleted unneded .md 2026-04-18 16:22:59 +03:00
salh 8d2963c556 docs: clarify reconfigure step after codegen 2026-04-18 09:16:56 +03:00
salh 06d1f57851 Fix undefined reference to FLAGS_vfetch_index_rounding_bias on Linux 2026-04-18 00:12:09 +03:00
salh 45c46ad4fa Enhance GapFill engine with iterative block discovery routing perfectly wrapping unanalyzed boundaries to salvage cross-data orphaned jumping segments 2026-04-17 23:55:57 +03:00
salh 28fb52434a Fix syntax error with UnresolvedJump isConditional property name 2026-04-17 23:49:07 +03:00
salh 1266b0edd0 Fix phase_gapfill discarding valid stranded segments that partially overlapped known functions 2026-04-17 23:43:45 +03:00
salh 3653c167ea Fix validation unresolved calls by resolving gap-fill overlapping intervals in getFunctionContaining 2026-04-17 23:39:18 +03:00
salh a6d3e9b4b7 Fix pipeline generation for POINT and RECTANGLE primitive lists, and resolve audio CVar linkage errors 2026-04-17 23:33:48 +03:00
salh 4f5b43d66b Fix 64-bit portability warning in XObject::GetNativeObject 2026-04-17 23:21:16 +03:00
salh fa136d2920 Revert "fix(gpu): allow VS-expanded primitives in D3D12 pipeline cache"
This reverts commit e41480ebb7.
2026-04-17 23:17:53 +03:00
salh e41480ebb7 fix(gpu): allow VS-expanded primitives in D3D12 pipeline cache
TranslateAnalyzedShader and CreateD3D12Pipeline assumed host vertex type was only kVertex for non-tessellation paths. Point/rectangle list expansion uses kPointListAsTriangleStrip and kRectangleListAsTriangleStrip while still emitting a vertex shader — accept those types for logging and PSO creation.

Made-with: Cursor
2026-04-17 23:00:09 +03:00
salh c604a16310 fix(gpu): handle VS-expanded point/rectangle lists in DXBC translator
StartVertexOrDomainShader only handled kVertex and tessellation domain types; kPointListAsTriangleStrip and kRectangleListAsTriangleStrip fell through to assert_unhandled_case after enabling D3D12 point expansion by default. Route them through the same vertex index setup as kVertex.

Made-with: Cursor
2026-04-17 22:56:51 +03:00
salh 62717248d4 fix(gpu): default point-list expansion in VS for particles/trails
D3D12 previously assumed native point-list + geometry-shader expansion; that path can drop or rasterize points incorrectly (invisible missile trails). Default to the shared triangle-strip VS expansion path with an init-time CVar override.

Vulkan: default vulkan_force_expand_point_sprites_in_vs to true for the same behavior on non-D3D12 hosts.
Made-with: Cursor
2026-04-17 22:55:03 +03:00
salh 38036d9154 feat: expose D3D capture topology and per-frame draw stats in overlay
Add guest primitive-type histograms and per-frame DrawStatsSnapshot to frame capture summary so AC6 debugging can correlate point-list draws (trails) and sampler churn with native graphics planning without extra tooling.

Made-with: Cursor
2026-04-17 22:47:31 +03:00
salh 22900753d7 fix: keep Windows audio backend WASAPI-only
Remove the Windows runtime path that referenced the SDL driver so Windows builds do not require SDL symbols while Linux continues to use the SDL backend.

Made-with: Cursor
2026-04-17 22:44:16 +03:00
salh a96d70d51a feat: add SDL audio backend for Linux runtime
Add a native SDL3 audio driver for non-Windows hosts and gate WASAPI to Windows-only builds, so Linux builds no longer depend on Windows headers while keeping runtime telemetry and queue behavior intact.

Made-with: Cursor
2026-04-17 22:39:55 +03:00
salh 0b14603b56 fix: track vendored FFmpeg config.h
Unignore and commit FFmpeg config.h so fresh clones have the expected vendored header.

Made-with: Cursor
2026-04-17 22:24:14 +03:00
salh 8b635bfb89 fix: track vendored FFmpeg x86 sources in rexglue
Unignore and commit FFmpeg libavutil/libavcodec x86 source trees so source-only clones include required files.

Made-with: Cursor
2026-04-17 22:11:43 +03:00
salh a244fd8634 fix: tolerate missing optional FFmpeg x86 sources
Skip arch-optimized FFmpeg sources when vendored checkout is incomplete instead of failing configure.

Made-with: Cursor
2026-04-17 22:01:44 +03:00
salh 3c161f8ff4 fix: allow vendored rexglue thirdparty deps without submodules
Stop requiring a .git folder for vendored dependencies so source-only clones and monorepo mirrors can configure on Linux/CI.

Made-with: Cursor
2026-04-17 21:54:07 +03:00
salh 5bdc93d055 feat: wire AC6 native graphics runtime and bootstrap configure path
Run the native renderer every frame from AC6 present timing hooks with a visible runtime status overlay so migration progress is observable in-game. Also add a tracked CMake bootstrap include and migration mapping docs so fresh clones can configure before generated glue exists.

Made-with: Cursor
2026-04-17 21:48:36 +03:00
sal063 2dbd1fbbfc Delete .vscode directory 2026-04-17 20:41:01 +03:00
sal063 dba11ff0af Delete tools/native_graphics_migration directory 2026-04-17 20:40:54 +03:00
sal063 1f8ef9e9f5 Delete docs/native_graphics_migration directory 2026-04-17 20:40:42 +03:00
salh 2e099f544e chore: remove previously tracked scratch/backup files from index
Remove backup/, build logs, .bak files, and other workspace artifacts
that should have been gitignored from the start. Working tree is now
clean for rebase.
2026-04-17 20:39:32 +03:00
salh 5299511a5b chore: remove stale OLD_XENON_BUILD gitlink entries from index 2026-04-17 20:37:47 +03:00
salh aa40992ec2 chore: resolve merge conflicts, clean up workspace, update README
- Resolve merge conflicts in CMakeLists.txt, .gitignore, and all src/ files,
  keeping the HEAD (native renderer) versions throughout
- Remove stale SDK alternate-tree ref (rexglue-sdk~6e0ca2f) from index
- Drop scratch files: 'New Text Document.txt', *.bak
- Rewrite README with full setup instructions, prereqs table, build
  preset table, run command, project layout overview, and Linux section
2026-04-17 20:35:41 +03:00
salh ddf7c28587 Initial barebones version 2026-04-17 20:09:41 +03:00
sal063 6e0ca2f91f Update README.md 2026-04-14 12:41:13 +03:00
sal063 7e810810e2 Update README.md 2026-04-14 12:40:48 +03:00
salh 77f5da905a Initial source-only import 2026-04-14 12:37:39 +03:00
salh 44d4865b5a update rexglue-sdk submodule to remove sleep hack 2026-04-04 11:56:27 +03:00
salh 5995618d3c exp: prevent crash after IssueSwap by pausing GPU thread 2026-04-02 03:26:30 +03:00
salh 552fb08e70 exp: update rexglue-sdk submodule: checkpoints 4-8 + scratch_buffer_used_ guard 2026-04-01 08:48:45 +03:00
salh 4aa97588cf exp: fix VdSwap assert_true crashes (Bug #1) - defensive logging in submodule 2026-03-31 20:03:41 +03:00
Your Name 83a785d5c6 chore(deps): update rexglue-sdk to v0.7.2 + local fixes 2026-03-28 17:06:46 -05:00
Your Name cbddb7b6c1 chore: update rexglue-sdk submodule (indirect_calls bctr fix) 2026-03-23 07:40:17 -05:00
Your Name 4a844aa2f9 Update rexglue-sdk to ac6recomp-local-fixes-v2 (upstream v0.7.1 + graphics fix + icon extraction) 2026-03-22 12:24:54 -05:00
Your Name 2f2f59a388 chore: update rexglue-sdk to v0.4.0 (rebased local patches) 2026-03-18 02:49:40 -05:00
Your Name e6ae507f7e chore: ignore local git worktrees 2026-03-14 22:40:09 -05:00
Your Name 00977c8af9 chore: update rexglue-sdk submodule to upstream v0.3.2 + AC6 fixes
Rebased ac6recomp-local-fixes onto rexglue/rexglue-sdk@v0.3.2 (upstream/main),
incorporating 40 new upstream commits including PPC ISA additions (lvebx/lvehx/
lvewx, mfctr/mfxer, rldic/rldcl/rldcr, blrl, bdnzlr, etc.), numeric precision
fixes, and FidelityFX/graphics backend improvements.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-11 19:14:13 -05:00
Your Name 2b6f4a6c34 Revert "feat(d3d): add per-frame draw call capture with full binding snapshots"
This reverts commit 9c2e56b9c9.
2026-03-11 11:07:23 -05:00
Your Name 9c2e56b9c9 feat(d3d): add per-frame draw call capture with full binding snapshots 2026-03-11 10:20:16 -05:00
Your Name 6f48114625 Added more D3D Device hooks, more function shit{ 2026-03-11 09:47:46 -05:00
Your Name 551209701c another missing func 2026-03-10 19:16:32 -05:00
Your Name ca9bdff989 another missing function 2026-03-10 14:00:32 -05:00
Your Name db9cf04922 ac6_unlock_fps and vsync are set true and false respectively by default. 2026-03-10 13:13:09 -05:00
Your Name f30af37279 Add D3D state shadowing, 60fps unlock, and render hooks 2026-03-10 13:02:16 -05:00
Your Name f87cc7dde7 Add more rexcrt entries, add guest framerate counter 2026-03-09 09:57:33 -05:00