Checkpoint user's guide edits

This commit is contained in:
Matt Pharr
2011-12-01 13:38:17 -08:00
parent f90aa172a6
commit 82aa6efd12
2 changed files with 605 additions and 446 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -34,9 +34,7 @@
export void simple(uniform float vin[], uniform float vout[],
uniform int count) {
// Compute the result for 'programCount' values in parallel
for (uniform int i = 0; i < count; i += programCount) {
int index = i + programIndex;
foreach (index = 0 ... count) {
// Load the appropriate input value for this program instance.
float v = vin[index];