intel/brw: Assert Gfx9+

Acked-by: Ivan Briano <ivan.briano@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27768>
This commit is contained in:
Caio Oliveira
2024-02-14 17:41:46 -08:00
committed by Marge Bot
parent 40437bea86
commit 10230d2eec
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -106,6 +106,7 @@ struct brw_compiler *
brw_compiler_create(void *mem_ctx, const struct intel_device_info *devinfo)
{
struct brw_compiler *compiler = rzalloc(mem_ctx, struct brw_compiler);
assert(devinfo->ver >= 9);
compiler->devinfo = devinfo;
+2
View File
@@ -760,6 +760,8 @@ void
brw_init_isa_info(struct brw_isa_info *isa,
const struct intel_device_info *devinfo)
{
assert(devinfo->ver >= 9);
isa->devinfo = devinfo;
enum gfx_ver ver = gfx_ver_from_devinfo(devinfo);