filename | src/test/testxlt.c |
changeset | 1195:072131b61d2a |
prev | 1189:1540105786c8 |
author | nkeynes |
date | Wed Feb 15 17:54:51 2012 +1000 (12 years ago) |
permissions | -rw-r--r-- |
last change | Use GL_TEXTURE_2D instead of GL_TEXTURE_RECTANGLE_ARB for frame buffers, for systems that don't provide the latter (and there's not really much difference anyway). Add macro wrangling for GL_DEPTH24_STENCIL8 format |
file | annotate | diff | log | raw |
1.1 --- a/src/test/testxlt.c Thu Dec 01 08:02:13 2011 +10001.2 +++ b/src/test/testxlt.c Wed Feb 15 17:54:51 2012 +10001.3 @@ -37,7 +37,7 @@1.4 assert( block->active == 1 );1.5 assert( block->size == XLAT_NEW_CACHE_SIZE - (2*sizeof(struct xlat_cache_block)) );1.6 memset( block->code, 0xB5, 8192 );1.7 - xlat_commit_block( 8192, 100 );1.8 + xlat_commit_block( 8192, 0x0C008000, 0x0C008100 );1.9 assert( block->active == 1 );1.10 assert( block->size == 8192 );1.12 @@ -46,7 +46,7 @@1.13 assert( block2->active == 1 );1.14 assert( block2->size == XLAT_NEW_CACHE_SIZE - (3*sizeof(struct xlat_cache_block)) - 8192 );1.15 memset( block2->code, 0x6D, size );1.16 - xlat_commit_block( size, 200 );1.17 + xlat_commit_block( size, 0x0C009000, 0x0C009200 );1.18 assert( block2->active == 1 );1.19 assert( block2->size == size );1.21 @@ -74,7 +74,7 @@1.22 for( i=4096; i<8192; i++ ) {1.23 assert( block3a->code[i] == 0xB5 );1.24 }1.25 - xlat_commit_block(6142, 432);1.26 + xlat_commit_block(6142, 0x0D009800, 0x0D009C32);1.27 addr = xlat_get_code( 0x0D009800 );1.28 assert( addr == &block3a->code );1.29 }
.