a0 = tex2D(tex_img_ins, j-1, i-1) ; // fetching values
a1 = tex2D(tex_img_ins, j , i-1) ;
a2 = tex2D(tex_img_ins, j+1, i-1) ;
a0 = tex2D(tex_img_ins, j-1, i-1) ; // fetching values
a1 = tex2D(tex_img_ins, j , i-1) ;
a2 = tex2D(tex_img_ins, j+1, i-1) ;
- a3 = tex2D(tex_img_ins, j-1, i) ;
- a4 = tex2D(tex_img_ins, j , i) ;
- a5 = tex2D(tex_img_ins, j+1, i) ;
+ a3 = tex2D(tex_img_ins, j-1, i ) ;
+ a4 = tex2D(tex_img_ins, j , i ) ;
+ a5 = tex2D(tex_img_ins, j+1, i ) ;
a6 = tex2D(tex_img_ins, j-1, i+1) ;
a7 = tex2D(tex_img_ins, j , i+1) ;
a8 = tex2D(tex_img_ins, j+1, i+1) ;
a6 = tex2D(tex_img_ins, j-1, i+1) ;
a7 = tex2D(tex_img_ins, j , i+1) ;
a8 = tex2D(tex_img_ins, j+1, i+1) ;