revision 307:a357a469f5ff
summary |
tree |
shortlog |
changelog |
graph |
changeset |
raw | bz2 | zip | gz changeset | 307:a357a469f5ff |
parent | 306:818c11570593 |
child | 308:10a5b5475fb0 |
author | nkeynes |
date | Sun Jan 21 05:24:27 2007 +0000 (16 years ago) |
Add texture input data block
![]() | test/testrend.c | view | annotate | diff | log |
1.1 --- a/test/testrend.c Sun Jan 21 05:23:53 2007 +00001.2 +++ b/test/testrend.c Sun Jan 21 05:24:27 2007 +00001.3 @@ -1,5 +1,5 @@1.4 /**1.5 - * $Id: testrend.c,v 1.2 2006-08-19 01:51:16 nkeynes Exp $1.6 + * $Id: testrend.c,v 1.3 2007-01-21 05:24:27 nkeynes Exp $1.7 *1.8 * Renderer test cases1.9 *1.10 @@ -51,6 +51,12 @@1.11 fprintf( stderr, "Skipping test '%s' - no event list\n", test_case->test_name );1.12 }1.14 + test_data_block_t tex = get_test_data(test_case, "textures");1.15 + if( tex != NULL ) {1.16 + uint32_t addr = *(uint32_t *)tex->data;1.17 + memcpy( (char *)(0xA5000000 + addr), tex->data+4, tex->length-4 );1.18 + }1.19 +1.20 test_data_block_t config_data = get_test_data( test_case, "config" );1.21 struct ta_config *config = &default_ta_config;1.22 if( config_data != NULL ) {
.