blob: c0033946a6ec8c372527718d708cb000202fd57b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
=================
HLSL IR Reference
=================
.. contents::
:local:
Introduction
============
The goal of this document is to provide a reference for all the special purpose
IR metadata and attributes used by the HLSL code generation path.
Function Attributes
===================
``hlsl.shader``
---------------
The ``hlsl.shader`` function attribute is a string attribute applied to entry
functions. The value is the string representation of the shader stage (i.e.
``compute``, ``pixel``, etc).
|