mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-21 12:00:41 +02:00
agx: Rename some SRs
I think these better represent what these SRs actually do. Signed-off-by: Asahi Lina <lina@asahilina.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27616>
This commit is contained in:
parent
28d34f6352
commit
5d0f1ca77f
2 changed files with 7 additions and 7 deletions
|
|
@ -123,7 +123,7 @@ SR = enum("sr", {
|
|||
8: 'dispatch_threads_per_threadgroup.x',
|
||||
9: 'dispatch_threads_per_threadgroup.y',
|
||||
10: 'dispatch_threads_per_threadgroup.z',
|
||||
20: 'core_index',
|
||||
20: 'core_id',
|
||||
21: 'vm_slot',
|
||||
48: 'thread_position_in_threadgroup.x',
|
||||
49: 'thread_position_in_threadgroup.y',
|
||||
|
|
@ -140,9 +140,9 @@ SR = enum("sr", {
|
|||
81: 'thread_position_in_grid.y',
|
||||
82: 'thread_position_in_grid.z',
|
||||
124: 'input_sample_mask',
|
||||
144: 'opfifo_cmd',
|
||||
146: 'opfifo_data_l',
|
||||
147: 'opfifo_data_h',
|
||||
144: 'helper_op',
|
||||
146: 'helper_arg_l',
|
||||
147: 'helper_arg_h',
|
||||
})
|
||||
|
||||
ATOMIC_OPC = enum("atomic_opc", {
|
||||
|
|
|
|||
|
|
@ -365,9 +365,9 @@ agx_validate_sr(const agx_instr *I)
|
|||
case AGX_SR_IS_ACTIVE_THREAD:
|
||||
return coverage;
|
||||
|
||||
case AGX_SR_OPFIFO_CMD:
|
||||
case AGX_SR_OPFIFO_DATA_L:
|
||||
case AGX_SR_OPFIFO_DATA_H:
|
||||
case AGX_SR_HELPER_OP:
|
||||
case AGX_SR_HELPER_ARG_L:
|
||||
case AGX_SR_HELPER_ARG_H:
|
||||
return barrier;
|
||||
|
||||
default:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue