brintos

brintos / llvm-project-archived public Read only

0
0
Text · 513 B · c003394 Raw
23 lines · plain
1=================2HLSL IR Reference3=================4 5.. contents::6   :local:7 8Introduction9============10 11The goal of this document is to provide a reference for all the special purpose12IR metadata and attributes used by the HLSL code generation path.13 14Function Attributes15===================16 17``hlsl.shader``18---------------19 20The ``hlsl.shader`` function attribute is a string attribute applied to entry21functions. The value is the string representation of the shader stage (i.e.22``compute``, ``pixel``, etc).23