compiler: add VARYING_SLOT_VIEWPORT_MASK
authorIlia Mirkin <imirkin@alum.mit.edu>
Fri, 10 Apr 2020 17:47:05 +0000 (13:47 -0400)
committerIlia Mirkin <imirkin@alum.mit.edu>
Thu, 16 Apr 2020 00:12:00 +0000 (20:12 -0400)
commit54424a3d13f97bb1714f168f127f40d180f78a6b
treeec25c85bcb76aaf3c7d6c4e000af1c0e1fbbcd42
parent3a9e66277af68824fcfa1650d87222f37f0582cf
compiler: add VARYING_SLOT_VIEWPORT_MASK

See GL_NV_viewport_array2::gl_ViewportMask for how this is supposed
to work.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4529>
src/compiler/shader_enums.c
src/compiler/shader_enums.h
src/mesa/main/mtypes.h
src/mesa/program/prog_print.c