12.02.2016 Views

Efficient Rendering with DirectX 12 on Intel Graphics

Efficient-Rendering-with-DirectX-12-on-Intel-Graphics

Efficient-Rendering-with-DirectX-12-on-Intel-Graphics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Binding Example<br />

Root Signature<br />

0 Descriptor Table<br />

1 Descriptor Table<br />

2 Shader Resource View<br />

t1 b1 t4 t5<br />

u0 b2<br />

t0 SRV<br />

Descriptor Heap<br />

UAV<br />

CBV<br />

3 uint4 C<strong>on</strong>stant<br />

b0 {1, 3, 3, 7}<br />

cmdList->Set<strong>Graphics</strong>RootDescriptorTable(0, [srvGPUHandle]);<br />

cmdList->Set<strong>Graphics</strong>RootDescriptorTable(1, [uavGPUHandle]);<br />

cmdList->Set<strong>Graphics</strong>RootC<strong>on</strong>stantBufferView(2, [srvCPUHandle]);<br />

cmdList->Set<strong>Graphics</strong>Root32BitC<strong>on</strong>stants(3, {1,3,3,7}, 0, 4);<br />

SRV<br />

CBV<br />

SRV<br />

SRV<br />

Copyright © 2015, <strong>Intel</strong> Corporati<strong>on</strong>. All rights reserv ed. *Other names and brands may be claimed as the property of others.<br />

48

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!