anv/pipeline: Set up flat enables correctly
authorJason Ekstrand <jason.ekstrand@intel.com>
Sun, 10 Apr 2016 00:06:59 +0000 (17:06 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sun, 10 Apr 2016 00:06:59 +0000 (17:06 -0700)
src/intel/vulkan/genX_pipeline_util.h

index cd138dfae61471a6c697a928153f066d2e52bda5..654d2e0d43f6cb026df5ef15b9743193a6dc620b 100644 (file)
@@ -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,