intel/genxml: rename body field
So that the body field has the same name in COMPUTE_WALKER & EXECUTE_INDIRECT_DISPATCH. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36146>
This commit is contained in:
committed by
Marge Bot
parent
ba0c1d6956
commit
ac78693b6a
@@ -503,8 +503,7 @@ handle_compute_walker(struct intel_batch_decode_ctx *ctx,
|
||||
struct intel_field_iterator iter;
|
||||
intel_field_iterator_init(&iter, inst, p, 0, false);
|
||||
while (intel_field_iterator_next(&iter)) {
|
||||
if (strcmp(iter.name, "body") == 0 ||
|
||||
strcmp(iter.name, "COMPUTE_WALKER_BODY") == 0) {
|
||||
if (strcmp(iter.name, "body") == 0) {
|
||||
intel_field_iterator_init(&iter, iter.struct_desc,
|
||||
&iter.p[iter.start_bit / 32],
|
||||
0, false);
|
||||
|
||||
Reference in New Issue
Block a user