mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
agx: Model get_sr
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11199>
This commit is contained in:
parent
f70068583c
commit
223476aff3
@ -90,6 +90,7 @@ NEST = immediate("nest")
|
||||
INVERT_COND = immediate("invert_cond")
|
||||
NEST = immediate("nest")
|
||||
TARGET = immediate("target", "agx_block *")
|
||||
SR = immediate("sr", "enum agx_sr")
|
||||
|
||||
FUNOP = lambda x: (x << 28)
|
||||
FUNOP_MASK = FUNOP((1 << 14) - 1)
|
||||
@ -176,6 +177,8 @@ op("device_load",
|
||||
op("wait", (0x38, 0xFF, 2, _), dests = 0,
|
||||
can_eliminate = False, imms = [SCOREBOARD])
|
||||
|
||||
op("get_sr", (0x72, 0x7F | L, 4, _), dests = 1, imms = [SR])
|
||||
|
||||
# Essentially same encoding
|
||||
op("ld_tile", (0x49, 0x7F, 8, _), dests = 1, srcs = 0,
|
||||
can_eliminate = False, imms = [FORMAT])
|
||||
|
Loading…
Reference in New Issue
Block a user