blob: 097774336f7320f174c3e611fd71ab651ffa831c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FRAG
DCL IN[0], COLOR, LINEAR
DCL OUT[0], COLOR
DCL CONST[0][1]
DCL CONST[0][3]
DCL TEMP[0..1]
ADD TEMP[0], IN[0], CONST[0][1]
RCP TEMP[1], CONST[0][3].xxxx
MUL OUT[0], TEMP[0], TEMP[1]
END
|