-
Notifications
You must be signed in to change notification settings - Fork 15k
Closed
Labels
HLSLHLSL Language SupportHLSL Language SupportSPIR-VSPIR-V language supportSPIR-V language supportbackend:SPIR-Vclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Description
- Create a frac intrinsic for spirv use the hlsl intrinsic switching to swap on target.
update the frac.hlsl unit tests:
// RUN: dxil-pc-shadermodel6.3-library %s -fnative-half-type \ |
example:
https://shader-playground.timjones.io/020254826814c6bfb01e671c08c15db4
and implement the OpExtInst Fract
Lowering:
%13 = OpExtInst %v4float %1 Fract %12
https://registry.khronos.org/SPIR-V/specs/1.0/GLSL.std.450.html#Fract
Metadata
Metadata
Assignees
Labels
HLSLHLSL Language SupportHLSL Language SupportSPIR-VSPIR-V language supportSPIR-V language supportbackend:SPIR-Vclang:codegenIR generation bugs: mangling, exceptions, etc.IR generation bugs: mangling, exceptions, etc.
Type
Projects
Status
Closed