Implement the unpack_s8s16
HLSL Function
#99222
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_s8s16
clang builtin,unpack_s8s16
clang builtin withhlsl_intrinsics.h
unpack_s8s16
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
unpack_s8s16
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/unpack_s8s16.hlsl
clang/test/SemaHLSL/BuiltIns/unpack_s8s16-errors.hlsl
int_dx_unpack_s8s16
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_unpack_s8s16
to219
inDXIL.td
unpack_s8s16.ll
andunpack_s8s16_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_unpack_s8s16
intrinsic inIntrinsicsSPIRV.td
unpack_s8s16
lowering and map it toint_spv_unpack_s8s16
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/unpack_s8s16.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
int16_t<4> unpack_s8s16(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: