summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pipe_pstipple.c
diff options
context:
space:
mode:
authorPavel Ondračka <pavel.ondracka@gmail.com>2024-05-03 10:37:07 +0200
committerPavel Ondračka <pavel.ondracka@gmail.com>2024-06-09 09:07:32 +0200
commitae06e018fa7c6c76164408835c3620c11f9b8f82 (patch)
tree8f2fe3ae4a5c17437d821e29ac143e6ff0673255 /src/gallium/auxiliary/draw/draw_pipe_pstipple.c
parentd94d2a05b263a45d22c00e466adf6516b5a76ade (diff)
r300: fix RC_OMOD_DIV_2 modifierHEADmain
Backend only recognizes the MUL a*0.5 pattern if there is an immediate as one of the sources, however by then the source would we already coverted to RC_FILE_NONE with constant half swizzles. So teach peephole_omod to recognize this pattern as well. RV530: total instructions in shared programs: 128860 -> 128750 (-0.09%) instructions in affected programs: 11942 -> 11832 (-0.92%) helped: 106 HURT: 17 total presub in shared programs: 8739 -> 8736 (-0.03%) presub in affected programs: 32 -> 29 (-9.38%) helped: 3 HURT: 0 total omod in shared programs: 427 -> 1212 (183.84%) omod in affected programs: 38 -> 823 (2065.79%) helped: 0 HURT: 160 total temps in shared programs: 17544 -> 17554 (0.06%) temps in affected programs: 70 -> 80 (14.29%) helped: 0 HURT: 10 total lits in shared programs: 3153 -> 3159 (0.19%) lits in affected programs: 9 -> 15 (66.67%) helped: 0 HURT: 6 total cycles in shared programs: 191334 -> 191253 (-0.04%) cycles in affected programs: 21240 -> 21159 (-0.38%) helped: 101 HURT: 27 Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28784>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pipe_pstipple.c')
0 files changed, 0 insertions, 0 deletions