nouveau/parser: Parse all fields in each method

When converting to mako, the break got moved to the wrong spot and we
were only parsing the first method.  Now we parse them all.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24326>
This commit is contained in:
Faith Ekstrand 2023-01-30 20:12:00 -06:00 committed by Marge Bot
parent 6f01802be5
commit bc992fc6cc

View file

@ -203,8 +203,8 @@ P_DUMP_${nvcl}_MTHD_DATA(FILE *fp, uint16_t idx, uint32_t data,
fprintf(fp, "(0x%x)${bs}n", parsed);
%endif
%endif
break;
%endfor
break;
%endfor
default:
fprintf(fp, "%s.VALUE = 0x%x${bs}n", prefix, data);