Graphics Reference
In-Depth Information
Figure 9.16. Compute shader parameters for a tile.
[numthreads(16, 16., 1)]
void csMain
(
uint3 Gid : SV_GroupID
, uint3 DTid : SV_DispatchThreadID
, uint3 GTid : SV_GroupThreadID
, uint GI : SV_GroupIndex
)
{
/* Shader Code Here */
}
Listing 9.10. Compute shader entry point.
Search WWH ::




Custom Search