nouveau/parser: Add array and float tags for clear values
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Tue, 31 Jan 2023 02:11:55 +0000 (20:11 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 4 Aug 2023 21:31:58 +0000 (21:31 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>

src/nouveau/nvidia-headers/class_parser.py

index 03ee7bb..5f259f1 100644 (file)
@@ -37,6 +37,7 @@ METHOD_ARRAY_SIZES = {
     'SET_PIPELINE_*'            : 6,
     'SET_COLOR_TARGET_*'        : 8,
     'SET_COLOR_COMPRESSION'     : 8,
+    'SET_COLOR_CLEAR_VALUE'     : 4,
     'SET_CT_WRITE'              : 8,
     'SET_BLEND'                 : 8,
     'SET_BLEND_PER_TARGET_*'    : 8,
@@ -59,6 +60,7 @@ METHOD_IS_FLOAT = [
     'SET_VIEWPORT_OFFSET_*',
     'SET_VIEWPORT_CLIP_MIN_Z',
     'SET_VIEWPORT_CLIP_MAX_Z',
+    'SET_Z_CLEAR_VALUE',
 ]
 
 def glob_match(glob, name):