From bff7a8c4f343a67149e6a6854e0597696b3d4b03 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Sat, 9 Apr 2016 17:06:59 -0700 Subject: [PATCH] anv/pipeline: Set up flat enables correctly --- src/intel/vulkan/genX_pipeline_util.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/intel/vulkan/genX_pipeline_util.h b/src/intel/vulkan/genX_pipeline_util.h index cd138dfae61..654d2e0d43f 100644 --- a/src/intel/vulkan/genX_pipeline_util.h +++ b/src/intel/vulkan/genX_pipeline_util.h @@ -239,6 +239,7 @@ emit_3dstate_sbe(struct anv_pipeline *pipeline) .AttributeSwizzleEnable = true, .PointSpriteTextureCoordinateOrigin = UPPERLEFT, .NumberofSFOutputAttributes = wm_prog_data->num_varying_inputs, + .ConstantInterpolationEnable = wm_prog_data->flat_inputs, #if GEN_GEN >= 9 .Attribute0ActiveComponentFormat = ACF_XYZW, -- 2.30.2