Skip to content
Snippets Groups Projects
Commit c4ac09e3 authored by Ilia Mirkin's avatar Ilia Mirkin
Browse files

nv50/ir: only propagate saturate up if some actual folding took place


The former logic would copy the saturate up to any mul with an immediate
if there was a subsequent mul with a saturate. However we only want to
do that if we collapsed 2 muls by multiplying their immediates (or were
able to put the immediate in as a post-multiplier).

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
parent 3bdbc1e4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment