[vertex program] !!VP1.0 MOV R1, c[0]; # Comment out this line and it works MOV R2, c[2]; MOV R1, c[1]; MAD R0, R2, R1.x, R1.y; # Assume that the instruction generates a set of values on the range # [0,1] that can be directly written as colors. MOV o[COL0], R0; MOV o[HPOS], v[OPOS]; END [test] clear color 0.1 0.1 0.1 1.0 clear parameter env_vp 1 (0.5, 0.25, 0.0, 0.0) parameter env_vp 2 (0.14723, 0.67507, 0.05856, 0.15502) draw rect -1.0 -1.0 0.125 0.125 relative probe rgba (0.03125, 0.03125) (0.323615, 0.587535, 0.27928, 0.32751)