Is your feature request related to a problem? Please describe.
For example, GLSL provides unpackUnorm4x8.
HLSL's closest equivalent is unpack_u8u32 but this doesn't return normalized result, and returns as uint4 not float4.
Can HLSL support all the same unpack intrinsics as GLSL?
For example, if we're using HLSL with Vulkan, is there a performance tradeoff using HLSL vs GLSL (if we want to use unpackUnorm4x8)? Or can we accomplish same thing (with same performance) via HLSL?
Describe the solution you'd like
Support all the GLSL unpack intrinsics via HLSL
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Is your feature request related to a problem? Please describe.
For example, GLSL provides unpackUnorm4x8.
HLSL's closest equivalent is unpack_u8u32 but this doesn't return normalized result, and returns as uint4 not float4.
Can HLSL support all the same unpack intrinsics as GLSL?
For example, if we're using HLSL with Vulkan, is there a performance tradeoff using HLSL vs GLSL (if we want to use unpackUnorm4x8)? Or can we accomplish same thing (with same performance) via HLSL?
Describe the solution you'd like
Support all the GLSL unpack intrinsics via HLSL
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.