[Mesa-dev] [PATCH v2 11/14] anv: Use the TES output VUE map when it's the last enabled stage.

Jason Ekstrand jason at jlekstrand.net
Tue Jan 10 17:32:39 UTC 2017


Lionel just set a few patches which should make this one redundant.

On Mon, Jan 9, 2017 at 11:37 PM, Kenneth Graunke <kenneth at whitecape.org>
wrote:

> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/intel/vulkan/genX_pipeline.c | 3 +++
>  1 file changed, 3 insertions(+)
>
> diff --git a/src/intel/vulkan/genX_pipeline.c b/src/intel/vulkan/genX_
> pipeline.c
> index 5d63a394cc1..3f3eab5fe19 100644
> --- a/src/intel/vulkan/genX_pipeline.c
> +++ b/src/intel/vulkan/genX_pipeline.c
> @@ -286,6 +286,7 @@ static void
>  emit_3dstate_sbe(struct anv_pipeline *pipeline)
>  {
>     const struct brw_vs_prog_data *vs_prog_data =
> get_vs_prog_data(pipeline);
> +   const struct brw_tes_prog_data *tes_prog_data =
> get_tes_prog_data(pipeline);
>     const struct brw_gs_prog_data *gs_prog_data =
> get_gs_prog_data(pipeline);
>     const struct brw_wm_prog_data *wm_prog_data =
> get_wm_prog_data(pipeline);
>     const struct brw_vue_map *fs_input_map;
> @@ -300,6 +301,8 @@ emit_3dstate_sbe(struct anv_pipeline *pipeline)
>
>     if (gs_prog_data)
>        fs_input_map = &gs_prog_data->base.vue_map;
> +   else if (tes_prog_data)
> +      fs_input_map = &tes_prog_data->base.vue_map;
>     else
>        fs_input_map = &vs_prog_data->base.vue_map;
>
> --
> 2.11.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170110/3908dfba/attachment.html>


More information about the mesa-dev mailing list