From dcca1d77ac1aa041a17b46230389610cd519f533 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Wed, 13 Aug 2014 15:01:51 +0200 Subject: [PATCH] [ES] Implemented bindings for ES 3.1 (1/2) Implemented core functionality: - KHR_compute_shader - KHR_draw_indirect - KHR_explicit_uniform_location - KHR_framebuffer_no_attachments - KHR_program_interface_queries - KHR_separate_shader_objects --- Source/Bind/Generator.Bind.csproj | 8 +++ .../GL2/ES/3.1/KHR_compute_shader.xml | 31 +++++++++ .../GL2/ES/3.1/KHR_draw_indirect.xml | 22 ++++++ .../ES/3.1/KHR_explicit_uniform_location.xml | 10 +++ .../ES/3.1/KHR_framebuffer_no_attachments.xml | 29 ++++++++ .../ES/3.1/KHR_program_interface_queries.xml | 67 +++++++++++++++++++ .../ES/3.1/KHR_separate_shader_objects.xml | 10 +++ 7 files changed, 177 insertions(+) create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_draw_indirect.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_explicit_uniform_location.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_framebuffer_no_attachments.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_program_interface_queries.xml create mode 100644 Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml diff --git a/Source/Bind/Generator.Bind.csproj b/Source/Bind/Generator.Bind.csproj index ee3e279a..be2ca597 100644 --- a/Source/Bind/Generator.Bind.csproj +++ b/Source/Bind/Generator.Bind.csproj @@ -243,6 +243,12 @@ + + + + + + @@ -272,5 +278,7 @@ + + \ No newline at end of file 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 new file mode 100644 index 00000000..09dfac40 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_compute_shader.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_draw_indirect.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_draw_indirect.xml new file mode 100644 index 00000000..3ecb29de --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_draw_indirect.xml @@ -0,0 +1,22 @@ + + + + + + PrimitiveType + + + PrimitiveType + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_explicit_uniform_location.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_explicit_uniform_location.xml new file mode 100644 index 00000000..69348807 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_explicit_uniform_location.xml @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_framebuffer_no_attachments.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_framebuffer_no_attachments.xml new file mode 100644 index 00000000..7418ea23 --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_framebuffer_no_attachments.xml @@ -0,0 +1,29 @@ + + + + + + FramebufferTarget + FramebufferDefaultParameter + + + FramebufferTarget + FramebufferDefaultParameter + + + + + + + + + + + + + + + + + + diff --git a/Source/Bind/Specifications/GL2/ES/3.1/KHR_program_interface_queries.xml b/Source/Bind/Specifications/GL2/ES/3.1/KHR_program_interface_queries.xml new file mode 100644 index 00000000..8cb7b7fa --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_program_interface_queries.xml @@ -0,0 +1,67 @@ + + + + + + ProgramInterface + ProgramInterfaceParameter + + + + ProgramInterface + + + + ProgramInterface + + + + ProgramInterface + ProgramProperty + + + + ProgramInterface + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file 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 new file mode 100644 index 00000000..8be35a5f --- /dev/null +++ b/Source/Bind/Specifications/GL2/ES/3.1/KHR_separate_shader_objects.xml @@ -0,0 +1,10 @@ + + + + + + ProgramStageMask + + + + \ No newline at end of file