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:
@@ -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;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user