intel/compiler: Add GEN125 to enum gen
Recommended-by: Jason Ekstrand <jason@jlekstrand.net> Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7757>
This commit is contained in:
parent
cd3251d6ba
commit
071fd55381
|
@ -25,17 +25,18 @@
|
||||||
#include "dev/gen_device_info.h"
|
#include "dev/gen_device_info.h"
|
||||||
|
|
||||||
enum gen {
|
enum gen {
|
||||||
GEN4 = (1 << 0),
|
GEN4 = (1 << 0),
|
||||||
GEN45 = (1 << 1),
|
GEN45 = (1 << 1),
|
||||||
GEN5 = (1 << 2),
|
GEN5 = (1 << 2),
|
||||||
GEN6 = (1 << 3),
|
GEN6 = (1 << 3),
|
||||||
GEN7 = (1 << 4),
|
GEN7 = (1 << 4),
|
||||||
GEN75 = (1 << 5),
|
GEN75 = (1 << 5),
|
||||||
GEN8 = (1 << 6),
|
GEN8 = (1 << 6),
|
||||||
GEN9 = (1 << 7),
|
GEN9 = (1 << 7),
|
||||||
GEN10 = (1 << 8),
|
GEN10 = (1 << 8),
|
||||||
GEN11 = (1 << 9),
|
GEN11 = (1 << 9),
|
||||||
GEN12 = (1 << 10),
|
GEN12 = (1 << 10),
|
||||||
|
GEN125 = (1 << 11),
|
||||||
GEN_ALL = ~0
|
GEN_ALL = ~0
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -54,7 +55,7 @@ gen_from_devinfo(const struct gen_device_info *devinfo)
|
||||||
case 8: return GEN8;
|
case 8: return GEN8;
|
||||||
case 9: return GEN9;
|
case 9: return GEN9;
|
||||||
case 11: return GEN11;
|
case 11: return GEN11;
|
||||||
case 12: return GEN12;
|
case 12: return gen_device_info_is_12hp(devinfo) ? GEN125 : GEN12;
|
||||||
default:
|
default:
|
||||||
unreachable("not reached");
|
unreachable("not reached");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue