Mesa (vulkan): anv/pipeline: Set up flat enables correctly
Jason Ekstrand
jekstrand at kemper.freedesktop.org
Sun Apr 10 04:12:11 UTC 2016
Module: Mesa
Branch: vulkan
Commit: bff7a8c4f343a67149e6a6854e0597696b3d4b03
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bff7a8c4f343a67149e6a6854e0597696b3d4b03
Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date: Sat Apr 9 17:06:59 2016 -0700
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 cd138df..654d2e0 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,
More information about the mesa-commit
mailing list