radv: Fix build
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Jul 2018 06:56:30 +0000 (23:56 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Fri, 27 Jul 2018 06:57:13 +0000 (23:57 -0700)
I renamed this pass and forgot to update radv.

Fixes: 488972222c6454551ab1559f753c13a493dc513f ("i965: Combine both gl_PatchVerticesIn lowering passes.")
src/amd/vulkan/radv_pipeline.c

index 545b618b7c2d2030b43780004515536a7286fd7c..eb58e8a1c0ac81d333f3f9e2a5e1b34e5839aa36 100644 (file)
@@ -2051,7 +2051,7 @@ void radv_create_shaders(struct radv_pipeline *pipeline,
        }
 
        if (nir[MESA_SHADER_TESS_CTRL]) {
-               nir_lower_tes_patch_vertices(nir[MESA_SHADER_TESS_EVAL], nir[MESA_SHADER_TESS_CTRL]->info.tess.tcs_vertices_out);
+               nir_lower_patch_vertices(nir[MESA_SHADER_TESS_EVAL], nir[MESA_SHADER_TESS_CTRL]->info.tess.tcs_vertices_out, NULL);
                merge_tess_info(&nir[MESA_SHADER_TESS_EVAL]->info, &nir[MESA_SHADER_TESS_CTRL]->info);
        }