pvr: csbgen: Add a missing @staticmethod decorator

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
Reviewed-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16884>
This commit is contained in:
Matt Coster 2022-05-23 09:48:39 +01:00 committed by Marge Bot
parent 89d6a1cfe4
commit b813ca5d3b

View file

@ -505,6 +505,7 @@ class Condition(Node):
return fields
@staticmethod
def _is_valid_type(ty):
types = {"if", "elif", "else", "endif"}
return ty in types