From: Jason Ekstrand Date: Fri, 22 Jul 2016 22:59:22 +0000 (-0700) Subject: anv/pipeline: Set up point coord enables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b33bccb51917b9058541641702623bbe89841f1e;p=mesa.git anv/pipeline: Set up point coord enables Signed-off-by: Jason Ekstrand Reviewed-by: Kenneth Graunke Tested-by: Lionel Landwerlin Cc: "12.0" --- 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)