shader-slang / slang

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

Missing `uint2` variant of `asdouble` #4437

Closed chaoticbob closed 1 day ago

chaoticbob commented 1 week ago

Slang supports the following asdouble intrinsic:

double asdouble(uint lowbits, uint highbits);

...but is missing the uint2 variant:

double2 asdouble(uint2 lowbits, uint2 highbits);

Reference: https://learn.microsoft.com/en-us/windows/win32/direct3dhlsl/asdouble