diff options
author | Kalamarz, Lukasz <lukasz.kalamarz@intel.com> | 2018-10-10 12:48:37 +0200 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2018-10-15 15:23:53 +0300 |
commit | 68ff28a022dbaa26a20c8a3c0212011a006614b0 (patch) | |
tree | bbd6344b39c06597de4b47a2f8243a3b4154e450 /lib/intel_batchbuffer.c | |
parent | 7e7e0c4ce267c40024012079c18168d47ae78eef (diff) |
libs: Add rendercopy support for GEN11
This patch introduces a render copy shader for GEN11.
The plumbing is same as with GEN9, so we can reuse it, extracting the
common parts, and wrapping it in GEN-specific helpers.
v2: Added gen11 shader source path next to its binary form
Signed-off-by: Lukasz Kalamarz <lukasz.kalamarz@intel.com>
Cc: MichaĆ Winiarski <michal.winiarski@intel.com>
Cc: Antonio Argenziano <antonio.argenziano@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Cc: Rodrigo Vivi <rodrigo.vivi@intel.com>
Cc: Katarzyna Dec <katarzyna.dec@intel.com>
Reviewed-by: Katarzyna Dec <katarzyna.dec@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
-rw-r--r-- | lib/intel_batchbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c index 387404ff..c13b1dc4 100644 --- a/lib/intel_batchbuffer.c +++ b/lib/intel_batchbuffer.c @@ -843,6 +843,8 @@ igt_render_copyfunc_t igt_get_render_copyfunc(int devid) copy = gen8_render_copyfunc; else if (IS_GEN9(devid) || IS_GEN10(devid)) copy = gen9_render_copyfunc; + else if (IS_GEN11(devid)) + copy = gen11_render_copyfunc; return copy; } |