From a706a78cf5f484ffa1037505c2631ab941d42d1c Mon Sep 17 00:00:00 2001 From: thefiddler Date: Thu, 14 Aug 2014 00:22:07 +0200 Subject: [PATCH] [ES] Implemented bindings for ES 3.1 (2/2) Implemented core functionality: - KHR_shader_atomic_counters - KHR_shader_image_load_store - KHR_shader_storage_buffer_object - KHR_stencil_texturing - KHR_texture_gather - KHR_texture_storage_multisample - KHR_vertex_attrib_binding --- Source/Bind/Generator.Bind.csproj | 7 ++ .../GL2/ES/3.1/KHR_compute_shader.xml | 4 +- .../GL2/ES/3.1/KHR_separate_shader_objects.xml | 34 ++++++++- .../GL2/ES/3.1/KHR_shader_atomic_counters.xml | 36 ++++++++++ .../GL2/ES/3.1/KHR_shader_image_load_store.xml | 80 ++++++++++++++++++++++ .../ES/3.1/KHR_shader_storage_buffer_object.xml | 31 +++++++++ .../GL2/ES/3.1/KHR_stencil_texturing.xml | 14 ++++ .../GL2/ES/3.1/KHR_texture_gather.xml | 11 +++ .../GL2/ES/3.1/KHR_texture_storage_multisample.xml | 67 ++++++++++++++++++ .../GL2/ES/3.1/KHR_vertex_attrib_binding.xml | 37 ++++++++++ 10 files changed, 319 insertions(+), 2 deletions(-) create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_atomic_counters.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_image_load_store.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_storage_buffer_object.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_stencil_texturing.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_gather.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_storage_multisample.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_vertex_attrib_binding.xml diff --git a/Source/Bind/Generator.Bind.csproj b/Source/Bind/Generator.Bind.csproj index be2ca59..aea7fdf 100644 --- a/Source/Bind/Generator.Bind.csproj +++ b/Source/Bind/Generator.Bind.csproj @@ -249,6 +249,13 @@ + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml index 09dfac4..ea76cb2 100644 --- a/Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml @@ -5,8 +5,10 @@ - + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml index 8be35a5..d0e4627 100644 --- a/Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml @@ -2,9 +2,41 @@ - + + ShaderType + + + ProgramPipelineParameter + + ProgramStageMask + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_atomic_counters.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_atomic_counters.xml new file mode 100644 index 0000000..656cd54 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_atomic_counters.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_image_load_store.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_image_load_store.xml new file mode 100644 index 0000000..475ec74 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_image_load_store.xml @@ -0,0 +1,80 @@ + + + + + + TextureAccess + SizedInternalFormat + + + GetIndexedPName + + + MemoryBarrierMask + + + MemoryBarrierRegionMask + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_storage_buffer_object.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_storage_buffer_object.xml new file mode 100644 index 0000000..6b3b178 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_shader_storage_buffer_object.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_stencil_texturing.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_stencil_texturing.xml new file mode 100644 index 0000000..377f8f3 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_stencil_texturing.xml @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_gather.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_gather.xml new file mode 100644 index 0000000..7666685 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_gather.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_storage_multisample.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_storage_multisample.xml new file mode 100644 index 0000000..12c4e83 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_texture_storage_multisample.xml @@ -0,0 +1,67 @@ + + + + + + TextureTargetMultisample2d + SizedInternalFormat + + + GetMultisamplePName + + + TextureTarget + GetTextureParameterName + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_vertex_attrib_binding.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_vertex_attrib_binding.xml new file mode 100644 index 0000000..ad5ecd7 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_vertex_attrib_binding.xml @@ -0,0 +1,37 @@ + + + + + + VertexAttribType + + + VertexAttribIntegerType + + + + + + + + + + + + + + + + + + + + + + + + + + + + -- 2.7.4