intel: Rename gens keyword to gfx_vers

export SEARCH_PATH="src/intel src/gallium/drivers/iris src/mesa/drivers/dri/i965
grep -E "gens" -rIl src/intel/compiler | xargs sed -ie "s/gens/gfx_vers/g"
Exclude changes to few comments.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10241>
This commit is contained in:
Anuj Phogat
2021-04-06 14:35:53 -07:00
committed by Marge Bot
parent ea13901354
commit 0d66f0a2ee
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -271,7 +271,7 @@ gen_f0_1_MOV_GRF_GRF(struct brw_codegen *p)
struct {
void (*func)(struct brw_codegen *p);
int gens;
int gfx_vers;
} tests[] = {
{ gen_MOV_GRF_GRF, GFX_ALL },
{ gen_ADD_GRF_GRF_GRF, GFX_ALL },
@@ -290,7 +290,7 @@ run_tests(const struct intel_device_info *devinfo)
bool fail = false;
for (unsigned i = 0; i < ARRAY_SIZE(tests); i++) {
if ((tests[i].gens & gfx_ver_from_devinfo(devinfo)) == 0)
if ((tests[i].gfx_vers & gfx_ver_from_devinfo(devinfo)) == 0)
continue;
for (int align_16 = 0; align_16 <= 1; align_16++) {