diff --git a/src/nouveau/vulkan/nvk_codegen.c b/src/nouveau/vulkan/nvk_codegen.c index 39da05be49d..73d363e5ddd 100644 --- a/src/nouveau/vulkan/nvk_codegen.c +++ b/src/nouveau/vulkan/nvk_codegen.c @@ -71,6 +71,8 @@ find_or_create_input(nir_builder *b, const struct glsl_type *type, in->data.location = location; if (glsl_type_is_integer(type)) in->data.interpolation = INTERP_MODE_FLAT; + else + in->data.interpolation = INTERP_MODE_NOPERSPECTIVE; return in; }