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