From: Jason Ekstrand Date: Sun, 10 Apr 2016 00:06:59 +0000 (-0700) Subject: anv/pipeline: Set up flat enables correctly X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bff7a8c4f343a67149e6a6854e0597696b3d4b03;p=mesa.git anv/pipeline: Set up flat enables correctly --- 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,