slang icon indicating copy to clipboard operation
slang copied to clipboard

`all` intrinsic fails codegen on cuda and spirv

Open expipiplus1 opened this issue 1 year ago • 1 comments

blocking https://github.com/shader-slang/slang/pull/4529

expipiplus1 avatar Jul 02 '24 23:07 expipiplus1

  • fails on cuda because we emit the non-existent bool4 type
  • fails on glsl when used with bool1 because we generate the poorly typed call to all with a bool argument instead of bool1, and the glsl snippet fails to extract the length

expipiplus1 avatar Jul 03 '24 12:07 expipiplus1

Related to https://github.com/shader-slang/slang/issues/4386

expipiplus1 avatar Jul 09 '24 23:07 expipiplus1

Fixed for glsl by https://github.com/shader-slang/slang/commit/40a4022670c9b6a53c31ba4841eaf744d6402bf2 and cuda by 639576cbe9d9cf604c554fda8dda48485201704f

expipiplus1 avatar Aug 19 '24 11:08 expipiplus1