aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-04-09 17:06:59 -0700
committerJason Ekstrand <[email protected]>2016-04-09 17:06:59 -0700
commitbff7a8c4f343a67149e6a6854e0597696b3d4b03 (patch)
tree93fdc697956fa40a2ca62e3595efd81a6708d7a5 /src/intel/vulkan
parent1275c7c74496ac26286eeb9f2e2b6b735f82cfcb (diff)
anv/pipeline: Set up flat enables correctly
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r--src/intel/vulkan/genX_pipeline_util.h1
1 files changed, 1 insertions, 0 deletions
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,