DefaultVertShader.cpp 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // This file was created by Filewrap 1.1
  2. // Little endian mode
  3. // DO NOT EDIT
  4. #include "../PVRTMemoryFileSystem.h"
  5. // using 32 bit to guarantee alignment.
  6. #ifndef A32BIT
  7. #define A32BIT static const unsigned int
  8. #endif
  9. // ******** Start: DefaultVertShader.vsh ********
  10. // File data
  11. static const char _DefaultVertShader_vsh[] =
  12. "attribute highp vec3 inVertex;\r\n"
  13. "attribute mediump vec2 inTexCoord;\r\n"
  14. "\r\n"
  15. "uniform highp mat4 MVPMatrix;\r\n"
  16. "uniform float\tfUOffset;\r\n"
  17. "\r\n"
  18. "varying mediump vec2 TexCoord;\r\n"
  19. "\r\n"
  20. "void main()\r\n"
  21. "{\r\n"
  22. "\tgl_Position = MVPMatrix * vec4(inVertex, 1.0);\r\n"
  23. "\r\n"
  24. "\t// Pass through texcoords\r\n"
  25. "\tTexCoord = inTexCoord;\r\n"
  26. "\tTexCoord.x += fUOffset;\r\n"
  27. "}\r\n"
  28. " ";
  29. // Register DefaultVertShader.vsh in memory file system at application startup time
  30. static CPVRTMemoryFileSystem RegisterFile_DefaultVertShader_vsh("DefaultVertShader.vsh", _DefaultVertShader_vsh, 317);
  31. // ******** End: DefaultVertShader.vsh ********
  32. // This file was created by Filewrap 1.1
  33. // Little endian mode
  34. // DO NOT EDIT
  35. #include "../PVRTMemoryFileSystem.h"
  36. // using 32 bit to guarantee alignment.
  37. #ifndef A32BIT
  38. #define A32BIT static const unsigned int
  39. #endif
  40. // ******** Start: DefaultVertShader.vsc ********
  41. // File data
  42. A32BIT _DefaultVertShader_vsc[] = {
  43. 0x10fab438,0xd4bb0035,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0xca020000,0x0,0x4000000,0x0,0x9000000,0x2,0x0,0x20000,0x0,0x0,0xa6010000,0x55535020,0x20,0x19a,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0x6,0x0,0x0,0x11,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x110000,0x800006,0x10001,0x0,0x40001,0x1,0x50001,0x2,0x60001,0x3,0x70001,0x4,0x80001,0x5,0x90001,
  44. 0x6,0xa0001,0x7,0xb0001,0x8,0xc0001,0x9,0xd0001,0xa,0xe0001,0xb,0xf0001,0xc,0x100001,0xd,0x110001,0xe,0x120001,0xf,0x130001,0x10,0x37,0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0xa0000,0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x10001,0x1,0x10001,0x2800001,0x1001a0a0,0x1a0a2881,0x10057081,0x58c0082,0x606f060,0x479038ab,0x606f060,0x89943882,0x606f060,0x1a173882,0x1001701f,0x68e00a2,0x606f000,0x489238ab,0x606f000,0x8a963882,0x606f000,0x1a193882,0x1001705f,0x600a2,0x14000000,0x803f,0x0,0x0,0x0,
  45. 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x6e690600,0x74726556,0x7865,0x3040400,0x10000,0x100,0x70004,0x5f6c6700,0x69736f50,0x6e6f6974,0x5010000,0x305,0x1000001,0x40000,0x4d00000f,0x614d5056,0x78697274,0x16000000,0x303,0x1000001,0xff100400,0x540000ff,0x6f437865,0x64726f,0x5030000,0x1000002,0x10000,0x3000200,0x6e690000,0x43786554,0x64726f6f,0x3000000,0x204,0x1000001,0x40400,0x66000003,0x66664f55,0x746573,0x3020000,0x1000003,0x10000,0x1000101,0x0,
  46. };
  47. // Register DefaultVertShader.vsc in memory file system at application startup time
  48. static CPVRTMemoryFileSystem RegisterFile_DefaultVertShader_vsc("DefaultVertShader.vsc", _DefaultVertShader_vsc, 746);
  49. // ******** End: DefaultVertShader.vsc ********