1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- // This file was created by Filewrap 1.1
- // Little endian mode
- // DO NOT EDIT
- #include "../PVRTMemoryFileSystem.h"
- // using 32 bit to guarantee alignment.
- #ifndef A32BIT
- #define A32BIT static const unsigned int
- #endif
- // ******** Start: PostVertShader.vsh ********
- // File data
- static const char _PostVertShader_vsh[] =
- "attribute highp\t vec3 inVertex;\t\t//Vertex coordinates\r\n"
- "attribute mediump vec2 inTexCoord;\t\t//Texture coordinates in.\r\n"
- "varying mediump vec2 t1;\t\t\t\t//Texture coordinate passed to fragment.\r\n"
- "\r\n"
- "#ifdef EDGE_DETECTION\r\n"
- "uniform mediump vec2 PixelSize;\t\t\t//Relative size of a pixel (in texels) for this program.\r\n"
- "varying mediump vec2 t2;\t\t\t\t//Texture location for fragment directly above.\r\n"
- "varying mediump vec2 t3;\t\t\t\t//Texture location for fragment directly to the right.\r\n"
- "#endif\r\n"
- "\r\n"
- "void main()\r\n"
- "{\r\n"
- "\t//Pass through texture coordinates.\r\n"
- "\tt1 = inTexCoord;\r\n"
- "\r\n"
- "#ifdef EDGE_DETECTION\r\n"
- "\t// Sets texture coordinates for surrounding texels (up and right);\r\n"
- "\tt2 = vec2(inTexCoord.x, inTexCoord.y+PixelSize.y);\r\n"
- "\tt3 = vec2(inTexCoord.x+PixelSize.x, inTexCoord.y);\r\n"
- "#endif\r\n"
- "\r\n"
- "\t// Set vertex position.\r\n"
- "\tgl_Position = vec4(inVertex, 1.0);\r\n"
- "\r\n"
- "}\r\n";
- // Register PostVertShader.vsh in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_PostVertShader_vsh("PostVertShader.vsh", _PostVertShader_vsh, 831);
- // ******** End: PostVertShader.vsh ********
- // This file was created by Filewrap 1.1
- // Little endian mode
- // DO NOT EDIT
- #include "../PVRTMemoryFileSystem.h"
- // using 32 bit to guarantee alignment.
- #ifndef A32BIT
- #define A32BIT static const unsigned int
- #endif
- // ******** Start: PostVertShader.vsc ********
- // File data
- A32BIT _PostVertShader_vsc[] = {
- 0x10fab438,0xa25c953,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x7f010000,0x0,0x4000000,0x0,0x9000000,0x2,0x60a0100,0x20000,0x51201,0x1000000,0xd8000000,0x55535020,0x20,0xcc,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x0,0x0,0xffffffff,0x0,0x122000a,0xffff,0x7,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x0,0x800007,0x73,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x30000,0x80010002,0x80018001,0x8001,0x0,0x0,
- 0x0,0xa0800000,0x28a11001,0xa0000200,0x28a12001,0x60601a00,0x28831001,0x6,0x803f0400,0x0,0x0,0x0,0x4000000,0x3174,0x2050300,0x10000,0x100,0x30002,0x546e6900,0x6f437865,0x64726f,0x4030000,0x1000002,0x10000,0x3000400,0x6c670000,0x736f505f,0x6f697469,0x100006e,0x30505,0x100,0x4000001,0xf00,0x65566e69,0x78657472,0x4000000,0x304,0x1000001,0x40400,0x7,
- };
- // Register PostVertShader.vsc in memory file system at application startup time
- static CPVRTMemoryFileSystem RegisterFile_PostVertShader_vsc("PostVertShader.vsc", _PostVertShader_vsc, 415);
- // ******** End: PostVertShader.vsc ********
|