1================= 2HLSL IR Reference 3================= 4 5.. contents:: 6 :local: 7 8Introduction 9============ 10 11The goal of this document is to provide a reference for all the special purpose 12IR metadata and attributes used by the HLSL code generation path. 13 14IR Metadata 15=========== 16 17``hlsl.uavs`` 18------------- 19 20The ``hlsl.uavs`` metadata is a list of all the external global variables that 21represent UAV resources. 22 23Function Attributes 24=================== 25 26``hlsl.shader`` 27--------------- 28 29The ``hlsl.shader`` function attribute is a string attribute applied to entry 30functions. The value is the string representation of the shader stage (i.e. 31``compute``, ``pixel``, etc). 32