aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/python/tests/regress/fragment-shader/frag-cb-1d.sh
blob: 85fb9ea4e7fcc603d62d8d0f2f230fba1e9bc5c2 (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[1]
DCL CONST[3]
DCL TEMP[0..1]

ADD TEMP[0], IN[0], CONST[1]
RCP TEMP[1], CONST[3].xxxx
MUL OUT[0], TEMP[0], TEMP[1]

END