VertShader.cpp 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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: VertShader.vsh ********
  10. // File data
  11. static const char _VertShader_vsh[] =
  12. "attribute highp vec2 inVertex;\r\n"
  13. "\r\n"
  14. "uniform highp vec2 LowerLeft;\r\n"
  15. "uniform highp mat2 ScaleMatrix; // width/height and screen rotation\r\n"
  16. "\r\n"
  17. "varying mediump vec2 TexCoord;\r\n"
  18. "\r\n"
  19. "void main()\r\n"
  20. "{\r\n"
  21. "\tgl_Position = vec4(ScaleMatrix * inVertex + LowerLeft, 0, 1);\r\n"
  22. "\t\r\n"
  23. "\tTexCoord = inVertex;\r\n"
  24. "}\r\n";
  25. // Register VertShader.vsh in memory file system at application startup time
  26. static CPVRTMemoryFileSystem RegisterFile_VertShader_vsh("VertShader.vsh", _VertShader_vsh, 284);
  27. // ******** End: VertShader.vsh ********
  28. // This file was created by Filewrap 1.1
  29. // Little endian mode
  30. // DO NOT EDIT
  31. #include "../PVRTMemoryFileSystem.h"
  32. // using 32 bit to guarantee alignment.
  33. #ifndef A32BIT
  34. #define A32BIT static const unsigned int
  35. #endif
  36. // ******** Start: VertShader.vsc ********
  37. // File data
  38. A32BIT _VertShader_vsc[] = {
  39. 0x10fab438,0xfa926b29,0x30050100,0x2501,0xd363e337,0x2000000,0x20000000,0x20000,0x0,0x4000000,0x0,0x9000000,0x2,0x0,0x20000,0x0,0x0,0x26010000,0x55535020,0x20,0x11a,0x1,0x1,0x0,0x204,0x80,0x2,0x7d,0x0,0x8,0x0,0xffffffff,0x0,0x122000a,0xffff,0x2,0x0,0x0,0x6,0x0,0x0,0x0,0x0,0xfffc,0x0,0x0,0x0,0xffff0003,0xffffffff,0x60000,0x800002,0x1,0x0,0x10001,0x1,0x20001,0x2,0x30001,0x3,0x40001,0x4,0x50001,0x5,0x3,
  40. 0xffffffff,0xffffffff,0x0,0x0,0x4,0x20003,0x60000,0x80010002,0x80018001,0x8001,0x0,0x0,0x0,0x10000,0x18000001,0x10016040,0x1a002883,0x10016060,0x2883,0x1001a080,0x50b28a1,0x606f000,0x460d38ab,0x606f000,0x1a0e3882,0x1001701f,0x600a2,0x8000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x803f,0x63530500,0x4d656c61,0x69727461,0x78,0x3030e,0x100,0x4000001,0xf00,0x65566e69,0x78657472,0x3000000,0x304,0x1000001,0x40000,0x4c000003,0x7265776f,0x7466654c,0x3000000,0x303,0x1000001,0x20400,0x67000003,0x6f505f6c,0x69746973,0x6e6f,0x3050501,0x10000,0x100,
  41. 0xf0004,0x78655400,0x726f6f43,0x64,0x20503,0x100,0x2000001,0x300,0x0,
  42. };
  43. // Register VertShader.vsc in memory file system at application startup time
  44. static CPVRTMemoryFileSystem RegisterFile_VertShader_vsc("VertShader.vsc", _VertShader_vsc, 544);
  45. // ******** End: VertShader.vsc ********