mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 20:20:18 +01:00
10 lines
167 B
Text
10 lines
167 B
Text
|
|
!!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
|