Vector Interpolation Instructions
6 AMDGPU instructions in this category - click any row for encoding, pseudocode, and full documentation.
| Mnemonic | Syntax | Format | Summary |
|---|---|---|---|
| v_interp_p10_f16_f32 | v_interp_p10_f16_f32 | VINTERP | Given a half-precision float P10 parameter of an attribute, a single-precision float I coordinate and a half-precision float P0 parameter as inputs, compute the first part of parameter interpolation and store the intermediate result in single-precision float format into a vector register. |
| v_interp_p10_f32 | v_interp_p10_f32 | VINTERP | Given the P10 parameter of an attribute, the I coordinate and the P0 parameter as single-precision float inputs, compute the first part of parameter interpolation and store the intermediate result into a vector register. Use V_INTERP_P2_F32 to complete the operation. |
| v_interp_p10_rtz_f16_f32 | v_interp_p10_rtz_f16_f32 | VINTERP | Given a half-precision float P10 parameter of an attribute, a single-precision float I coordinate and a half-precision float P0 parameter as inputs, compute the first part of parameter interpolation using round toward zero semantics… |
| v_interp_p2_f16_f32 | v_interp_p2_f16_f32 | VINTERP | Given a half-precision float P20 parameter of an attribute, a single-precision float J coordinate and the result of a prior V_INTERP_P10_F16_F32 instruction as inputs, compute the second part of parameter interpolation and store the final result into a vector register. |
| v_interp_p2_f32 | v_interp_p2_f32 | VINTERP | Given the J coordinate in a vector register, an attribute specifier and the result of a prior V_INTERP_P1_F32 in the destination vector register, load parameter data from the local data share, compute the second part of parameter interpolation and store the final result into a vector register. |
| v_interp_p2_rtz_f16_f32 | v_interp_p2_rtz_f16_f32 | VINTERP | Given a half-precision float P20 parameter of an attribute, a single-precision float J coordinate and the result of a prior V_INTERP_P10_RTZ_F16_F32 instruction as inputs, compute the second part of parameter interpolation using round toward zero semantics… |