brw: Remove 3src_exec_size from the field macros
It is incomplete and it is the same as regular exec_size. Change the test code that was using it to use the regular one. Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38208>
This commit is contained in:
@@ -421,7 +421,6 @@ F(3src_debug_control, /* 9+ */ 30, 30, /* 12+ */ 30, 30)
|
||||
F(3src_cmpt_control, /* 9+ */ 29, 29, /* 12+ */ 29, 29)
|
||||
FC(3src_acc_wr_control, /* 9+ */ 28, 28, /* 12+ */ 33, 33, devinfo->ver < 20)
|
||||
F(3src_cond_modifier, /* 9+ */ 27, 24, /* 12+ */ 95, 92)
|
||||
F(3src_exec_size, /* 9+ */ 23, 21, /* 12+ */ 18, 16)
|
||||
F(3src_pred_inv, /* 9+ */ 20, 20, /* 12+ */ 28, 28)
|
||||
F20(3src_pred_control, /* 9+ */ 19, 16, /* 12+ */ 27, 24, /* 20+ */ 27, 26)
|
||||
F(3src_thread_control, /* 9+ */ 15, 14, /* 12+ */ -1, -1)
|
||||
|
||||
@@ -3871,11 +3871,7 @@ TEST_P(validation_test, bfloat_restrictions)
|
||||
UNREACHABLE("unexpected opcode in tests");
|
||||
}
|
||||
|
||||
if (tests[i].opcode == BRW_OPCODE_MAD) {
|
||||
brw_eu_inst_set_3src_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1);
|
||||
} else {
|
||||
brw_eu_inst_set_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1);
|
||||
}
|
||||
brw_eu_inst_set_exec_size(&devinfo, last_inst, cvt(t.exec_size) - 1);
|
||||
|
||||
/* TODO: Expand this test logic to check validation error to other
|
||||
* tests.
|
||||
|
||||
Reference in New Issue
Block a user