From b33bccb51917b9058541641702623bbe89841f1e Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 22 Jul 2016 15:59:22 -0700 Subject: [PATCH] anv/pipeline: Set up point coord enables Signed-off-by: Jason Ekstrand Reviewed-by: Kenneth Graunke Tested-by: Lionel Landwerlin Cc: "12.0" --- src/intel/vulkan/genX_pipeline_util.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/intel/vulkan/genX_pipeline_util.h b/src/intel/vulkan/genX_pipeline_util.h index 52263dfd70c..516fc49acd1 100644 --- a/src/intel/vulkan/genX_pipeline_util.h +++ b/src/intel/vulkan/genX_pipeline_util.h @@ -291,6 +291,11 @@ emit_3dstate_sbe(struct anv_pipeline *pipeline) if (input_index < 0) continue; + if (attr == VARYING_SLOT_PNTC) { + sbe.PointSpriteTextureCoordinateEnable = 1 << input_index; + continue; + } + const int slot = fs_input_map->varying_to_slot[attr]; if (input_index >= 16) -- 2.30.2