Alyssa Rosenzweig
18cfb0c4b4
panfrost: Fix transform feedback on v9
...
We were using a stale FAU buffer which meant we wrote to garbage addresses. I'm
guessing this was fallout from the big sysval rework but not 100% sure.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24199 >
(cherry picked from commit c282f80c98 )
2023-07-28 10:46:34 -07:00
Iván Briano
60e9da990c
anv: ensure CFE_STATE is emitted for ray tracing pipelines
...
Fixes sporadic failures in dEQP-VK.robustness.robustness2.*.rgen
Fixes: ecb709c853 ("anv: only emit CFE_STATE when scratch space increases")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9382
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24206 >
(cherry picked from commit 75990e5564 )
2023-07-28 10:46:34 -07:00
David Heidelberg
1cb349d463
ci/microsoft: when re-enabling Windows Farm, always run the container
...
Otherwise, Marge queue has to wait for someone manually trigger it.
Fixes: d3b66356 ("ci/microsoft: partly revert rename from container-rules to manual-rules")
Acked-by: Daniel Stone <daniels@collabora.com >
Reviewed-by: Jesse Natalie <jenatali@microsoft.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24048 >
(cherry picked from commit a6edac3764 )
2023-07-28 10:46:34 -07:00
Dylan Baker
d3c0e34fe6
.pick_status.json: Update to 59087003c4
2023-07-28 10:46:34 -07:00
David Heidelberg
35610ab73c
ci: add quirk for GitLab assuming changes is always true for scheduled runs
...
Sadly GitLab CI always evaluate `rules:changes` as true, when running
scheduled runs. So we have to add explicit condition to ignore it there.
Every line using `rules:changes` has to have following condition
ignoring "schedule" runes.
Cc: mesa-stable
Reported-by: Emma Anholt <emma@anholt.net >
Reviewed-by: Eric Engestrom <eric@igalia.com >
Signed-off-by: David Heidelberg <david.heidelberg@collabora.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24051 >
(cherry picked from commit 79f7882fc6 )
2023-07-28 10:46:34 -07:00
Marek Olšák
0864841fc6
mesa: fix 38% decrease in display list performance of Viewperf2020/NX8_StudioAA
...
It happened because glCallList was restoring varying_vp_inputs, which
caused every glCallList to process the state change again.
This loosely reverts commit 3a294ff01f
"mesa: move the _mesa_set_varying_vp_inputs call to where the state changes".
Fixes: 3a294ff01f - "mesa: move the _mesa_set_varying_vp_inputs call to where the state changes"
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24165 >
(cherry picked from commit c97961a855 )
2023-07-28 10:46:34 -07:00
Rhys Perry
df3879dfe6
nir/unsigned_upper_bound: fix phi(bcsel)
...
This was looking at the wrong sources. src0 is the condition.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Konstantin Seurer <konstantin.seurer@gmail.com >
Fixes: 72ac3f6026 ("nir: add nir_unsigned_upper_bound and nir_addition_might_overflow")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23990 >
(cherry picked from commit 1139d870f3 )
2023-07-28 10:46:33 -07:00
Rohan Garg
bde2bba37d
intel/perf: add perf query support for Intel Raptorlake
...
Fixes: 4e0eca7dc3 ("intel/dev: Add device info for RPL")
Signed-off-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24180 >
(cherry picked from commit 36d4e83299 )
2023-07-28 10:46:33 -07:00
Marek Olšák
eb64d60140
glthread: determine global locking once every 64 batches to fix get_time perf
...
This mitigates a large perf degradation when the clock source is HPET instead of TSC.
Just call get_time less frequently.
Fixes: 3ed141e9 - glthread: add a heuristic to stop locking global mutexes with multiple contexts
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/8910
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24168 >
(cherry picked from commit 6cda08416b )
2023-07-28 10:46:33 -07:00
Rhys Perry
62e3b18ddd
ac/nir: always round cube array layers
...
It seems this is still necessary if conformant_trunc_coord=true.
Fixes various dEQP-VK.texture.shadow.cube_array.* and
dEQP-VK.glsl.texture_functions.texture*samplercubearray* failures with
conformant_trunc_coord.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Cc: 23.2 <mesa-stable>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24137 >
(cherry picked from commit d4b211bf1b )
2023-07-28 10:46:33 -07:00
Rhys Perry
53b22433b9
radv: add conformant_trunc_coord to cache UUID
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Georg Lehmann <dadschoorse@gmail.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24137 >
(cherry picked from commit 436df35c17 )
2023-07-28 10:46:33 -07:00
Rhys Perry
9b0da6c5ad
ac/llvm: skip ballot zext for 32-bit dest with wave32-as-wave64
...
NGG lowering can ballots with a 32-bit destination even if the ballot bit
size is 64.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140 >
(cherry picked from commit 0cb26f31fe )
2023-07-28 10:46:33 -07:00
Rhys Perry
fae833ec0e
ac/llvm: fix wave32 ac_build_mbcnt_add with 64-bit mask
...
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140 >
(cherry picked from commit 47c9dea6ac )
2023-07-28 10:46:33 -07:00
Rhys Perry
c29a182547
radv: fix radv_get_ballot_bit_size with CS
...
For wave64-as-wave32, this would return 32.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140 >
(cherry picked from commit 7a199a051e )
2023-07-28 10:46:33 -07:00
Rhys Perry
2619e53e9f
ac/llvm: fix AC_TM_CHECK_IR
...
This was using the wrong pass.
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com >
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Marek Olšák <marek.olsak@amd.com >
Fixes: 3f272fd15e ("ac/llvm: fix build with LLVM 17")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24140 >
(cherry picked from commit 85d1159a2a )
2023-07-28 10:46:33 -07:00
Rohan Garg
e4848037a4
iris: fix iris for WA 16013000631
...
iris needs to emit a PIPE_CONTROL_INSTRUCTION_INVALIDATE for the
aforementioned WA.
Fixes: 83716b08c ('iris: migrate WA 14013910100 to use the WA framework')
Signed-off-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24171 >
(cherry picked from commit 07a9585898 )
2023-07-28 10:46:33 -07:00
Faith Ekstrand
506b1b801a
nv50/ir: Support vector movs
...
nir_opt_mov and nir_op_vecN are only the same if the mov is only a
single component. Otherwise the vec loop will try to access src[c]
where c > 0 which breaks for nir_op_mov. It's uncommon but scalar
back-ends can see vector movs so we need to handle this correctly.
Fixes: 6513c675ad ("nv50/ir/nir: implement nir_alu_instr handling")
Reviewed-by: Karol Herbst <kherbst@redhat.com >
Reviewed-by: M Henning <drawoc@darkrefraction.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24167 >
(cherry picked from commit 259ba104f7 )
2023-07-17 14:45:13 -07:00
Semjon Kravtsenko
8f3f35b868
glx: Assign unique serial number to GLXBadFBConfig error
...
Fixes: e89e1f5049 ("glx: Fix error handling yet again in CreateContextAttribs")
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/9171
Tested-by: yan12125
Co-authored-by: XRevan86
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23762 >
(cherry picked from commit 3982445728 )
2023-07-17 14:45:11 -07:00
Dylan Baker
37d0a9fdaf
.pick_status.json: Update to 3a8aae9e6a
2023-07-17 14:45:09 -07:00
Rohan Garg
5d9318a0d2
iris: migrate WA 14016118574 to use the WA framework
...
Fixes: 58829d9f1 ("iris: implement Wa_14016118574")
Signed-off-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24156 >
(cherry picked from commit 8b93fa149b )
2023-07-14 15:30:41 -07:00
Rohan Garg
f9360a7184
iris: migrate WA 14013910100 to use the WA framework
...
Fixes: eeb3f4594d ("intel/xehp: Implement XeHP workaround Wa_14013910100.")
Signed-off-by: Rohan Garg <rohan.garg@intel.com >
Reviewed-by: José Roberto de Souza <jose.souza@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24156 >
(cherry picked from commit 83716b08cf )
2023-07-14 15:30:41 -07:00
Marek Olšák
bcd8cbe9a5
Revert "ac/nir/ngg: Follow intrinsic sources when analyzing before culling."
...
This reverts commit 411f69b9c5 .
It broke tessellation in Unigine Heaven with radeonsi.
Fixes: 411f69b9c5 - ac/nir/ngg: Follow intrinsic sources when analyzing before culling.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24160 >
(cherry picked from commit 043dcfad04 )
2023-07-14 15:30:40 -07:00
David Rosca
b691951239
radeonsi: Use DIV_ROUND_UP instead of ALIGN_POT
...
DIV_ROUND_UP is the correct replacement for ALIGN_TO.
Fixes: ba83c1e2
Signed-off-by: David Rosca <nowrep@gmail.com >
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com >
Reviewed-by: Ruijing Dong <ruijing.dong@amd.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24127 >
(cherry picked from commit d408ae88db )
2023-07-14 15:30:37 -07:00
Timur Kristóf
6e46d67a3c
aco: Fix subgroup_id intrinsic on GFX10.3+.
...
Change this to match how it works in the LLVM backend.
Cc: mesa-stable
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com >
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24005 >
(cherry picked from commit dc3bbd351a )
2023-07-14 15:30:37 -07:00
Frank Binns
340d8511ac
pvr: skip setting up SPM consts buffer when no const shared regs are used
...
This is a temporary measure until the zeroed shaders are replaced with the real
ones. This avoids a VK_ERROR_OUT_OF_DEVICE_MEMORY error due to a zero sized
allocation.
Signed-off-by: Frank Binns <frank.binns@imgtec.com >
Reviewed-by: Karmjit Mahil <Karmjit.Mahil@imgtec.com >
Fixes: 1dfd535124 ("pvr: Setup SPM background object")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24139 >
(cherry picked from commit b470d931dc )
2023-07-14 15:30:36 -07:00
Dylan Baker
ec812aaae1
.pick_status.json: Update to 27d30fe3c0
2023-07-14 15:30:35 -07:00
Filip Gawin
f6b3c7d830
crocus: Avoid fast-clear with incompatible view
...
Port of code from iris.
Original author: Nanley Chery
Helps with fast_color_clear@fcc-write-after-clear
Cc: mesa-stable
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24135 >
(cherry picked from commit 6e87b277bd )
2023-07-13 08:43:02 -07:00
Pavel Ondračka
2089ce9ffc
r300: update RV370 failures
...
This was missed in 0bf6dcb785
There is a loop which iterates over a temp array. NIR optimization
moves the real work out of the loop and what remains are just ALU ops
with undefs. So after converting undefs to zero, the ALU ops are
optimized out and DCE kills the loop. This is a good thing in
general and we don't fail the linking due to the loop presence.
However than we hit the shader constants and ALU limits later :-(
So from dEQP POW we go from NotSupported to Fail.
Fixes: 0bf6dcb785
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24134 >
(cherry picked from commit 0a2a7bfd19 )
2023-07-13 08:43:01 -07:00
Jordan Justen
38fb8dcbdf
isl: Set MOCS to uncached for MTL stream-out
...
Without this change various OpenGL CTS tranform feedback tests were
failing.
Cc: 23.2 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23823 >
(cherry picked from commit 39f547381c )
2023-07-13 08:43:01 -07:00
Jordan Justen
64da97504c
isl/dev: Add uncached MOCS value
...
Rework:
* Jordan: Add uncached for all platforms (Requested by Francisco)
* Jordan: Use gen7 & gen8 values suggested by Francisco
* Jordan: Fix IVB and CHV MOCS mistakes pointed out by Francisco
Cc: 23.2 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23823 >
(cherry picked from commit fa47c82fbe )
2023-07-13 08:43:00 -07:00
Jordan Justen
151f3e9121
anv,iris,hasvk: Use ISL_SURF_USAGE_STREAM_OUT_BIT for setting stream-out MOCS
...
Cc: 23.2 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23823 >
(cherry picked from commit 492b07625d )
2023-07-13 08:43:00 -07:00
Jordan Justen
5626212e30
isl: Add ISL_SURF_USAGE_STREAM_OUT_BIT
...
Cc: 23.2 <mesa-stable>
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com >
Reviewed-by: Francisco Jerez <currojerez@riseup.net >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23823 >
(cherry picked from commit 6b5082f5d5 )
2023-07-13 08:43:00 -07:00
Yiwei Zhang
8ada1e6e4d
venus: add a missing barrier before copying query feedback
...
The 1st sync scope of vkCmdCopyQueryPoolResults is not sufficient to
cover transfer writes against query feedback buffer. We must ensure
ordering against prior query reset cmd where the feedback buffer fill
gets injected.
Fixes: de4593faa1 ("venus: add query pool feedback cmds")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24130 >
(cherry picked from commit ed79b30639 )
2023-07-13 08:42:59 -07:00
Yiwei Zhang
6e8e1b8309
venus: ensure consistency of query overflow behavior
...
Fixes: e6cffa1f0e ("venus: use feedback for vkGetQueryPoolResults")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24123 >
(cherry picked from commit 7b44880e3e )
2023-07-13 08:42:58 -07:00
Yiwei Zhang
6874eed028
venus: handle query feedback creation failure
...
Fixes: e6cffa1f0e ("venus: use feedback for vkGetQueryPoolResults")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24123 >
(cherry picked from commit c55d43df04 )
2023-07-13 08:42:56 -07:00
Eric Engestrom
e520c77063
ci: avoid running hardware jobs if lint fails - now on Windows too!
...
I missed this in !23774 .
Fixes: a1c1cce9df ("ci: avoid running hardware jobs if there are already trivial issues")
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24121 >
(cherry picked from commit bdaee9e09d )
2023-07-13 08:42:55 -07:00
Eric Engestrom
4a08c40b48
ci: avoid running hardware jobs if lint fails - now on LAVA too!
...
I missed this in !23774 .
Fixes: a1c1cce9df ("ci: avoid running hardware jobs if there are already trivial issues")
Signed-off-by: Eric Engestrom <eric@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24121 >
(cherry picked from commit fd35e59139 )
2023-07-13 08:42:54 -07:00
Dylan Baker
3694762b76
.pick_status.json: Update to 6e87b277bd
2023-07-13 08:42:53 -07:00
Dylan Baker
28e0c0f52f
docs: Update release calendar for 23.2.0-rc1
2023-07-12 16:03:53 -07:00
Dylan Baker
81c239cb85
VERSION: update to 23.2.0-rc1
mesa-23.2.0-rc1
2023-07-12 14:21:33 -07:00
Karol Herbst
2c48ce81a8
api/icd: drop static lifetime from get_ref return type
...
This was never correct as the object pointed to can be destroyed at any
moment.
Signed-off-by: Karol Herbst <git@karolherbst.de >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061 >
23.2.0-branchpoint
2023-07-12 15:18:22 +00:00
Karol Herbst
d653eb8a9a
rusticl/device: make it &'static
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061 >
2023-07-12 15:18:22 +00:00
Karol Herbst
afe95b613c
rusticl: Replace &Arc<Device> with &Device
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061 >
2023-07-12 15:18:22 +00:00
Karol Herbst
5bd235189a
rusticl/kernel: silence newer clippy warning
...
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24061 >
2023-07-12 15:18:22 +00:00
Eric Engestrom
a1c1cce9df
ci: avoid running hardware jobs if there are already trivial issues
...
Suggested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com >
Signed-off-by: Eric Engestrom <eric@igalia.com >
Acked-by: Daniel Stone <daniels@collabora.com >
Acked-by: David Heidelberg <david.heidelberg@collabora.com >
Acked-by: Jesse Natalie <jenatali@microsoft.com >
Acked-by: Christian Gmeiner <cgmeiner@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23774 >
2023-07-12 14:08:42 +00:00
Danylo Piliaiev
feaa12c7c6
freedreno/regs: Document a7xx CP_BV_BR_COUNT_OPS
...
Fully tested on HW. Credits to Connor Abbott for finding out how
it works.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23881 >
2023-07-12 13:33:28 +00:00
Danylo Piliaiev
271ba74766
freedreno/regs: Properly document a7xx CP_EVENT_WRITE, CP_WAIT_TIMESTAMP
...
Event write is changes so much in a7xx that it makes sense to
create a new event CP_EVENT_WRITE7.
All credits to Connor Abbott for finding out what different flags
in these commands are doing.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23881 >
2023-07-12 13:33:28 +00:00
Danylo Piliaiev
aceb82b80e
tu: Use reg usage tables for stale reg dbg option
...
Defining regs to stomp as ranges in a separate header is a mistake
from maintenance standpoint. Now we have this information at the
point where reg is defined.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23881 >
2023-07-12 13:33:28 +00:00
Danylo Piliaiev
aecb732320
tu: Allow reg stomping of compute related registers
...
We don't use draw states for dispatches, so the bound pipeline
could be overwritten by reg stomping in a renderpass or blit.
The solution is to re-emit pipeline's IB on every dispatch if
reg stomping is used.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23881 >
2023-07-12 13:33:28 +00:00
Danylo Piliaiev
dac8d371e1
freedreno/regs: Define usage for all a6xx/a7xx regs
...
Could be used for knowing which regs to stomp and to verify that
only appropriate regs are emitted.
Each register that is actually being used by driver should have "usage"
defined, currently there are following usages:
- "cmd" - the register is used outside of renderpass and blits,
roughly corresponds to registers used in ib1 for Freedreno
- "rp_blit" - the register is used inside renderpass or blits
(ib2 for Freedreno)
It is expected that register with "cmd" usage may be written into only at
the start of the command buffer (ib1), while "rp_blit" usage indicates that
register is either overwritten by renderpass/blit (ib2) or not used if not
overwritten by a particular renderpass/blit.
Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com >
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23881 >
2023-07-12 13:33:28 +00:00