mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 09:28:07 +02:00
aco/tests: Insert p_logical_start/end in reduce_temp tests
Linear VGPR insertion will depend on a p_logical_end existing in the
blocks the VGPR is inserted in.
Cc: mesa-stable
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28041>
(cherry picked from commit 84c1870b65)
This commit is contained in:
parent
368892e9e2
commit
d3b8a28357
2 changed files with 6 additions and 1 deletions
|
|
@ -2494,7 +2494,7 @@
|
|||
"description": "aco/tests: Insert p_logical_start/end in reduce_temp tests",
|
||||
"nominated": true,
|
||||
"nomination_type": 0,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": null,
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -41,6 +41,11 @@ BEGIN_TEST(setup_reduce_temp.divergent_if_phi)
|
|||
if (!setup_cs("s2 v1", GFX9))
|
||||
return;
|
||||
|
||||
//>> p_logical_start
|
||||
//>> p_logical_end
|
||||
bld.pseudo(aco_opcode::p_logical_start);
|
||||
bld.pseudo(aco_opcode::p_logical_end);
|
||||
|
||||
//>> lv1: %lv = p_start_linear_vgpr
|
||||
emit_divergent_if_else(
|
||||
program.get(), bld, Operand(inputs[0]),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue