crud89 / LiteFX

Modern, flexible computer graphics and rendering engine, written in C++23 with support for Vulkan 🌋 and DirectX 12 ❎.
https://litefx.crudolph.io/
MIT License
84 stars 7 forks source link

Add support for x86 builds with Clang. #139

Open crud89 opened 2 months ago

crud89 commented 2 months ago

Describe your problem

PR #138 introduced support for Clang builds, however they do currently only work when targeting x64 architectures, as x86 builds produce codegen errors. If support for std::generator (see #119) is improved, many of them should go away. Furthermore, occasions where types are wrongly deduced are mostly caused by implicit conversions to size_t. To fix this, we should use the uz literal, after it becomes available. Until the above changes can be implemented and thus allow for a re-evaluation of this issue, x86 clang support remains blocked.