Skip to content

[SPIRV][HLSL] implement rsqrt lowering #88949

Closed
@farzonl

Description

@farzonl
rsqrt(a);

in spirv should emit

`%13 = OpExtInst %v4float %1 InverseSqrt %12` 

https://shader-playground.timjones.io/46053c341c6033c8b69a6984ec20d67a

should also update the hlsl intrinsic tests to capture that the inverse sqrt is emitted

Metadata

Metadata

Assignees

Labels

HLSLHLSL Language Supportbackend:DirectXclang:codegenIR generation bugs: mangling, exceptions, etc.

Type

No type

Projects

Status

Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions