0009-GL_EXT_shader_pixel_local_storage2-entry-points.patch 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. From a0e664462560c48078b696e535bcc0bf9e7431e8 Mon Sep 17 00:00:00 2001
  2. From: Rufus Hamade <rufus.hamade@imgtec.com>
  3. Date: Thu, 4 Feb 2016 14:09:26 +0000
  4. Subject: [PATCH] GL_EXT_shader_pixel_local_storage2 entry points
  5. ---
  6. .../gen/EXT_shader_pixel_local_storage2.xml | 35 +++++++++++++++++++
  7. src/mapi/glapi/gen/es_EXT.xml | 3 ++
  8. src/mapi/glapi/gen/static_data.py | 3 ++
  9. 3 files changed, 41 insertions(+)
  10. create mode 100644 src/mapi/glapi/gen/EXT_shader_pixel_local_storage2.xml
  11. diff --git a/src/mapi/glapi/gen/EXT_shader_pixel_local_storage2.xml b/src/mapi/glapi/gen/EXT_shader_pixel_local_storage2.xml
  12. new file mode 100644
  13. index 0000000..20e186c
  14. --- /dev/null
  15. +++ b/src/mapi/glapi/gen/EXT_shader_pixel_local_storage2.xml
  16. @@ -0,0 +1,35 @@
  17. +<?xml version="1.0"?>
  18. +<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
  19. +
  20. +<OpenGLAPI>
  21. +
  22. +<category name="EXT_shader_pixel_local_storage2" number="240">
  23. +
  24. + <enum name="GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT" value="0x8F63"/>
  25. + <enum name="GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT" value="0x8F67"/>
  26. + <enum name="GL_SHADER_PIXEL_LOCAL_STORAGE_EXT" value="0x8F64"/>
  27. + <enum name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT" value="0x9650"/>
  28. + <enum name="GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT" value="0x9651"/>
  29. + <enum name="GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT" value="0x9652"/>
  30. +
  31. + <function name="ClearPixelLocalStorageuiEXT" es2="3.1" exec="dynamic">
  32. + <param name="offset" type="GLsizei"/>
  33. + <param name="n" type="GLsizei"/>
  34. + <param name="values" type="const GLuint *"/>
  35. + </function>
  36. +
  37. + <function name="FramebufferPixelLocalStorageSizeEXT" es2="3.1"
  38. + exec="dynamic">
  39. + <param name="target" type="GLuint"/>
  40. + <param name="size" type="GLsizei"/>
  41. + </function>
  42. +
  43. + <function name="GetFramebufferPixelLocalStorageSizeEXT" es2="3.1"
  44. + exec="dynamic">
  45. + <param name="target" type="GLuint"/>
  46. + <return type="GLsizei"/>
  47. + </function>
  48. +
  49. +</category>
  50. +
  51. +</OpenGLAPI>
  52. diff --git a/src/mapi/glapi/gen/es_EXT.xml b/src/mapi/glapi/gen/es_EXT.xml
  53. index e586b0e..a3bfe86 100644
  54. --- a/src/mapi/glapi/gen/es_EXT.xml
  55. +++ b/src/mapi/glapi/gen/es_EXT.xml
  56. @@ -1459,6 +1459,9 @@
  57. <!-- 240. EXT_sparse_texture -->
  58. <xi:include href="EXT_sparse_texture.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  59. +<!-- 253. GL_EXT_shader_pixel_local_storage2 -->
  60. +<xi:include href="EXT_shader_pixel_local_storage2.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
  61. +
  62. <category name="GL_OES_viewport_array" number="267">
  63. <function name="ViewportArrayvOES" es2="3.1" alias="ViewportArrayv">
  64. <param name="first" type="GLuint"/>
  65. diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
  66. index 79b8f19..99729e2 100644
  67. --- a/src/mapi/glapi/gen/static_data.py
  68. +++ b/src/mapi/glapi/gen/static_data.py
  69. @@ -1697,6 +1697,9 @@ offsets = {
  70. "WeightPointerOES" : 1661,
  71. "RenderbufferStorageMultisampleIMG" : 1662,
  72. "FramebufferTexture2DMultisampleIMG" : 1663,
  73. + "ClearPixelLocalStorageuiEXT" : 1664,
  74. + "FramebufferPixelLocalStorageSizeEXT" : 1665,
  75. + "GetFramebufferPixelLocalStorageSizeEXT" : 1666,
  76. }
  77. functions = [