mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02:00
aco: clear the current wave exception in the trap handler
This is required to re-enable VALU instructions in this wave, only float exception seem to be affected. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/31960>
This commit is contained in:
parent
e85fc0f869
commit
6d5a2ae928
1 changed files with 5 additions and 0 deletions
|
|
@ -12438,6 +12438,11 @@ select_trap_handler_shader(Program* program, struct nir_shader* shader, ac_shade
|
|||
ac_hw_cache_flags cache_glc;
|
||||
cache_glc.value = ac_glc;
|
||||
|
||||
/* Clear the current wave exception, this is required to re-enable VALU
|
||||
* instructions in this wave. Seems to be only needed for float exceptions.
|
||||
*/
|
||||
bld.vop1(aco_opcode::v_clrexcp);
|
||||
|
||||
if (ctx.program->gfx_level >= GFX9) {
|
||||
/* Get TMA. */
|
||||
bld.sopk(aco_opcode::s_getreg_b32, Definition(PhysReg{ttmp10}, s1),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue