Module: Mesa Branch: main Commit: 1aca20be14c421d62b1b43ff3ee1623367b359d0 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1aca20be14c421d62b1b43ff3ee1623367b359d0
Author: Michael Tang <[email protected]> Date: Tue Aug 24 16:53:33 2021 -0700 microsoft/compiler: Emit a flat interpolation method for SV_SampleIndex We do not want to set an interpolation method for vertex shader inputs. Reviewed-by: Jesse Natalie <[email protected]> Reviewed-by: Erik Faye-Lund <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12513> --- src/microsoft/compiler/dxil_signature.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/microsoft/compiler/dxil_signature.c b/src/microsoft/compiler/dxil_signature.c index 61f16ba4f7a..ef28efc5174 100644 --- a/src/microsoft/compiler/dxil_signature.c +++ b/src/microsoft/compiler/dxil_signature.c @@ -191,6 +191,7 @@ get_semantic_sv_name(nir_variable *var, struct semantic_info *info, bool _vulkan break; case SYSTEM_VALUE_SAMPLE_ID: info->kind = DXIL_SEM_SAMPLE_INDEX; + info->interpolation = get_interpolation(var); break; default: unreachable("unsupported system value");
