From 10d16dce1c7617d7afbb293ae21a5542c5b3ca54 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Mon, 30 Jan 2023 20:11:55 -0600 Subject: [PATCH] nouveau/parser: Add array and float tags for clear values Part-of: --- src/nouveau/nvidia-headers/class_parser.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nouveau/nvidia-headers/class_parser.py b/src/nouveau/nvidia-headers/class_parser.py index 03ee7bb7dbd..5f259f184e7 100644 --- a/src/nouveau/nvidia-headers/class_parser.py +++ b/src/nouveau/nvidia-headers/class_parser.py @@ -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):