diff options
author | Tim Rowley <[email protected]> | 2017-03-16 12:00:15 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-03-20 18:04:53 -0500 |
commit | 2c820d22cf703692b5de66289a0c81d7555aa9d6 (patch) | |
tree | 0ba2e666a739718d513f8f3ed0fc060055c57bf8 /src/gallium/drivers | |
parent | 50d491e22d615925bb772cb91f89745acd4de286 (diff) |
swr: [rasterizer core] backend.h declares gBackendPixelRateTable
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/api.cpp | 1 | ||||
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/backend.h | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/api.cpp b/src/gallium/drivers/swr/rasterizer/core/api.cpp index 6c0d5dd68e2..b99df2dc669 100644 --- a/src/gallium/drivers/swr/rasterizer/core/api.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/api.cpp @@ -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) { diff --git a/src/gallium/drivers/swr/rasterizer/core/backend.h b/src/gallium/drivers/swr/rasterizer/core/backend.h index 0f98f5c06d7..80ee1defdad 100644 --- a/src/gallium/drivers/swr/rasterizer/core/backend.h +++ b/src/gallium/drivers/swr/rasterizer/core/backend.h @@ -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, |