radv: Add a common member in the union to make things more clear.
[mesa.git] / src / amd / vulkan / radv_shader.h
index f8933614bd702cdd263c67a6e1f816e4d7674667..8506aa1d9f0257adbf8251747b3120e899af49d0 100644 (file)
@@ -118,6 +118,9 @@ struct radv_shader_variant_key {
                struct radv_fs_variant_key fs;
                struct radv_tes_variant_key tes;
                struct radv_tcs_variant_key tcs;
+
+               /* A common prefix of the vs and tes keys. */
+               struct radv_vs_out_key vs_common_out;
        };
        bool has_multiview_view_index;
 };