nv50/ir/print: add missing VIEWPORT_MASK handling
authorKarol Herbst <kherbst@redhat.com>
Mon, 15 Jun 2020 00:35:20 +0000 (02:35 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 22 Jun 2020 11:41:31 +0000 (11:41 +0000)
commitb78c3375904c0455f2e426f5569d713db3828583
tree5e7ae87e340ee9c545d3ec63d25989968c1b7b4c
parentaecca24d03a84fda14dc86b548304e6aaf250984
nv50/ir/print: add missing VIEWPORT_MASK handling

Also add an STATIC_ASSERT so we catch those issues automatically.

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5512>
src/gallium/drivers/nouveau/codegen/nv50_ir_print.cpp