Subversion Repositories Kolibri OS

Rev

Rev 9237 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9237 Rev 9512
Line 339... Line 339...
339
 
339
 
340
      add   esp,512
340
      add   esp,512
Line 341... Line 341...
341
      pop   ebp
341
      pop   ebp
342
 
-
 
343
ret
342
 
344
align 16
343
ret
345
real_phong_line_z:
344
real_phong_line_z:
346
; in:
345
; in:
347
;    xmm0 - normal vector 1
346
;    xmm0 - normal vector 1
Line 454... Line 453...
454
 
453
 
455
        mov     ecx,.lx2
454
        mov     ecx,.lx2
456
        sub     ecx,.lx1
455
        sub     ecx,.lx1
457
        movaps  xmm0,.n1
456
        movaps  xmm0,.n1
458
        movss   xmm2,.z1
457
        movss   xmm2,.z1
459
align 16
458
 
460
   .ddraw:
459
   .ddraw:
461
        movss    xmm7,xmm2
460
        movss    xmm7,xmm2
462
        cmpnltss xmm7,dword[esi]
461
        cmpnltss xmm7,dword[esi]
463
        movd     eax,xmm7
462
        movd     eax,xmm7