Changeset 85761 in webkit
- Timestamp:
- May 4, 2011 11:00:44 AM (13 years ago)
- Location:
- trunk/Source/ThirdParty/ANGLE
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/ThirdParty/ANGLE/ChangeLog
r85003 r85761 1 2011-05-04 David Kilzer <ddkilzer@apple.com> 2 3 Part 1 of 2: <http://webkit.org/b/56337> Enable -Werror on ANGLE 4 5 Merge ANGLE upstream commits r572, r573, r574, r575. 6 7 This unblocks enabling -Werror on ANGLE. Since all changes are 8 in the upstream repository, they may be safely overwritten 9 during the next ANGLE update. 10 11 * src/compiler/ConstantUnion.h: 12 (ConstantUnion::operator==): Added a default case. 13 * src/compiler/Intermediate.cpp: 14 (TIntermBinary::promote): Added parentheses. 15 * src/compiler/ParseHelper.cpp: 16 (TParseContext::precisionErrorCheck): Added a default case. 17 * src/compiler/PoolAlloc.cpp: 18 (TAllocation::checkGuardBlock): Changed '%u' to '%lu' for size_t 19 variable. Put for loop inside #ifdef GUARD_BLOCKS/#endif macros 20 to fix tautological-compare warning. 21 (TAllocation::checkAllocList): Added newline to end of file. 22 1 23 2011-04-26 Dan Bernstein <mitz@apple.com> 2 24 -
trunk/Source/ThirdParty/ANGLE/src/compiler/ConstantUnion.h
r64560 r85761 70 70 71 71 break; 72 default: 73 return false; 72 74 } 73 75 -
trunk/Source/ThirdParty/ANGLE/src/compiler/Intermediate.cpp
r76091 r85761 1006 1006 case EOpSubAssign: 1007 1007 case EOpDivAssign: 1008 if ( left->isMatrix() && right->isVector() ||1009 left->isVector() && right->isMatrix())1008 if ((left->isMatrix() && right->isVector()) || 1009 (left->isVector() && right->isMatrix())) 1010 1010 return false; 1011 1011 setType(TType(basicType, higherPrecision, EvqTemporary, size, left->isMatrix() || right->isMatrix())); … … 1018 1018 case EOpLessThanEqual: 1019 1019 case EOpGreaterThanEqual: 1020 if ( left->isMatrix() && right->isVector() ||1021 left->isVector() && right->isMatrix())1020 if ((left->isMatrix() && right->isVector()) || 1021 (left->isVector() && right->isMatrix())) 1022 1022 return false; 1023 1023 setType(TType(EbtBool, EbpUndefined)); -
trunk/Source/ThirdParty/ANGLE/src/compiler/ParseHelper.cpp
r76091 r85761 275 275 } 276 276 break; 277 default: 278 return false; 277 279 } 278 280 return false; -
trunk/Source/ThirdParty/ANGLE/src/compiler/PoolAlloc.cpp
r76091 r85761 152 152 void TAllocation::checkGuardBlock(unsigned char* blockMem, unsigned char val, const char* locText) const 153 153 { 154 #ifdef GUARD_BLOCKS 154 155 for (size_t x = 0; x < guardBlockSize; x++) { 155 156 if (blockMem[x] != val) { … … 157 158 158 159 // We don't print the assert message. It's here just to be helpful. 159 sprintf(assertMsg, "PoolAlloc: Damage %s % u byte allocation at 0x%p\n",160 sprintf(assertMsg, "PoolAlloc: Damage %s %lu byte allocation at 0x%p\n", 160 161 locText, size, data()); 161 162 assert(0 && "PoolAlloc: Damage in guard block"); 162 163 } 163 164 } 165 #endif 164 166 } 165 167
Note: See TracChangeset
for help on using the changeset viewer.