Implement the CheckAccessFullyMapped
HLSL Function
#99204
Labels
backend:DirectX
backend:SPIR-V
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
CheckAccessFullyMapped
clang builtin,CheckAccessFullyMapped
clang builtin withhlsl_intrinsics.h
CheckAccessFullyMapped
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
CheckAccessFullyMapped
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/CheckAccessFullyMapped.hlsl
clang/test/SemaHLSL/BuiltIns/CheckAccessFullyMapped-errors.hlsl
int_dx_CheckAccessFullyMapped
intrinsic inIntrinsicsDirectX.td
DXILOpMapping
ofint_dx_CheckAccessFullyMapped
to71
inDXIL.td
CheckAccessFullyMapped.ll
andCheckAccessFullyMapped_errors.ll
tests inllvm/test/CodeGen/DirectX/
int_spv_CheckAccessFullyMapped
intrinsic inIntrinsicsSPIRV.td
CheckAccessFullyMapped
lowering and map it toint_spv_CheckAccessFullyMapped
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/CheckAccessFullyMapped.ll
DirectX
SPIR-V
OpImageSparseTexelsResident:
Description:
Translates a Resident Code into a Boolean. Result is false if any
of the texels were in uncommitted texture memory, and true
otherwise.
Result Type must be a Boolean type scalar.
Resident Code is a value from an OpImageSparse… instruction that
results in a resident code.
Capability:
SparseResidency
4
316
<id>
Result Type
Result <id>
<id>
Resident Code
Test Case(s)
Example 1
HLSL:
Determines whether all values from a Sample, Gather, or Load operation accessed mapped tiles in a tiled resource.
Syntax
Parameters
status [in]
Type: uint_only
The status value that is returned from a Sample, Gather, or Load operation. Because you can't access this status value directly, you need to pass it to CheckAccessFullyMapped.
Return value
Type: bool
Returns a Boolean value that indicates whether all values from a Sample, Gather, or Load operation accessed mapped tiles in a tiled resource. Returns TRUE if all values from the operation accessed mapped tiles; otherwise, returns FALSE if any values were taken from an unmapped tile.
Remarks
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
The text was updated successfully, but these errors were encountered: