r600g: Use the actual Evergreen functions to query format support on Evergreen.
[mesa.git] / src / gallium / auxiliary / util / u_format_tests.h
index 2d4d9d5fa9ddaca5c4e58d26b1dd238003bcd5d5..f59563f4f4f0b26cae9ef37acde2fb487681c2a2 100644 (file)
@@ -35,6 +35,8 @@
 
 
 #define UTIL_FORMAT_MAX_PACKED_BYTES 16
+#define UTIL_FORMAT_MAX_UNPACKED_WIDTH 4
+#define UTIL_FORMAT_MAX_UNPACKED_HEIGHT 4
 
 
 /**
@@ -55,7 +57,7 @@ struct util_format_test_case
    /**
     * RGBA.
     */
-   double unpacked[4];
+   double unpacked[UTIL_FORMAT_MAX_UNPACKED_HEIGHT][UTIL_FORMAT_MAX_UNPACKED_WIDTH][4];
 };