<?xml version="1.0" encoding='utf-8'?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="card1" title="DirectCompute - Page 5 - Wikipedia">
<p>
<a accesskey="1" href="page.php?w=DirectCompute&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=DirectCompute&amp;p=6">3.Next</a>
</p>
<p>on the GPU in waves.</p>

<p>This pipeline allows for workloads to be easily sent to the GPU without the need for restructuring all of a program's code.</p>

<p>A typical compute pipeline contains a read-only shader resource view as an input, constant buffer views for additional resource constants, and an unordered access view for an output. It is important to set the resource states of these resources in order to improve performance.</p>

<p><big> Example code </big></p>
<p>The initialization of the compute pipeline involves creating the root signature,</p><p>
<a accesskey="1" href="page.php?w=DirectCompute&amp;p=4">1.Previous</a><br />
<a accesskey="3" href="page.php?w=DirectCompute&amp;p=6">3.Next</a>
</p>

<do type="prev" label="Search">
        <go href="search.wml"/>
</do>

</card>
</wml>
