aboutsummaryrefslogtreecommitdiff
path: root/tests/shaders/generic/fp-dst-aliasing-2.vpfp
blob: e757cd6c0299376b34cfe1774a5df767a1912eb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!!ARBvp1.0
OPTION ARB_position_invariant;
END

!!ARBfp1.0
TEMP temp;
MOV temp, program.local[1];
DST temp, program.local[0], temp.xyzy;
MOV result.color, temp;
END

!!test
fragment.local[0] 0.1 0.2 0.3 0.4
fragment.local[1] 0.5 0.5 0.5 0.5
expected          1.0 0.1 0.3 0.5