Implement the unpack_s8s32
HLSL Function
#99224
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_s8s32
clang builtin,unpack_s8s32
clang builtin withhlsl_intrinsics.h
unpack_s8s32
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
unpack_s8s32
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/unpack_s8s32.hlsl
clang/test/SemaHLSL/BuiltIns/unpack_s8s32-errors.hlsl
int_dx_unpack_s8s32
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_unpack_s8s32
to219
inDXIL.td
unpack_s8s32.ll
andunpack_s8s32_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_unpack_s8s32
intrinsic inIntrinsicsSPIRV.td
unpack_s8s32
lowering and map it toint_spv_unpack_s8s32
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/unpack_s8s32.ll
DirectX
SPIR-V
OpSConvert:
Description:
Convert signed width. This is either a truncate or a sign extend.
Result Type must be a scalar or vector of integer
type.
Signed 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
114
<id>
Result Type
Result <id>
<id>
Signed Value
Test Case(s)
Example 1
HLSL:
Syntax
int<4> unpack_s8s32(p32i8 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: