mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
anv: Drop unnecessary intel_canonical_address() call around anv_address_physical()
anv_address_physical() already returns a canonical address. Signed-off-by: José Roberto de Souza <jose.souza@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23977>
This commit is contained in:
parent
2fa4fe2c85
commit
27e20c8726
1 changed files with 1 additions and 1 deletions
|
|
@ -315,7 +315,7 @@ get_gpu_scratch_layout(struct anv_address base,
|
|||
};
|
||||
gpuva_t current = anv_address_physical(base);
|
||||
|
||||
scratch.globals = intel_canonical_address(current);
|
||||
scratch.globals = current;
|
||||
current += sizeof(struct Globals);
|
||||
|
||||
scratch.primrefs = intel_canonical_address(current);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue