• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*!****************************************************************************
2 
3  @file         OGLES2/PVRTBackgroundShaders.h
4  @ingroup      API_OGLES2
5  @copyright    Copyright (c) Imagination Technologies Limited.
6  @brief        The shaders used by PVRTBackground. Created by Filewrap 1.0. DO
7                NOT EDIT.
8 
9 ******************************************************************************/
10 
11 // This file was created by Filewrap 1.0
12 // DO NOT EDIT
13 
14 // using 32 bit to guarantee alignment. Adds endianness dependency.
15 #ifndef A32BIT
16  #define A32BIT PVRTuint32
17 #endif
18 
19 // ******** Start: BackgroundFragShader.fsh ********
20 
21 // File data
22 static const char _BackgroundFragShader_fsh[] =
23 	"uniform sampler2D sampler2d;\r\n"
24 	"\r\n"
25 	"varying mediump vec2\tvarCoord;\r\n"
26 	"\r\n"
27 	"void main()\r\n"
28 	"{\r\n"
29 	"\tgl_FragColor = texture2D(sampler2d, varCoord);\r\n"
30 	"}\r\n";
31 
32 // ******** End: BackgroundFragShader.fsh ********
33 
34 // ******** Start: BackgroundVertShader.vsh ********
35 
36 // File data
37 static const char _BackgroundVertShader_vsh[] =
38 	"attribute mediump vec2\tmyVertex;\r\n"
39 	"attribute mediump vec2\tmyUV;\r\n"
40 	"\r\n"
41 	"varying mediump vec2\tvarCoord;\r\n"
42 	"\r\n"
43 	"void main()\r\n"
44 	"{\r\n"
45 	"\tgl_Position = vec4(myVertex, 1, 1);\r\n"
46 	"\tvarCoord = myUV;\r\n"
47 	"}\r\n";
48 
49 // ******** End: BackgroundVertShader.vsh ********
50 
51 // This file was created by Filewrap 1.0
52 // DO NOT EDIT
53 
54 // using 32 bit to guarantee alignment. Adds endianness dependency.
55 #ifndef A32BIT
56  #define A32BIT PVRTuint32
57 #endif
58 
59 // ******** Start: BackgroundFragShader.fsc ********
60 
61 // File data
62 A32BIT _BackgroundFragShader_fsc[] = {
63 0x10fab438,0xe9233faf,0x35050100,0x901,0xf121629f,0x0,0x0,0x1d020000,
64 0x1000000,0x4000200,0x0,0x8000000,0x2,0x0,0x20000,0x0,
65 0x0,0xdc000000,0x55535020,0x17,0xd0,0x1,0x0,0x48,
66 0x0,0x3,0x6d,0x1,0x0,0x0,0xffffffff,0x0,
67 0x770009,0xffff,0x1,0x0,0x1,0x0,0x0,0x0,
68 0x0,0xfffc0000,0x3,0x10004,0x0,0x110000,0xffffffff,0x0,
69 0x56780000,0x0,0x10000,0x0,0x4,0x50011,0x10000,0x80010000,
70 0x80018001,0x8001,0x0,0x120000,0xf0000,0x60a000f,0x30003,0x30003,
71 0x0,0x0,0x40004,0x40004,0x10000,0x30002,0x1,0x20001,
72 0x6,0xdc000000,0x55535020,0x17,0xd0,0x1,0x0,0x148,
73 0x0,0x3,0x6d,0x1,0x0,0x0,0xffffffff,0x0,
74 0x770009,0xffff,0x10001,0x0,0x1,0x0,0x0,0x0,
75 0x0,0xfffc0000,0x1,0x10004,0x0,0x110000,0xffffffff,0x0,
76 0x56780000,0x0,0x10000,0x0,0x4,0x50011,0x10000,0x80010000,
77 0x80018001,0x8001,0x0,0x120000,0xf0000,0x60a000f,0x10001,0x10001,
78 0x0,0x0,0x40004,0x40004,0x10000,0x30002,0x10001,0x20001,
79 0x6,0x2000000,0x706d6173,0x3272656c,0x64,0x318,0x2000001,0x10000,
80 0x76000001,0x6f437261,0x64726f,0x5030000,0x10000,0x100,0x30002,0x0,
81 };
82 
83 static int _BackgroundFragShader_fsc_size = 573;
84 
85 // ******** End: BackgroundFragShader.fsc ********
86 
87 // ******** Start: BackgroundVertShader.vsc ********
88 
89 // File data
90 A32BIT _BackgroundVertShader_vsc[] = {
91 0x10fab438,0x69857ca,0x35050100,0x901,0xf121629f,0x0,0x0,0x93010000,
92 0x0,0x4000200,0x0,0x9000000,0x2,0x0,0x20000,0x0,
93 0x0,0xe0000000,0x55535020,0x17,0xd4,0x1,0x0,0xc,
94 0x0,0x3,0x6d,0x1,0x0,0x0,0xffffffff,0x0,
95 0x76000a,0xffff,0x6,0x0,0x0,0x0,0x0,0x0,
96 0x0,0xfffc0000,0x0,0x0,0x0,0x110000,0xffffffff,0x0,
97 0x56780006,0x330000,0x40000,0x110000,0x2,0x6,0x80018001,0x80018001,
98 0x0,0x0,0x0,0x0,0x0,0xa0000000,0x28811001,0xa0200080,
99 0x28811001,0x60601a00,0x28831001,0xa0800200,0x28a11001,0x60000700,0x28831002,0x5040018e,
100 0x811005,0x6,0x800,0x0,0x0,0x803f0000,0x3f0000,0x3f0000,
101 0x0,0x0,0x4000000,0x505f6c67,0x7469736f,0x6e6f69,0x5050100,0x10000,
102 0x100,0xf0004,0x56796d00,0x65747265,0x78,0x403,0x1000001,0x40000,
103 0x76000003,0x6f437261,0x64726f,0x5030000,0x10000,0x100,0x30002,0x55796d00,
104 0x56,0x403,0x1000001,0x40400,0x3,
105 };
106 
107 static int _BackgroundVertShader_vsc_size = 435;
108 
109 // ******** End: BackgroundVertShader.vsc ********
110 
111