radv: store vertex attribute formats as pipeline keys
[mesa.git] / src / amd / vulkan / radv_shader.h
index e0d2737872479811e614a819fb470e41736d1420..0dc965b75f52f18e00f426ea61935365ea133706 100644 (file)
@@ -65,6 +65,7 @@ enum {
 struct radv_vs_variant_key {
        uint32_t instance_rate_inputs;
        uint32_t instance_rate_divisors[MAX_VERTEX_ATTRIBS];
+       uint8_t vertex_attribute_formats[MAX_VERTEX_ATTRIBS];
 
        /* For 2_10_10_10 formats the alpha is handled as unsigned by pre-vega HW.
         * so we may need to fix it up. */