radv: Add a common member in the union to make things more clear.
This clarifies that the struct can be used when the shader can be one of VS/TES. Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
This commit is contained in:
@@ -496,7 +496,7 @@ gather_info_output_decl(const nir_shader *nir, const nir_variable *var,
|
||||
gather_info_output_decl_ps(nir, var, info);
|
||||
break;
|
||||
case MESA_SHADER_VERTEX:
|
||||
if (options->key.vs.out.as_ls)
|
||||
if (options->key.vs_common_out.as_ls)
|
||||
gather_info_output_decl_ls(nir, var, info);
|
||||
break;
|
||||
case MESA_SHADER_GEOMETRY:
|
||||
|
Reference in New Issue
Block a user