svga: encode sample count in resource declarations
[mesa.git] / src / gallium / drivers / svga / svga_shader.h
index b703e048b24cc0a177586a2dfafdb05653134e54..b80cf181441be992e72f6f1bfac92abe1cfb2004 100644 (file)
@@ -105,6 +105,7 @@ struct svga_compile_key
       unsigned swizzle_g:3;
       unsigned swizzle_b:3;
       unsigned swizzle_a:3;
+      unsigned num_samples:5;   /**< Up to 16 samples */
    } tex[PIPE_MAX_SAMPLERS];
    /* Note: svga_compile_keys_equal() depends on the variable-size
     * tex[] array being at the end of this structure.