mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 04:20:08 +01:00
nir/algebraic: Detect missing f on F-strings
Missing f in other cases seems to be caught either elsewhere in the
script or by the C compiler.
Fixes: c49d6e0480 ("nir/algebraic: Elide range clamping of f2u sources")
This commit is contained in:
parent
0b69aca0e8
commit
dbdcdb2e38
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ class SearchExpression(object):
|
|||
self.sources = expr[1:]
|
||||
self.ignore_exact = False
|
||||
|
||||
assert '{' not in self.opcode, \
|
||||
'Malformed opcode name \"{}\".'.format(self.opcode)
|
||||
|
||||
@staticmethod
|
||||
def create(val):
|
||||
if isinstance(val, tuple):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue