Signed-off-by: Anuj Phogat <anuj.pho...@gmail.com> --- src/intel/vulkan/gen7_pipeline.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/intel/vulkan/gen7_pipeline.c b/src/intel/vulkan/gen7_pipeline.c index 4bab0bc..e804002 100644 --- a/src/intel/vulkan/gen7_pipeline.c +++ b/src/intel/vulkan/gen7_pipeline.c @@ -273,7 +273,8 @@ genX(graphics_pipeline_create)( wm.EarlyDepthStencilControl = EDSC_NORMAL; } - wm.BarycentricInterpolationMode = wm_prog_data->barycentric_interp_modes; + wm.BarycentricInterpolationMode = pipeline->ps_ksp0 == NO_KERNEL ? + 0 : wm_prog_data->barycentric_interp_modes; wm.MultisampleRasterizationMode = samples > 1 ? MSRASTMODE_ON_PATTERN : MSRASTMODE_OFF_PIXEL; -- 2.5.5 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev