nouveau/parser: Add array and float tags for clear values

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand
2023-01-30 20:11:55 -06:00
committed by Marge Bot
parent 4d02d9d796
commit 10d16dce1c
@@ -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):