aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel
diff options
context:
space:
mode:
authorMathieu Bridon <[email protected]>2018-07-05 12:43:04 +0200
committerEric Engestrom <[email protected]>2018-07-05 11:48:47 +0100
commit3153bcc73ef857f9bb294d2eea6964ed35e884bb (patch)
tree545c5f6a4895591961710a80b876ac30d8a1f506 /src/intel
parent8339ba827bf3f18463824206347665a45989b99e (diff)
gallium/auxiliary: Fix string matching
Commit f69bc797e15fe6beb9e439009fab55f7fae0b7f9 did the following: - if format.layout in ('bptc', 'astc'): + if format.layout in ('astc'): The intention was to go from matching either 'bptc' or 'astc' to matching only 'astc'. But the new code doesn't respect this intention any more, because in Python `('astc')` is not a tuple containing a string, it is just the string. (the parentheses are simply ignored) That means we now match any substring of 'astc', for example 'a'. This commit fixes the test to respect the original intention. Fixes: f69bc797e15fe6beb9e4 "gallium/auxiliary: Add helper support for bptc format compress/decompress" Reviewed-by: Eric Engestrom <[email protected]>
Diffstat (limited to 'src/intel')
0 files changed, 0 insertions, 0 deletions