mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 21:30:09 +01:00
fp: new kill + position test
This commit is contained in:
parent
52a68b9078
commit
2dd9a0197c
1 changed files with 9 additions and 0 deletions
9
progs/fp/kill-pos.txt
Normal file
9
progs/fp/kill-pos.txt
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
!!ARBfp1.0
|
||||
TEMP R0;
|
||||
SUB R0.xy, fragment.position, {125}.x;
|
||||
MOV R0.zw, {0}.x;
|
||||
DP3 R0, R0, R0;
|
||||
SUB R0.x, R0, {10000}.x;
|
||||
KIL -R0.x;
|
||||
MOV result.color, fragment.color;
|
||||
END
|
||||
Loading…
Add table
Reference in a new issue