This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%define STDIN_FILENO 0 | |
%define STDOUT_FILENO 1 | |
%define SYS_EXIT 1 | |
%define SYS_READ 3 | |
%define SYS_WRITE 4 | |
USE32 | |
ORG 0x1000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP1 for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Based on: | |
# HEX1 for Linux-i386-ELF | |
# Copyright (C) 2001, Edmund GRIMLEY EVANS <[email protected]> | |
# | |
# _mach_header: # struct mach_header |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP2a for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Uses BSS section for data storage. | |
# | |
# Based on: | |
# HEX2a for Linux-i386-ELF | |
# Copyright (C) 2001, Edmund GRIMLEY EVANS <[email protected]> | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP2b for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Uses BSS section for data storage and labels for call & jmp targets | |
# | |
# Based on: | |
# HEX2b and HEX2c for Linux-i386-ELF | |
# Copyright (C) 2001, Edmund GRIMLEY EVANS <[email protected]> | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP3a for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Labels are 4 chars. Labels are stores in a symbol table stored in | |
# BSS section. The labels form a list of 32-bit label name and address | |
# pairs. | |
# | |
# Errors are signaled by return code: | |
# 1: Syntax Error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# CRAP3b for Darwin-i386-MachO | |
# Copyright (C) 2013, Dan Glastonbury <[email protected]> | |
# | |
# Labels are 4 chars. Labels are stores in a symbol table stored in | |
# BSS section. The labels form a list of 32-bit label name and address | |
# pairs. | |
# | |
# Errors are signaled by return code: | |
# 1: Syntax Error |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function base_colors(src, mode) { | |
var col_1, col_2; | |
function compare(c1, c2) { | |
return (c1[0] * 16384 + c1[1] * 256 + c1[2]) >= | |
(c2[0] * 16384 + c2[1] * 256 + c2[2]); | |
} | |
if (mode === 'I') { | |
col_1 = extend_4to8bits(src[7], src[6], src[5]), | |
col_2 = extend_4to8bits(src[7] << 4, src[6] << 4, src[5] << 4) | |
return [ col_1, col_2 ]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function uncompressETC2Block(destBuffer, destX, destY, destWidth, src) { | |
'use strict'; | |
var xx, yy, basecols; | |
function extend_4to8bits(r, g, b) { | |
return [ | |
(r & 0xf0) | ((r >> 4) & 0x0f), | |
(g & 0xf0) | ((g >> 4) & 0x0f), | |
(b & 0xf0) | ((b >> 4) & 0x0f), | |
255 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
djg in ~/Mozilla/hg/mozilla-central | |
$ export HGMERGE=p4merge | |
djg in ~/Mozilla/hg/mozilla-central | |
$ mhg qpush | |
applying bug-942506-refactor-ApplyFilterToBoundTexture | |
patching file gfx/gl/GLContext.cpp | |
Hunk #1 FAILED at 1325 | |
1 out of 1 hunks FAILED -- saving rejects to file gfx/gl/GLContext.cpp.rej | |
patching file gfx/gl/GLContextProviderGLX.cpp |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
D3DCompiler_43.dll!CBaseProgram::DeleteArgsAbove(unsigned int) Unknown | |
D3DCompiler_43.dll!CCompiler::Reset(unsigned int,unsigned int,class CArgument * const *,class CTrackVarMapChanges *) Unknown | |
D3DCompiler_43.dll!CCompiler::ApplySFPSRange(class CInstruction *,unsigned int,class CArgument * const *,bool) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitInstAll(struct ArSourceLocation const *,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,unsigned __int64,enum ArRangeFlags,enum ArBasicKind) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitBinaryInst(struct ArSourceLocation const *,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,enum ArRangeFlags) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitDot(struct ArSourceLocation const *,unsigned int,unsigned int,class CArgument * *,class CArgument * const *,class CArgument * const *,enum ArRangeFlags) Unknown | |
D3DCompiler_43.dll!CCompiler::EmitIntrinsic(class CNode *,class CArgument * *,bool) Unknown |