PVRTBackgroundShaders.h 3.9 KB

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