⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vgpcode.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/***************************************************************************************
* Title			: VGP code for fixed function TNL on MBX					           *
*																				       *
* Copyright		: 2003-2004 by Imaginations Technologies Limited. All rights reserved. *
*                 No part of this software, either material or conceptual			   *
*                 may be copied or distributed, transmitted, transcribed,			   *
*                 stored in a	retrieval system or	translated into	any				   *
*                 human or computer language in any form by any means,				   *
*                 electronic,	mechanical,	manual or other-wise, or				   *
*                 disclosed to third parties without the express written			   *
*                 permission of Imaginations Technologies Limited, HomePark			   *
*                 Industrial Estate, King's Langley, Hertfordshire,					   *
*                 WD4	8LZ, U.K.													   *
*																					   *
*																					   *
* This is an autogenerated file (by vgpcodegen).  DO NOT EDIT!						   *
****************************************************************************************/


/* VGP code from vgpcodegen Revision: 1.10.1.6 $ */

/*
Basic Transformation and Lighting VGP Code for an INFINITE viewer
-----------------------------------------------------------------

VGP code to perform basic transformation and lighting for an infinite viewer

Sections
--------
0		->		Transform position to clip-space, do front/back clip
1		->		Transform position to eye-space
2		->		User clip planes
3		->		Lighting set-up, Colour Material setup & global lighting
4		->		Normalise normal
5		->		Infinite lights
6		->		Point lights
7		->		Spot lights
8		->		Lighting output
9		->		Pass through position
10		->		Pass through texture layers 0
11		->		Pass through texture layers 1
12		->		Texture matrices transform 0
13		->		Texture matrices transform 1
14		->		Fog linear
15		->		Fog exp/exp2

Constants
---------
See vgp.h

Register usage
--------------
r0		->		Transformed vertex
r1		->		Transformed normal (normalised, if required)
r2		->		Accumulating base colour
r3		->		Clip-space vertex position/Accumulating specular colour
r4		->		Eye->vertex vector
r5-r8	->		Various uses
r9		->		Eye Z
r10 	->		Colour Material ambient
r11 	->		Colour Material diffuse
r12		->		Constant relative addressing amount

*/

#ifndef _VGPCODE_H_
#define _VGPCODE_H_


extern IMG_CHAR * GetVGPCodeRev(IMG_VOID);

#if defined(SUPPORT_VGP)

#define VGPCODE_HEADER_REV "Revision: 1.10.1.6 $"

const static IMG_UINT32 gaui32VGPSectionDefinitions[] = {
0x00000700,	0x00000c08,	0x0550120d,	0x04002613,	0x00802927,	0x0410342a,	0x04104d35,	0x04106d4e,	0x11106f6e,	0x00807170,	
0x00807272,	0x00807373,	0x05507574,	0x05507776,	0x05507978,	0x0550807a,	0};



const static IMG_UINT32 gui32VGPCodeSize = 258;

const static IMG_UINT32 gaui32VGPCode[] = {
0xe4e4e408,	0x4c440000,	0xe4e4e408,	0x4c840010,	0xe4e4e408,	0x4d040020,	0xe4e4e408,	0x4e040030,	0xe4e4e401,	0x03c20003,	
0xe4e4c601,	0x07c00002,	0xe4e4e408,	0x1c460043,	0xe4e4e408,	0x1c860053,	0xe4e4e408,	0x40440060,	0xe4e4e408,	0x40840070,	
0xe4e4e408,	0x41040080,	0xe4e4e408,	0x42040090,	0xe4aaaa4a,	0x67ca0000,	0xe4e4e408,	0x14460060,	0xe4e4e408,	0x14860070,	
0xe4e4e408,	0x15060080,	0xe4e4e408,	0x16060090,	0xe4e4e408,	0x184600a0,	0xe4e4e408,	0x188600b0,	0xe4e4e407,	0x444400a1,	
0xe4e4e407,	0x448400b1,	0xe4e4e407,	0x450400c1,	0xe4e4e401,	0x6bc11001,	0xe4e4e401,	0x6fc11002,	0xe4e4e401,	0x77c11003,	
0xe4e4e401,	0x57c11004,	0xe4e40001,	0x73c1400e,	0xe4e40001,	0x4fc1400e,	0xe4ffe404,	0x57c600e5,	0xe400e404,	0x6bc600ea,	
0xe455e404,	0x6fc600eb,	0xe4aae404,	0x77c600ed,	0xe4e4e412,	0x47c2000c,	0xe4ffe403,	0x57e405f2,	0xe400e403,	0x6be40af2,	
0xe455e403,	0x6fe40bf2,	0xe4aae403,	0x77e40df2,	0xe4e4e404,	0x4bc910a0,	0xe4e4e402,	0x4bca0052,	0xe4e4e407,	0x57ca0011,	
0xe4e4e406,	0x57c20005,	0xe4e4e404,	0x47ca0051,	0xe4e4e404,	0x57c6809b,	0xe4e4e402,	0x73c630fc,	0xe4e4e407,	0x58468071,	
0xe4e4e407,	0x58868061,	0xe4e40001,	0x5a010005,	0xe4e4e403,	0x4be6828a,	0xe4e4e40f,	0x5bc20006,	0xe4e45503,	0x4bea0256,	
0xe4e4e404,	0x57c680ad,	0xe4e4e412,	0x47c2000c,	0xe4e4aa03,	0x4fea0356,	0xe4e4e402,	0x73c630fc,	0xe4e4e442,	0x57c98006,	
0xe4e4e407,	0x5fca0055,	0xe4e4e406,	0x5bc20007,	0xe4e4e404,	0x57ca0065,	0xe4e4e410,	0x5fca0067,	0xe4e4e402,	0x5bc630e5,	
0xe4e4e407,	0x5fc680c7,	0xe4e4e407,	0x63ca0066,	0xe4e4e405,	0x5fc20007,	0xe4e4e406,	0x63c20008,	0xe4e4e404,	0x5bca0086,	
0xe4e4e407,	0x604a0051,	0xe4e4e407,	0x608a0061,	0xe4e4e404,	0x57ca007a,	0xe4e40001,	0x62010005,	0xe4e4e403,	0x4be68285,	
0xe4e4e404,	0x57ca007b,	0xe4e4e40f,	0x63c20008,	0xe4e4e404,	0x57c68095,	0xe4e45503,	0x4bea0258,	0xe4e4e404,	0x57ca007d,	
0xe4e4e404,	0x57c680a5,	0xe4e4e412,	0x47c2000c,	0xe4e4aa03,	0x4fea0358,	0xe4e4e442,	0x57c98006,	0xe4e4e402,	0x73c630fc,	
0xe4e4e407,	0x5fca0055,	0xe4e4e406,	0x5bc20007,	0xe4e4e404,	0x57ca0065,	0xe4e4e410,	0x5fca0067,	0xe4e4e427,	0x63c68075,	
0xe4e4e407,	0x5fc680c7,	0xe455e40c,	0x5bc680b8,	0xe4e4aa01,	0x6041300e,	0xe4e4e405,	0x5fc20007,	0xe4e40001,	0x6201800b,	
0xe4e4e40f,	0x63c20008,	0xe4e4e404,	0x63ca0086,	0xe4e4e402,	0x5bc630e5,	0xe4aae404,	0x5fca0087,	0xe4e4e407,	0x63ca0066,	
0xe4e4e406,	0x63c20008,	0xe4e4e404,	0x5bca0086,	0xe4e4e407,	0x604a0051,	0xe4e4e407,	0x608a0061,	0xe4e4e404,	0x57ca007a,	
0xe4e40001,	0x62010005,	0xe4e4e403,	0x4be68285,	0xe4e4e404,	0x57ca007b,	0xe4e4e40f,	0x63c20008,	0xe4e4e404,	0x57c68095,	
0xe4e45503,	0x4bea0258,	0xe4e4e404,	0x57ca007d,	0xe4e4e404,	0x57c680a5,	0xe4e4e412,	0x47c2000c,	0xe4e4aa03,	0x4fea0358,	
0xe4c6c602,	0x07ca0023,	0xe4e4e401,	0x06010002,	0xe4e4e401,	0x03c00000,	0xe4e4c601,	0x07c00002,	0xe4e4e401,	0x0fc00003,	
0xe4e4e401,	0x13c00004,	0xe4e4e408,	0x0c440003,	0xe4e4e408,	0x0c840013,	0xe4e4e408,	0x10440024,	0xe4e4e408,	0x10840034,	
0xe4e40042,	0x57c90094,	0xe4e45504,	0x0a090054,	0xe4e4aa04,	0x57c90094,	0xe4e4e433,	0x5a020005,	0xe4e4ff04,	0x57c90094,	
0xe455e404,	0x5bc60056,	0xe4e4e404,	0x57ca0055,	0xe4e4e433,	0x56020005,	0xe400e403,	0x0a260655,	0};



#endif /* SUPPORT_VGP */

#endif /* _VGP_CODE_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -