PVRTPrint3DShaders.h 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. /******************************************************************************
  2. @File PVRTPrint3DShaders.h
  3. @Title OGLES2\PVRTPrint3DShaders
  4. @Version
  5. @Copyright Copyright (C) Imagination Technologies Limited.
  6. @Platform ANSI compatible
  7. @Description The shaders used by Print3D. Created by Filewrap 1.0. DO NOT EDIT.
  8. ******************************************************************************/
  9. // This file was created by Filewrap 1.0
  10. // DO NOT EDIT
  11. // using 32 bit to guarantee alignment. Adds endianness dependency.
  12. #ifndef A32BIT
  13. #define A32BIT static const unsigned int
  14. #endif
  15. // ******** Start: Print3DFragShader.fsh ********
  16. // File data
  17. static const char _Print3DFragShader_fsh[] =
  18. "uniform sampler2D\tsampler2d;\r\n"
  19. "\r\n"
  20. "varying lowp vec4\t\tvarColour;\r\n"
  21. "varying mediump vec2\ttexCoord;\r\n"
  22. "\r\n"
  23. "void main()\r\n"
  24. "{\r\n"
  25. "\tgl_FragColor = varColour * texture2D(sampler2d, texCoord);\r\n"
  26. "}\r\n";
  27. // ******** End: Print3DFragShader.fsh ********
  28. // ******** Start: Print3DVertShader.vsh ********
  29. // File data
  30. static const char _Print3DVertShader_vsh[] =
  31. "attribute highp vec4\tmyVertex;\r\n"
  32. "attribute mediump vec2\tmyUV;\r\n"
  33. "attribute lowp vec4\t\tmyColour;\r\n"
  34. "\r\n"
  35. "uniform highp mat4\t\tmyMVPMatrix;\r\n"
  36. "\r\n"
  37. "varying lowp vec4\t\tvarColour;\r\n"
  38. "varying mediump vec2\ttexCoord;\r\n"
  39. "\r\n"
  40. "void main()\r\n"
  41. "{\r\n"
  42. "\tgl_Position = myMVPMatrix * myVertex;\r\n"
  43. "\ttexCoord = myUV.st;\r\n"
  44. "\tvarColour = myColour;\r\n"
  45. "}\r\n";
  46. // ******** End: Print3DVertShader.vsh ********
  47. // This file was created by Filewrap 1.0
  48. // DO NOT EDIT
  49. // using 32 bit to guarantee alignment. Adds endianness dependency.
  50. #ifndef A32BIT
  51. #define A32BIT PVRTuint32
  52. #endif
  53. // ******** Start: Print3DFragShader.fsc ********
  54. // File data
  55. A32BIT _Print3DFragShader_fsc[] = {
  56. 0x10fab438,0x1f3f40cd,0x35050100,0x901,0xf121629f,0x0,0x0,0xb8020000,
  57. 0x1000000,0x4000100,0x0,0x18000000,0x2a0204,0xa080100,0x201a200,0xa1201,
  58. 0x100007e,0x1c010000,0x55535020,0x17,0x110,0x1,0x0,0x48,
  59. 0x0,0x3,0x6d,0x1,0x0,0x0,0xffffffff,0x0,
  60. 0x770009,0xffff,0x40005,0x0,0x2,0x0,0x0,0x0,
  61. 0x0,0xfffc0000,0x3,0x10004,0x0,0x110000,0xffffffff,0x0,
  62. 0x56780000,0x40000,0x10000,0x10004,0x0,0x2,0x40000,0x110000,
  63. 0x5,0x1,0x80018001,0x80018001,0x0,0x0,0x0,0xf000f,
  64. 0x10688,0x10001,0x1,0x20001,0x10003,0x10001,0x1,0x0,
  65. 0x10000,0x20004,0x20002,0x30000,0x80010000,0x80018001,0x8001,0x0,
  66. 0x0,0x100012,0x10000030,0xa13006,0xa0040080,0x40801c1a,0xa0040103,0x40801c26,
  67. 0x6,0x1c010000,0x55535020,0x17,0x110,0x1,0x0,0x148,
  68. 0x0,0x3,0x6d,0x1,0x0,0x0,0xffffffff,0x0,
  69. 0x770009,0xffff,0x40005,0x0,0x2,0x0,0x0,0x0,
  70. 0x0,0xfffc0000,0x1,0x10004,0x0,0x110000,0xffffffff,0x0,
  71. 0x56780000,0x40000,0x10000,0x10004,0x0,0x2,0x40000,0x110000,
  72. 0x5,0x1,0x80018001,0x80018001,0x0,0x0,0x0,0xf000f,
  73. 0x10688,0x10001,0x1,0x20001,0x10003,0x10001,0x1,0x0,
  74. 0x10000,0x20004,0x20002,0x30000,0x80010000,0x80018001,0x8001,0x0,
  75. 0x0,0x100012,0x10000030,0xa13004,0x40080,0x40801c18,0x40103,0x40801c24,
  76. 0x6,0x3000000,0x706d6173,0x3272656c,0x64,0x318,0x2000001,0x10000,
  77. 0x74000001,0x6f437865,0x64726f,0x5030000,0x10000,0x4000100,0x30002,0x72617600,
  78. 0x6f6c6f43,0x7275,0x50500,0x100,0x4000001,0xf00,0x0,
  79. };
  80. static int _Print3DFragShader_fsc_size = 728;
  81. // ******** End: Print3DFragShader.fsc ********
  82. // ******** Start: Print3DVertShader.vsc ********
  83. // File data
  84. A32BIT _Print3DVertShader_vsc[] = {
  85. 0x10fab438,0x322ecb01,0x35050100,0x901,0xf121629f,0x0,0x0,0xdf020000,
  86. 0x0,0x4000200,0x0,0x19000000,0x204,0x0,0x2010000,0x0,
  87. 0x0,0xaa010000,0x55535020,0x17,0x19e,0x1,0x0,0xc,
  88. 0x0,0x3,0x6d,0x1,0x8,0x0,0xffffffff,0x0,
  89. 0x76000a,0xffff,0xc,0x0,0x110000,0x0,0x0,0x0,
  90. 0x0,0xfffc0000,0x0,0x0,0x0,0x110000,0xffffffff,0x110000,
  91. 0x5678000c,0x10000,0x0,0x10000,0x10001,0x10000,0x20002,0x10000,
  92. 0x30003,0x10000,0x40004,0x10000,0x50005,0x10000,0x60006,0x10000,
  93. 0x70007,0x10000,0x80008,0x10000,0x90009,0x10000,0xa000a,0x10000,
  94. 0xb000b,0x10000,0xc000c,0x10000,0xd000d,0x10000,0xe000e,0x10000,
  95. 0xf000f,0x40000,0x3f000000,0x10,0xf3f,0x4,0x20011,0x20000,
  96. 0x80010000,0x80018001,0x8001,0x0,0x0,0x2000000,0x1001a100,0x40028a1,
  97. 0x3001a080,0x228a1,0x80000,0x80000000,0x80048001,0x8004,0x0,0x40000,
  98. 0x0,0x10001,0x10001,0x4040001,0x1,0x700fa10,0x100260a0,0x50b2883,
  99. 0x3205f000,0x60d10a8,0x605f020,0x48113898,0x606f000,0x8a153882,0x606f000,0xcc193882,
  100. 0x605f060,0x4d0538b2,0xc005e041,0x638a0,0x14000000,0x0,0x0,0x0,
  101. 0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,
  102. 0x0,0x0,0x0,0x0,0x0,0x3f,0x3f,0x0,
  103. 0x0,0x6c670700,0x736f505f,0x6f697469,0x100006e,0x505,0x1000001,0x40000,
  104. 0x6d00000f,0x50564d79,0x7274614d,0x7869,0x31600,0x100,0x10000001,0xffff,
  105. 0x6556796d,0x78657472,0x5000000,0x1000004,0x10000,0xf000400,0x65740000,0x6f6f4378,
  106. 0x6472,0x50300,0x100,0x2040001,0x300,0x5655796d,0x3000000,0x1000004,
  107. 0x10000,0x3000404,0x61760000,0x6c6f4372,0x72756f,0x5050000,0x10000,0x100,
  108. 0xf0004,0x43796d00,0x756f6c6f,0x72,0x405,0x1000001,0x40800,0xf,
  109. };
  110. static int _Print3DVertShader_vsc_size = 767;
  111. // ******** End: Print3DVertShader.vsc ********