/************************************************************************ BlurBlit.nvp Simple pixel shader that samples all 4 texture stages, averages these samples and outputs the result. Copyright (C) 1999, 2000 NVIDIA Corporation *************************************************************************/ ; Declare pixel shader version ps.1.1 ; get colors from all 4 texture stages tex t0 tex t1 tex t2 tex t3 mul r0, c0, t0 mad r0, c1, t1, r0 mad r0, c2, t2, r0 mad r0, c3, t3, r0 mul r0.a, r0.a, v0.a