Devsh-Graphics-Programming / Nabla

Vulkan, OptiX and CUDA Interoperation Modular Rendering Library and Framework for PC/Linux/Android
http://devsh.eu
Apache License 2.0
444 stars 48 forks source link

Add concepts.hlsl to cpp_compat. #632

Closed theoreticalphysicsftw closed 5 months ago

theoreticalphysicsftw commented 6 months ago

Description

Add a basic concepts.hlsl header to work with C++20 concepts when the hlsl builtins are being included in C++20 mode.

Testing

MSVC++ compilation

TODO list:

More testing with code using it.