We need the enum somewhere in the xml files for patch 5 to support the
glGet*()
Otherwise get_hash_params.py will error out.
On 09/12/16 01:29, Ilia Mirkin wrote:
While I'm not against it, not sure that this has much use... mostly
this would be for _mesa_enum_to_string() to work AFAIK. Also, for such
smaller exts, we tend to just stick them into gl_API.xml directly.
Lastly if you do want to keep it in a separate file, make sure to add
it to the list in Makefile.am.
Oops...
On Thu, Dec 8, 2016 at 7:11 AM, Lionel Landwerlin
<lionel.g.landwer...@intel.com> wrote:
Signed-off-by: Lionel Landwerlin <lionel.g.landwer...@intel.com>
Cc: Ilia Mirkin <imir...@alum.mit.edu>
---
src/mapi/glapi/gen/INTEL_conservative_rasterization.xml | 10 ++++++++++
src/mapi/glapi/gen/gl_API.xml | 1 +
2 files changed, 11 insertions(+)
create mode 100644 src/mapi/glapi/gen/INTEL_conservative_rasterization.xml
diff --git a/src/mapi/glapi/gen/INTEL_conservative_rasterization.xml
b/src/mapi/glapi/gen/INTEL_conservative_rasterization.xml
new file mode 100644
index 0000000..0eeb4ce
--- /dev/null
+++ b/src/mapi/glapi/gen/INTEL_conservative_rasterization.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<!DOCTYPE OpenGLAPI SYSTEM "gl_API.dtd">
+
+<OpenGLAPI>
+
+<category name="GL_INTEL_conservative_rasterization" number="491">
+ <enum name="CONSERVATIVE_RASTERIZATION_INTEL" value="0x83FE"/>
+</category>
+
+</OpenGLAPI>
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml
index 00c9bb7..e65ab10 100644
--- a/src/mapi/glapi/gen/gl_API.xml
+++ b/src/mapi/glapi/gen/gl_API.xml
@@ -12812,6 +12812,7 @@
<enum name="GPU_MEMORY_INFO_EVICTED_MEMORY_NVX" value="0x904B"
/>
</category>
+<xi:include href="INTEL_conservative_rasterization.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<xi:include href="INTEL_performance_query.xml"
xmlns:xi="http://www.w3.org/2001/XInclude"/>
<category name="GL_EXT_polygon_offset_clamp" number="460">
--
2.10.2
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev