mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 14:40:10 +01:00
iris: Properly align interface descriptor data addresses
MEDIA_INTERFACE_DESCRIPTOR's Interface Descriptor Data Start Address field's docs say: "This bit specifies the 64-byte aligned address..." And we were doing 32. Superfluous thread ID uploading was apparently saving us from GPU hangs in most cases.
This commit is contained in:
parent
62c6059584
commit
f94ebf0c9d
1 changed files with 1 additions and 1 deletions
|
|
@ -5567,7 +5567,7 @@ iris_upload_compute_state(struct iris_context *ice,
|
|||
GENX(INTERFACE_DESCRIPTOR_DATA_length) * sizeof(uint32_t);
|
||||
load.InterfaceDescriptorDataStartAddress =
|
||||
emit_state(batch, ice->state.dynamic_uploader,
|
||||
&desc_res, desc, sizeof(desc), 32);
|
||||
&desc_res, desc, sizeof(desc), 64);
|
||||
}
|
||||
|
||||
pipe_resource_reference(&desc_res, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue