mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 11:20:20 +01:00
aco: don't check dst_bitsize in apply_load_extract
I don't think this is necessary. fossil-db (gfx1201): Totals from 12 (0.02% of 79377) affected shaders: Instrs: 73041 -> 72669 (-0.51%); split: -0.51%, +0.00% CodeSize: 417376 -> 413852 (-0.84%); split: -0.85%, +0.00% Latency: 1301862 -> 1301533 (-0.03%); split: -0.03%, +0.00% InvThroughput: 599874 -> 599723 (-0.03%) VClause: 1344 -> 1346 (+0.15%) Copies: 15855 -> 15832 (-0.15%); split: -0.37%, +0.23% VALU: 42138 -> 41883 (-0.61%); split: -0.61%, +0.00% Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Georg Lehmann <dadschoorse@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34162>
This commit is contained in:
parent
eb95f7cc0e
commit
18a53230eb
1 changed files with 1 additions and 1 deletions
|
|
@ -3269,7 +3269,7 @@ apply_load_extract(opt_ctx& ctx, aco_ptr<Instruction>& extract)
|
|||
}
|
||||
|
||||
/* TODO: These are doable, but probably don't occur too often. */
|
||||
if (extract_idx || bits_extracted > bits_loaded || dst_bitsize != 32 ||
|
||||
if (extract_idx || bits_extracted > bits_loaded || dst_bitsize > 32 ||
|
||||
(load->definitions[0].regClass().type() != extract->definitions[0].regClass().type()))
|
||||
return false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue