diff options
Diffstat (limited to 'tests/shaders/generic/fp-dst-aliasing-1.vpfp')
-rw-r--r-- | tests/shaders/generic/fp-dst-aliasing-1.vpfp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/shaders/generic/fp-dst-aliasing-1.vpfp b/tests/shaders/generic/fp-dst-aliasing-1.vpfp new file mode 100644 index 00000000..38a901ad --- /dev/null +++ b/tests/shaders/generic/fp-dst-aliasing-1.vpfp @@ -0,0 +1,16 @@ +!!ARBvp1.0 +OPTION ARB_position_invariant; +END + +!!ARBfp1.0 +TEMP temp; +MOV temp, program.local[0]; +DST temp, temp.xyyw, program.local[1]; +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.2 0.5 + |