SPIR-V Built-In
BaryCoordPullModelAMD
Inverse barycentric coordinates of a fragment center
BaryCoordPullModelAMD
The BaryCoordPullModelAMD decoration can be used to decorate a
fragment shader input variable.
This variable will contain (1/W, 1/I, 1/J) evaluated at the fragment center
and can be used to calculate gradients and then interpolate I, J, and W at
any desired sample location.
Valid Usage
VUID-BaryCoordPullModelAMD-BaryCoordPullModelAMD-04169
The BaryCoordPullModelAMD decoration must be used only within the
Fragment Execution Model
VUID-BaryCoordPullModelAMD-BaryCoordPullModelAMD-04170
The variable decorated with BaryCoordPullModelAMD must be declared
using the Input Storage Class
VUID-BaryCoordPullModelAMD-BaryCoordPullModelAMD-04171
The variable decorated with BaryCoordPullModelAMD must be declared
as a three-component vector of 32-bit floating-point values