aboutsummaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
authorIndrajit Kumar Das <[email protected]>2020-04-21 16:00:14 +0530
committerIndrajit Kumar Das <[email protected]>2020-04-23 12:02:45 +0530
commitede36a2efe4d40c0ec81f465fdde761a7c335290 (patch)
tree724b39cd740e1de97fc37533369f9f1cd8881dd8 /src/mapi
parentd82f0572180a0d3f4bb87cf49c325439d38ab6e3 (diff)
mesa: add support for AlphaToCoverageDitherControlNV
Reviewed-by: Marek Olšák <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4543>
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/glapi/gen/NV_alpha_to_coverage_dither_control.xml20
-rw-r--r--src/mapi/glapi/gen/gl_API.xml2
-rw-r--r--src/mapi/glapi/gen/meson.build1
-rw-r--r--src/mapi/glapi/gen/static_data.py1
4 files changed, 24 insertions, 0 deletions
diff --git a/src/mapi/glapi/gen/NV_alpha_to_coverage_dither_control.xml b/src/mapi/glapi/gen/NV_alpha_to_coverage_dither_control.xml
new file mode 100644
index 00000000000..0ddc7b83a5f
--- /dev/null
+++ b/src/mapi/glapi/gen/NV_alpha_to_coverage_dither_control.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_NV_alpha_to_coverage_dither_control" number="500" no_error="true">
+
+ <enum name="ALPHA_TO_COVERAGE_DITHER_DEFAULT_NV" value="0x934D" />
+ <enum name="ALPHA_TO_COVERAGE_DITHER_ENABLE_NV" value="0x934E" />
+ <enum name="ALPHA_TO_COVERAGE_DITHER_DISABLE_NV" value="0x934F" />
+
+ <enum name="ALPHA_TO_COVERAGE_DITHER_MODE_NV" value="0x92BF"/>
+
+ <function name="AlphaToCoverageDitherControlNV">
+ <param name="mode" type="GLenum"/>
+ </function>
+
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 4188bbf1986..39c80dabbf4 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -13077,6 +13077,8 @@
<xi:include href="INTEL_performance_query.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+<xi:include href="NV_alpha_to_coverage_dither_control.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+
<category name="GL_EXT_polygon_offset_clamp" number="460">
<enum name="POLYGON_OFFSET_CLAMP_EXT" value="0x8E1B">
<size name="Get" mode="get"/>
diff --git a/src/mapi/glapi/gen/meson.build b/src/mapi/glapi/gen/meson.build
index 8f9a08f5294..f679ed3ee9c 100644
--- a/src/mapi/glapi/gen/meson.build
+++ b/src/mapi/glapi/gen/meson.build
@@ -133,6 +133,7 @@ api_xml_files = files(
'KHR_robustness.xml',
'KHR_robustness_es.xml',
'KHR_texture_compression_astc.xml',
+ 'NV_alpha_to_coverage_dither_control.xml',
'NV_copy_image.xml',
'NV_conditional_render.xml',
'NV_primitive_restart.xml',
diff --git a/src/mapi/glapi/gen/static_data.py b/src/mapi/glapi/gen/static_data.py
index 99be40aac6e..9b15e329be9 100644
--- a/src/mapi/glapi/gen/static_data.py
+++ b/src/mapi/glapi/gen/static_data.py
@@ -1642,6 +1642,7 @@ offsets = {
"EGLImageTargetTextureStorageEXT" : 1606,
"CopyImageSubDataNV": 1607,
"ViewportSwizzleNV": 1608,
+ "AlphaToCoverageDitherControlNV": 1609,
}
functions = [