isaspec: Fix gpu_id for default_options
We forgot to set this. It starts to matter in the next patch, otherwise pre-pass to detect branch targets (needed for backwards jumps/branches) will not work. Signed-off-by: Rob Clark <robdclark@chromium.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13300>
This commit is contained in:
parent
c4e7541b9d
commit
d77b9fb518
|
@ -757,6 +757,7 @@ void
|
||||||
isa_decode(void *bin, int sz, FILE *out, const struct isa_decode_options *options)
|
isa_decode(void *bin, int sz, FILE *out, const struct isa_decode_options *options)
|
||||||
{
|
{
|
||||||
const struct isa_decode_options default_options = {
|
const struct isa_decode_options default_options = {
|
||||||
|
.gpu_id = options ? options->gpu_id : 0,
|
||||||
.branch_labels = options ? options->branch_labels : false
|
.branch_labels = options ? options->branch_labels : false
|
||||||
};
|
};
|
||||||
struct decode_state *state;
|
struct decode_state *state;
|
||||||
|
|
Loading…
Reference in New Issue