mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
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:
parent
89d6a1cfe4
commit
b813ca5d3b
1 changed files with 1 additions and 0 deletions
|
|
@ -505,6 +505,7 @@ class Condition(Node):
|
|||
|
||||
return fields
|
||||
|
||||
@staticmethod
|
||||
def _is_valid_type(ty):
|
||||
types = {"if", "elif", "else", "endif"}
|
||||
return ty in types
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue