2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2020-02-22 16:28:27 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Sampler factory table initialization.
|
|
|
|
// Family, gfxCore came from outside, do not set them here unless you
|
|
|
|
// really know what you are doing
|
|
|
|
|
2018-01-24 17:23:11 +08:00
|
|
|
template struct SamplerHw<Family>;
|
2017-12-21 07:45:38 +08:00
|
|
|
template <>
|
|
|
|
void populateFactoryTable<SamplerHw<Family>>() {
|
|
|
|
extern SamplerCreateFunc samplerFactory[IGFX_MAX_CORE];
|
|
|
|
samplerFactory[gfxCore] = SamplerHw<Family>::create;
|
|
|
|
}
|