mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-22 22:10:10 +01:00
intel/decoder: fix COMPUTE_WALKER handling
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Fixes: 17096f87 ("intel: Switch to COMPUTE_WALKER_BODY")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32347>
This commit is contained in:
parent
6341b3cd87
commit
99bb2a087a
1 changed files with 5 additions and 1 deletions
|
|
@ -504,7 +504,11 @@ 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, "Interface Descriptor") == 0) {
|
||||
if (strcmp(iter.name, "body") == 0) {
|
||||
intel_field_iterator_init(&iter, iter.struct_desc,
|
||||
&iter.p[iter.start_bit / 32],
|
||||
0, false);
|
||||
} else if (strcmp(iter.name, "Interface Descriptor") == 0) {
|
||||
handle_interface_descriptor_data(ctx, iter.struct_desc,
|
||||
&iter.p[iter.start_bit / 32]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue