On Fri Nov 25 06:51:18 2022 +0000, Conor McCarthy wrote:
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.
Could we add VKD3D_DATA_BOOL instead?