shadPS4/src/shader_recompiler/frontend/translate
oltolm 442a07a707
Fix compilation with mingw-w64 (#4365)
* cmake: apply sirit unused-command-line-argument flag only with Clang

* shader_recompiler: move Opcode magic_enum range customization to opcodes.h

Define the magic_enum range for Shader::Gcn::Opcode as a proper enum_range specialization in opcodes.h instead of relying on translation-unit macros in translate.cpp.

This makes the customization visible where the enum is used and avoids the GCC linkage/build issue.

* thread: use Windows thread naming path for MinGW-w64

Switch the thread naming guard from _MSC_VER to _WIN32 so MinGW-w64 builds use the Windows SetThreadDescription implementation instead of falling through the POSIX branch.

This matches the platform rather than the compiler and avoids the MinGW-w64 build issue.
2026-05-08 22:36:55 -07:00
..
data_share.cpp shader_recompiler: Support 32 thread sharing mode (#4110) 2026-03-09 17:33:58 +02:00
export.cpp amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
scalar_alu.cpp frontend: Add helper methods for thread bit getters and setters (#4243) 2026-04-09 23:32:21 +03:00
scalar_flow.cpp shader_recompiler: Rework sharp tracking for robustness (#3327) 2025-07-28 13:32:16 -07:00
scalar_memory.cpp shader_recompiler: Minor improvements to buffer atomics (#4242) 2026-04-09 23:31:33 +03:00
translate.cpp Fix compilation with mingw-w64 (#4365) 2026-05-08 22:36:55 -07:00
translate.h Neo: Float16 packed math (#4354) 2026-05-04 15:21:20 -07:00
vector_alu.cpp Neo: Float16 packed math (#4354) 2026-05-04 15:21:20 -07:00
vector_interpolation.cpp amdgpu: Split liverpool registers and cleanup (#3707) 2025-10-05 13:42:40 -07:00
vector_memory.cpp shader_recompiler: Minor improvements to buffer atomics (#4242) 2026-04-09 23:31:33 +03:00