util/glsl2spirv: fix appending extra flags
authorDylan Baker <dylan.c.baker@intel.com>
Tue, 1 Nov 2022 19:49:53 +0000 (12:49 -0700)
committerMarge Bot <emma+marge@anholt.net>
Thu, 10 Nov 2022 21:14:17 +0000 (21:14 +0000)
commit4ffa8a9ac010f3db79b1e872f7e664a4470cb981
tree77f311897bd2c6edfd0343b31899d94a33657529
parent041d9ac3dc924b4dc55a53735645ae1de450a513
util/glsl2spirv: fix appending extra flags

The variable is called `extra`, but what's written is `extra - flags`,
and `flags` is undefined, so if the variable was ever passed there would
be an uncaught exception.

fixes: 9786d9ef2abb45a4e832cf1347581e3ca3aae9f0

Reviewed-by: Luis Felipe Strano Moraes <luis.strano@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19449>
src/util/glsl2spirv.py