microsoft/compiler: Misc fixes caught by GCC
authorJesse Natalie <jenatali@microsoft.com>
Tue, 1 Dec 2020 16:44:40 +0000 (08:44 -0800)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Dec 2020 17:10:47 +0000 (17:10 +0000)
commite593329b0c9fc1177e8d54ea15693a5a4368b802
tree9febfd743cdd93357ec6e934f874d58949f1c422
parent456620a6ad244a22941c7d5e728e84350816e400
microsoft/compiler: Misc fixes caught by GCC

* Fix const-correctness on dxil_mdnode pointer arrays
* Fix warning for a missing scope in a case block

Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7780>
src/microsoft/compiler/dxil_dump.c
src/microsoft/compiler/dxil_dump_decls.h
src/microsoft/compiler/dxil_internal.h
src/microsoft/compiler/dxil_module.c
src/microsoft/compiler/dxil_nir.c