mesa: fix enum value of VIEWPORT_SWIZZLE_POSITIVE_W_NV
authorKarol Herbst <kherbst@redhat.com>
Wed, 15 Apr 2020 11:34:55 +0000 (13:34 +0200)
committerKarol Herbst <kherbst@redhat.com>
Wed, 15 Apr 2020 14:43:36 +0000 (16:43 +0200)
Fixes: ff168b297d94 ("mesa: add GL_NV_viewport_swizzle support")
Reported-by: Roy Spliet <nouveau@spliet.org>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4567>

src/mapi/glapi/gen/NV_viewport_swizzle.xml

index 3b653bc66b7bcd71d3cbc43eb7af6f085101b2f1..bf405b6dc0ce0c72d8e3f5218af919f6b26df811 100644 (file)
@@ -21,7 +21,7 @@
     <enum name="VIEWPORT_SWIZZLE_NEGATIVE_Y_NV" value="0x9353"/>
     <enum name="VIEWPORT_SWIZZLE_POSITIVE_Z_NV" value="0x9354"/>
     <enum name="VIEWPORT_SWIZZLE_NEGATIVE_Z_NV" value="0x9355"/>
-    <enum name="VIEWPORT_SWIZZLE_POSITIVE_W_NV" value="0x9358"/>
+    <enum name="VIEWPORT_SWIZZLE_POSITIVE_W_NV" value="0x9356"/>
     <enum name="VIEWPORT_SWIZZLE_NEGATIVE_W_NV" value="0x9357"/>
 
     <enum name="VIEWPORT_SWIZZLE_X_NV" value="0x9358"/>