Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 12 lines (8 sloc) 0.305 kB
5a53a43 Finish support for 64-bit types in stdlib. Fixes issue #14.
Matt Pharr authored
1
2 export uniform int width() { return programCount; }
3
4 export void f_f(uniform float RET[], uniform float aFOO[]) {
5 double a = programIndex;
0575b1f Update run_tests and examples makefile for scalar target.
Matt Pharr authored
6 RET[programIndex] = extract(a, min(programCount-1, 3));
5a53a43 Finish support for 64-bit types in stdlib. Fixes issue #14.
Matt Pharr authored
7 }
8
9 export void result(uniform float RET[]) {
0575b1f Update run_tests and examples makefile for scalar target.
Matt Pharr authored
10 RET[programIndex] = (programCount == 1) ? 0 : 3;
5a53a43 Finish support for 64-bit types in stdlib. Fixes issue #14.
Matt Pharr authored
11 }
Something went wrong with that request. Please try again.