mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
brw: Fix outdated comments about urb->offset units
I recently converted urb->offset to be in bytes on Xe2, but neglected to
update these comments that still said OWord.
Fixes: 9ffae42975 ("brw: Store brw_urb_inst::offset in bytes on Xe2")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Rohan Garg <rohan.garg@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38899>
This commit is contained in:
parent
bb06af3f9b
commit
9482d392a1
1 changed files with 2 additions and 2 deletions
|
|
@ -100,7 +100,7 @@ lower_urb_read_logical_send_xe2(const brw_builder &bld, brw_urb_inst *urb)
|
|||
bld.MOV(payload, handle);
|
||||
|
||||
/* The low 24-bits of the URB handle is a byte offset into the URB area.
|
||||
* Add the (OWord) offset of the write to this value.
|
||||
* Add the byte offset of the write to this value.
|
||||
*/
|
||||
if (urb->offset) {
|
||||
bld.ADD(payload, payload, brw_imm_ud(urb->offset));
|
||||
|
|
@ -221,7 +221,7 @@ lower_urb_write_logical_send_xe2(const brw_builder &bld, brw_urb_inst *urb)
|
|||
bld.MOV(payload, handle);
|
||||
|
||||
/* The low 24-bits of the URB handle is a byte offset into the URB area.
|
||||
* Add the (OWord) offset of the write to this value.
|
||||
* Add the byte offset of the write to this value.
|
||||
*/
|
||||
if (urb->offset) {
|
||||
bld.ADD(payload, payload, brw_imm_ud(urb->offset));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue