Skip to content

Latest commit

 

History

History
71 lines (44 loc) · 1.05 KB

waveallproduct.md

File metadata and controls

71 lines (44 loc) · 1.05 KB
title description ms.assetid keywords topic_type api_name api_type ms.topic ms.date api_location
WaveActiveProduct function
Multiplies the values of the expression together across all active lanes in the current wave and replicates it back to all active lanes.
B259244D-C993-4F4A-AF09-F077D99AD025
WaveActiveProduct function HLSL
apiref
WaveActiveProduct
NA
reference
05/31/2018

WaveActiveProduct function

Multiplies the values of the expression together across all active lanes in the current wave and replicates it back to all active lanes.

Syntax

<type> WaveActiveProduct(
   <type> expr
);

Parameters

expr

The expression to evaluate.

Return value

The product value.

Remarks

The order of operations is undefined.

This function is supported from shader model 6.0 in all shader stages.

 

See also

Overview of Shader Model 6

Shader Model 6