shader-slang / slang

Making it easier to work with shaders
MIT License
1.78k stars 159 forks source link

Implement `uint2` variant of `asdouble` intrinsic #4488

Closed venkataram-nv closed 5 days ago

venkataram-nv commented 6 days ago

Fixes #4437

Adds a new asdouble2 intrinsic for all platforms except Metal.

Extends the test for asdouble to test asdouble2 as well.

jkwak-work commented 6 days ago

Falcore image test was failing. I re-triggered the test.

Two other tests are also failing and they seem ligit.

tests/hlsl-intrinsic/bit-cast-double.slang.1 (dx11)
tests/hlsl-intrinsic/bit-cast-double.slang.2 (dx12)