Nov. 25, 2022
5:51 a.m.
Another complication: the result of DXIL comparison ops is a 1-bit integer, but TPF requires an integer 0 or 0xffffffff. The SPIR-V backend emits this conversion and it will break any subsequent DXIL instructions which assume a 1-bit int result. Maybe the simplest workaround is omit the bool -> 0/~0 conversion for SM 6 and store a bool result. It will likely result in mods to instructions which have bool inputs though. -- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/37#note_17412