Implement the WaveMultiPrefixProduct
HLSL Function
#99212
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.
WaveMultiPrefixProduct
clang builtin,WaveMultiPrefixProduct
clang builtin withhlsl_intrinsics.h
WaveMultiPrefixProduct
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
WaveMultiPrefixProduct
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/WaveMultiPrefixProduct.hlsl
clang/test/SemaHLSL/BuiltIns/WaveMultiPrefixProduct-errors.hlsl
int_dx_WaveMultiPrefixProduct
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_WaveMultiPrefixProduct
to166
inDXIL.td
WaveMultiPrefixProduct.ll
andWaveMultiPrefixProduct_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_WaveMultiPrefixProduct
intrinsic inIntrinsicsSPIRV.td
WaveMultiPrefixProduct
lowering and map it toint_spv_WaveMultiPrefixProduct
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/WaveMultiPrefixProduct.ll
DirectX
SPIR-V
OpGroupNonUniformFMul:
Description:
A floating point multiply group operation of all
Value operands contributed by active invocations in the
group.
Result Type must be a scalar or vector of floating-point
type.
Execution is a Scope that identifies the group of
invocations affected by this command. It must be Subgroup.
The identity I for Operation is 1. If Operation is
ClusteredReduce, ClusterSize must be present.
The type of Value must be the same as Result Type. The method used
to perform the group operation on the contributed Value(s) from active
invocations is implementation defined.
ClusterSize is the size of cluster to use. ClusterSize must be a
scalar of integer type, whose Signedness operand is 0.
ClusterSize must come from a constant
instruction. Behavior is undefined unless
ClusterSize is at least 1 and a power of 2. If ClusterSize is
greater than the size of the group, executing this instruction
results in undefined behavior.
Capability:
GroupNonUniformArithmetic, GroupNonUniformClustered,
GroupNonUniformPartitionedNV
Missing before version 1.3.
6 + variable
352
<id>
Result Type
Result <id>
Scope <id>
Execution
Group Operation
Operation
<id>
Value
Optional
<id>
ClusterSize
Test Case(s)
Example 1
Example 2
Example 3
HLSL:
Syntax
numeric<> WaveMultiPrefixProduct(numeric<> value, uint<4> mask);
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: