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 +- .../ES/3.1/KHR_separate_shader_objects.xml | 34 +++++++- .../GL2/ES/3.1/KHR_shader_atomic_counters.xml | 36 +++++++++ .../ES/3.1/KHR_shader_image_load_store.xml | 80 +++++++++++++++++++ .../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 +++ .../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 be2ca597..aea7fdfe 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 09dfac40..ea76cb20 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 8be35a5f..d0e46274 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 00000000..656cd548 --- /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 00000000..475ec742 --- /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 00000000..6b3b178b --- /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 00000000..377f8f32 --- /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 00000000..76666856 --- /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 00000000..12c4e835 --- /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 00000000..ad5ecd73 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_vertex_attrib_binding.xml @@ -0,0 +1,37 @@ + + + + + + VertexAttribType + + + VertexAttribIntegerType + + + + + + + + + + + + + + + + + + + + + + + + + + + +