DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

[SPIR-V] select intrinsic function unimplemented

Open dBagrat opened this issue 4 years ago • 2 comments

As mentioned here short circuiting prevents usage of logical operators with non-scalar type values. The alternative is to use new and, or and select intrinsics. However using select produces "select intrinsic function unimplemented" error, thus there is no way to actually get the old behavior to work.

dBagrat avatar Dec 15 '21 02:12 dBagrat

Thank you for reporting this issue, @dBagrat. Yeah, SPIR-V code gen's support of HLSL 2021 is incomplete. We will add the support soon.

jaebaek avatar Dec 15 '21 19:12 jaebaek

Thank you for reporting this issue, @dBagrat. Yeah, SPIR-V code gen's support of HLSL 2021 is incomplete. We will add the support soon.

Hi, just wondering if there are any updates on this?

dBagrat avatar Mar 08 '22 22:03 dBagrat