[Mesa-dev] [PATCH 3/3] radv: call nir_link_xfb_varyings()
Samuel Pitoiset
samuel.pitoiset at gmail.com
Tue Oct 23 20:24:17 UTC 2018
Patches 2-3 are:
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Thanks!
On 10/23/18 12:56 PM, Timothy Arceri wrote:
> ---
> src/amd/vulkan/radv_pipeline.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c
> index 396b44d25a1..c21ca1743a4 100644
> --- a/src/amd/vulkan/radv_pipeline.c
> +++ b/src/amd/vulkan/radv_pipeline.c
> @@ -1792,6 +1792,10 @@ radv_link_shaders(struct radv_pipeline *pipeline, nir_shader **shaders)
> unsigned first = ordered_shaders[shader_count - 1]->info.stage;
> unsigned last = ordered_shaders[0]->info.stage;
>
> + if (ordered_shaders[0]->info.stage == MESA_SHADER_FRAGMENT &&
> + ordered_shaders[1]->info.has_transform_feedback_varyings)
> + nir_link_xfb_varyings(ordered_shaders[1], ordered_shaders[0]);
> +
> for (int i = 0; i < shader_count; ++i) {
> nir_variable_mode mask = 0;
>
>
More information about the mesa-dev
mailing list