swr: [rasterizer core] backend.h declares gBackendPixelRateTable
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 16 Mar 2017 17:00:15 +0000 (12:00 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Mon, 20 Mar 2017 23:04:53 +0000 (18:04 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/backend.h

index 6c0d5dd68e2a788daf76d90334c2612cef3f3819..b99df2dc669612352905fccccd3d1b088c6f8efb 100644 (file)
@@ -784,7 +784,6 @@ void SetupMacroTileScissors(DRAW_CONTEXT *pDC)
 // templated backend function tables
 extern PFN_BACKEND_FUNC gBackendNullPs[SWR_MULTISAMPLE_TYPE_COUNT];
 extern PFN_BACKEND_FUNC gBackendSingleSample[SWR_INPUT_COVERAGE_COUNT][2][2];
-extern PFN_BACKEND_FUNC gBackendPixelRateTable[SWR_MULTISAMPLE_TYPE_COUNT][SWR_MSAA_SAMPLE_PATTERN_COUNT][SWR_INPUT_COVERAGE_COUNT][2][2][2];
 extern PFN_BACKEND_FUNC gBackendSampleRateTable[SWR_MULTISAMPLE_TYPE_COUNT][SWR_INPUT_COVERAGE_COUNT][2][2];
 void SetupPipeline(DRAW_CONTEXT *pDC)
 {
index 0f98f5c06d7072724e360ad8c11dbd8fcd29f811..80ee1defdad93b333e190830a1d6816550acd283 100644 (file)
@@ -46,6 +46,14 @@ void InitBackendFuncTables();
 void InitCPSFuncTables();
 void CalcSampleBarycentrics(const BarycentricCoeffs& coeffs, SWR_PS_CONTEXT &psContext);
 
+extern PFN_BACKEND_FUNC gBackendPixelRateTable[SWR_MULTISAMPLE_TYPE_COUNT]
+                                              [SWR_MSAA_SAMPLE_PATTERN_COUNT]
+                                              [SWR_INPUT_COVERAGE_COUNT]
+                                              [2]  // centroid
+                                              [2]  // forcedSampleCount
+                                              [2]  // canEarlyZ
+                                              ;
+
 enum SWR_BACKEND_FUNCS
 {
     SWR_BACKEND_SINGLE_SAMPLE,