radv/gfx10: gather GS output for VS as NGG
For streamout we have to the number of streamout outputs. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -546,6 +546,8 @@ gather_info_output_decl(const nir_shader *nir, const nir_variable *var,
|
|||||||
|
|
||||||
if (key->vs_common_out.as_ls)
|
if (key->vs_common_out.as_ls)
|
||||||
gather_info_output_decl_ls(nir, var, info);
|
gather_info_output_decl_ls(nir, var, info);
|
||||||
|
else if (key->vs_common_out.as_ngg)
|
||||||
|
gather_info_output_decl_gs(nir, var, info);
|
||||||
break;
|
break;
|
||||||
case MESA_SHADER_GEOMETRY:
|
case MESA_SHADER_GEOMETRY:
|
||||||
vs_info = &info->vs.outinfo;
|
vs_info = &info->vs.outinfo;
|
||||||
|
Reference in New Issue
Block a user