Implement the unpack_u8u32
HLSL Function
#99226
Labels
backend:DirectX
backend:SPIR-V
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
unpack_u8u32
clang builtin,unpack_u8u32
clang builtin withhlsl_intrinsics.h
unpack_u8u32
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
unpack_u8u32
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/unpack_u8u32.hlsl
clang/test/SemaHLSL/BuiltIns/unpack_u8u32-errors.hlsl
int_dx_unpack_u8u32
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_unpack_u8u32
to219
inDXIL.td
unpack_u8u32.ll
andunpack_u8u32_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_unpack_u8u32
intrinsic inIntrinsicsSPIRV.td
unpack_u8u32
lowering and map it toint_spv_unpack_u8u32
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/unpack_u8u32.ll
DirectX
SPIR-V
OpUConvert:
Description:
Convert unsigned width. This is either a truncate or a zero extend.
Result Type must be a scalar or vector of integer type,
whose Signedness operand is 0.
Unsigned Value must be a scalar or vector of integer
type. It must have the same number of components as Result
Type. The component width must not equal the component width in Result
Type.
Results are computed per component.
4
113
<id>
Result Type
Result <id>
<id>
Unsigned Value
Test Case(s)
Example 1
HLSL:
Syntax
uint<4> unpack_u8u32(p32u8 pk);
Type Description
Minimum Shader Model
This function is supported in the following shader models.
Shader Stages
See also
The text was updated successfully, but these errors were encountered: