Implement the EvaluateAttributeAtSample
HLSL Function
#99109
Labels
backend:DirectX
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
EvaluateAttributeAtSample
clang builtin,EvaluateAttributeAtSample
clang builtin withhlsl_intrinsics.h
EvaluateAttributeAtSample
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
EvaluateAttributeAtSample
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/EvaluateAttributeAtSample.hlsl
clang/test/SemaHLSL/BuiltIns/EvaluateAttributeAtSample-errors.hlsl
int_dx_EvaluateAttributeAtSample
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_EvaluateAttributeAtSample
to88
inDXIL.td
EvaluateAttributeAtSample.ll
andEvaluateAttributeAtSample_errors.ll
tests inllvm/test/CodeGen/DirectX/
DirectX
SPIR-V
There is no support for
EvaluateAttributeAtSample
when targeting SPIR-V.Test Case(s)
Example 1
HLSL:
Evaluates at the indexed sample location.
Syntax
Parameters
value [in]
Type: attrib numeric
The input value.
sampleindex [in]
Type: uint
The sample location.
Remarks
Interpolation mode can be linear or linear_no_perspective on the variable. Use of centroid or sample is ignored. Attributes with constant interpolation are also allowed, in which case the sample index is ignored.
Minimum Shader Model
This function is supported in the following shader models.
This function is supported in the following types of shaders:
See also
Intrinsic Functions
Shader Model 5
The text was updated successfully, but these errors were encountered: