Implement the radians
HLSL Function
#99151
Labels
backend:SPIR-V
bot:HLSL
HLSL
HLSL Language Support
metabug
Issue to collect references to a group of similar or related issues.
radians
clang builtin,radians
clang builtin withhlsl_intrinsics.h
radians
toCheckHLSLBuiltinFunctionCall
inSemaChecking.cpp
radians
toEmitHLSLBuiltinExpr
inCGBuiltin.cpp
clang/test/CodeGenHLSL/builtins/radians.hlsl
clang/test/SemaHLSL/BuiltIns/radians-errors.hlsl
int_spv_radians
intrinsic inIntrinsicsSPIRV.td
radians
lowering and map it toint_spv_radians
inSPIRVInstructionSelector::selectIntrinsic
.llvm/test/CodeGen/SPIRV/hlsl-intrinsics/radians.ll
DirectX
There were no DXIL opcodes found for
radians
.SPIR-V
Radians:
Description:
Radians
Converts degrees to radians, i.e., degrees * π / 180.
The operand degrees must be a scalar or vector whose component type is
16-bit or 32-bit floating-point.
Result Type and the type of degrees must be the same type. Results
are computed per component.
11
<id>
degrees
Test Case(s)
Example 1
HLSL:
Converts the specified value from degrees to radians.
Parameters
Return Value
The x parameter converted from degrees to radians.
Type Description
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: