1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
3  <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5    <meta http-equiv="Content-Style-Type" content="text/css" />
6    <link rel="stylesheet" href="../css/manpage.css" type="text/css" />
7    <title>Define Instructions</title>
8  </head>
9  <body>
10    <h1>Define Instructions</h1>
11    <h2>Description</h2>
12    <div class="section">
13      <p>
14        A <CODE>define</CODE> instruction sets a constant register value.<br> <br>The value does not change while the shader is running. Regardless of where it is declared in shader assembly code, it is valid for linked objects in their entirety.<br> You cannot set multiple values for the same register within the same set of linked objects. In addition, you cannot use define instructions on registers already specified by <CODE>#pragma bind_symbol</CODE> in the set of linked objects.<br>
15      </p>
16    </div>
17
18    <a name="function" id="function">
19      <h2>List of Instructions</h2>
20      <div class="section">
21        <table class="members">
22          <tr>
23            <th>
24              <a href="def.html"><CODE>def</CODE></a>
25            </th>
26            <th>Define floating point constants</th>
27            <td>Sets the value of a floating-point constant register.</td>
28          </tr>
29          <tr>
30            <th>
31              <a href="defb.html"><CODE>defb</CODE></a>
32            </th>
33            <th>Define boolean constants</th>
34            <td>Sets the value of a Boolean register.</td>
35          </tr>
36          <tr>
37            <th>
38              <a href="defi.html"><CODE>defi</CODE></a>
39            </th>
40            <th>Define integer constants</th>
41            <td>Sets the values of integer registers.</td>
42          </tr>
43
44        </table>
45      </div>
46    </a>
47
48
49  <h2>Revision History</h2>
50  <div class="section">
51    <dl class="history">
52      <dt>2011/12/20</dt>
53      <dd>Initial version.<br />
54      </dd>
55    </dl>
56  </div>
57
58  <hr><p>CONFIDENTIAL</p></body>
59</html>
60