compiler: add a new explicit interpolation mode
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Jan 2020 09:14:42 +0000 (10:14 +0100)
committerMarge Bot <eric+marge@anholt.net>
Wed, 29 Jan 2020 09:49:50 +0000 (09:49 +0000)
commit746e9e5d66cc3f56d1f73451ad7d59447317106e
tree730676db0df6faf40a047a5f84b50df84266aea9
parente6b531af666be09ed342cc705ae4d6211cd28bc2
compiler: add a new explicit interpolation mode

This introduces one more interpolation mode INTERP_MODE_EXPLICIT,
which is needed for AMD_shader_explicit_vertex_parameter.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3578>
src/compiler/glsl/ir_print_visitor.cpp
src/compiler/glsl_types.h
src/compiler/nir/nir.h
src/compiler/shader_enums.c
src/compiler/shader_enums.h