microsoft/compiler: Avoid integer divides by 0
authorJesse Natalie <jenatali@microsoft.com>
Mon, 1 May 2023 23:43:05 +0000 (16:43 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 9 May 2023 00:33:59 +0000 (00:33 +0000)
commitebe3b91ca014eab04047eba5545328ff1e08a743
treea362fe26256c8f6ba35a09b9668b92e64946ddd6
parenta6ac1f5fbd392ff2ce966a55b8634ee3366cb93e
microsoft/compiler: Avoid integer divides by 0

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22787>
src/microsoft/compiler/nir_to_dxil.c