You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
237 B
19 lines
237 B
4 years ago
|
ps.1.1
|
||
|
|
||
|
// 1221 filter constants
|
||
|
def c0, 0.1667f, 0.1667f, 0.1667f, 0.3333f
|
||
|
|
||
|
tex t0
|
||
|
tex t1
|
||
|
tex t2
|
||
|
tex t3
|
||
|
|
||
|
mul r0.rgb, t0, c0
|
||
|
mad r0.rgb, t1, c0.a, r0
|
||
|
mad r0.rgb, t2, c0.a, r0
|
||
|
mad r0.rgb, t3, c0, r0
|
||
|
|
||
|
mul r0.rgb, r0, c1 +
|
||
|
mov r0.a, t0.a
|
||
|
|