Subversion Repositories Kolibri OS

Rev

Rev 4501 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4501 Rev 4930
Line 2742... Line 2742...
2742
			execbuf.batch_len = batch_end*sizeof(uint32_t);
2742
			execbuf.batch_len = batch_end*sizeof(uint32_t);
2743
			execbuf.flags = kgem->ring | kgem->batch_flags;
2743
			execbuf.flags = kgem->ring | kgem->batch_flags;
Line 2744... Line 2744...
2744
 
2744
 
2745
   		    if (DEBUG_DUMP)
2745
   		    if (DEBUG_DUMP)
2746
            {
2746
            {
2747
                int fd = open("/tmp1/1/batchbuffer.bin", O_CREAT|O_WRONLY|O_BINARY);
2747
                int fd = open("/tmp1/1/batchbuffer.bin", O_CREAT|O_WRONLY);
2748
				if (fd != -1) {
2748
				if (fd != -1) {
2749
					ret = write(fd, kgem->batch, batch_end*sizeof(uint32_t));
2749
					ret = write(fd, kgem->batch, batch_end*sizeof(uint32_t));
2750
					fd = close(fd);
2750
					fd = close(fd);
2751
				}
2751
				}