[Mesa-stable] [Mesa-dev] [PATCH] anv/pipeline: Set up point coord enables

Lionel Landwerlin lionel.g.landwerlin at intel.com
Fri Jul 22 23:15:56 UTC 2016


Tested-by: Lionel Landwerlin <lionel.g.landwerlin at intel.com>

On 23/07/16 00:28, Jason Ekstrand wrote:
> Signed-off-by: Jason Ekstrand <jason at jlekstrand.net>
> Cc: "12.0" <mesa-stable at lists.freedesktop.org>
> ---
>   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 52263df..516fc49 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)




More information about the mesa-stable mailing list