Implement the GetRenderTargetSampleCount
HLSL Function
#99102
Labels
backend:DirectX
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
GetRenderTargetSampleCount
clang builtin,GetRenderTargetSampleCount
clang builtin withhlsl_intrinsics.h
GetRenderTargetSampleCount
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
GetRenderTargetSampleCount
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/GetRenderTargetSampleCount.hlsl
clang/test/SemaHLSL/BuiltIns/GetRenderTargetSampleCount-errors.hlsl
int_dx_GetRenderTargetSampleCount
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_GetRenderTargetSampleCount
to77
inDXIL.td
GetRenderTargetSampleCount.ll
andGetRenderTargetSampleCount_errors.ll
tests inllvm/test/CodeGen/DirectX/
DirectX
SPIR-V
There is no support for
GetRenderTargetSampleCount
when targeting SPIR-V.Test Case(s)
Example 1
HLSL:
Gets the number of samples for a render target.
Parameters
Return Value
The number of samples.
Remarks
Use this function and GetRenderTargetSamplePosition to find out the number and position of the sampling locations for a render target.
Minimum Shader Model
This function is supported in the following shader models.
See also
Intrinsic Functions (DirectX HLSL)
The text was updated successfully, but these errors were encountered: