13 Dec
2023
13 Dec
'23
1:26 a.m.
How about we add an assert-like helper function which does nothing if not specifically enabled in the build. It can emit the source name and line number similar to `vkd3d_unreachable()`. We can use it internally on tests and shader collections. I've been adding asserts to document intended constraints and verify they hold broadly, but I think release builds shouldn't do that. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/450#note_55867