Subversion Repositories Kolibri OS

Rev

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

Rev 9512 Rev 9740
Line 74... Line 74...
74
   mov     ebx,12
74
   mov     ebx,12
75
   int     0x40
75
   int     0x40
76
   mov     .chmr,eax     ; chunks mark if bit is set - tri was used
76
   mov     .chmr,eax     ; chunks mark if bit is set - tri was used
Line 77... Line 77...
77
 
77
 
78
   mov     edi,eax
78
   mov     edi,eax
79
   pxor    xmm0,xmm0
79
;   pxor    xmm0,xmm0
80
   mov     ecx,[triangles_count_var]
80
   mov     ecx,[triangles_count_var]
81
   shr     ecx,7
81
   shr     ecx,5
-
 
82
   inc     ecx
-
 
83
   xor     eax,eax
-
 
84
   cld
-
 
85
   rep     stosd
-
 
86
;   shr     ecx,7
82
   inc     ecx
87
;   inc     ecx
83
 @@:
88
; @@:
84
   movdqa  [edi],xmm0
89
;   movdqa  [edi],xmm0
85
   add     edi,16
90
;   add     edi,16
Line 86... Line 91...
86
   loop    @b
91
;   loop    @b
87
 
92
 
88
 
93
 
Line 291... Line 296...
291
        add     eax,edi
296
        add     eax,edi
292
        mov     .ltch1,eax    ; last
297
        mov     .ltch1,eax    ; last
Line 293... Line 298...
293
 
298
 
294
        mov     .up,esi
299
        mov     .up,esi
-
 
300
        mov     .str,edi
295
        mov     .str,edi
301
;        mov     edi,.tri_ch1
296
    .lb1:                     ; nx chunk
302
    .lb1:                     ; nx chunk
297
        cmp     edi,.ltch1
303
        cmp     edi,.ltch1
298
        jnb     .endl
304
        jnb     .endl
299
        mov     edi,.tri_ch1
305
        mov     edi,.tri_ch1
Line 397... Line 403...
397
;   mov     ecx,.chunks
403
;   mov     ecx,.chunks
398
;   int     0x40
404
;   int     0x40
Line 399... Line 405...
399
 
405
 
400
 
406
 
Line 401... Line 407...
401
 
407
 
402
;   mov    ebx,.chunks
408
   mov    ebx,.chunks