# HG changeset patch # User nkeynes # Date 1169357067 0 # Node ID a357a469f5ff57d02f8eeef64896b30a58c3bf02 # Parent 818c115705937e79b85a6dd9f6d8377279e35f31 Add texture input data block --- a/test/testrend.c Sun Jan 21 05:23:53 2007 +0000 +++ b/test/testrend.c Sun Jan 21 05:24:27 2007 +0000 @@ -1,5 +1,5 @@ /** - * $Id: testrend.c,v 1.2 2006-08-19 01:51:16 nkeynes Exp $ + * $Id: testrend.c,v 1.3 2007-01-21 05:24:27 nkeynes Exp $ * * Renderer test cases * @@ -51,6 +51,12 @@ fprintf( stderr, "Skipping test '%s' - no event list\n", test_case->test_name ); } + test_data_block_t tex = get_test_data(test_case, "textures"); + if( tex != NULL ) { + uint32_t addr = *(uint32_t *)tex->data; + memcpy( (char *)(0xA5000000 + addr), tex->data+4, tex->length-4 ); + } + test_data_block_t config_data = get_test_data( test_case, "config" ); struct ta_config *config = &default_ta_config; if( config_data != NULL ) {